Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs041

mouseufo

A basic player/target game with mouse support.

Synopsis

mouseufo

Description

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(.

Caveats

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.

Associated Files

mouseufo.c, mouseufo.make, padandmouse.c, padandmouse.h, audiohandler.c,audiohandler.h, playbgndmusic.c, playbgndmusic.make

Location

examples/EventBroker/Mouse

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs041.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1