The game pieces (tiles) are NOT buttons or controls...they are 
simply bitmaps that are blitted from an offscreen window.  When
the user "slides" the stylus across the screen, the penMoveEvent
handler checks the pen coordinates and updates the bitmaps (sprites)
accordingly.  The penMoveEvent is handled natively.

But again, I need POSE to generate penMoveEvents for my penMoveEvent
handler to get called.  If it's never called, the pieces never move,
and the game state never changes!



>so, dont make your "tile" a button or whatever it is handle
>the penMoveEvent natively and appropriately draw your sprites
>on screen (we did this for the cursor movement in lemmings)

>penMoveEvents are not generated wihle over controls.


>> Absolutely! Imagine a game that requires the user to "slide"
>> the game pieces around the screen. If POSE never generates
>> a penMoveEvent, the state of the gameboard with never change!


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to