A basic player/target game with mouse support.
mouseufo
This program demonstrates the programming of a basic player/target game which is controlled via the control pad or mouse. It illustrates the convenience routines GetMouse()
and GetControlPad(
.
While the control pad and mouse convenience routines is fine for certain titles, titles that require a high level of performance should use the Event Broker directly. This is particularly true if you want to put peripheral input handling in its own thread.
See the BrokerShell example program for programming directly to the Event Broker.
mouseufo.c, mouseufo.make, padandmouse.c, padandmouse.h, audiohandler.c,audiohandler.h, playbgndmusic.c, playbgndmusic.make
examples/EventBroker/Mouse