Welcome! Log In Create A New Profile Wiibrew Wiki HackMii Blog

Advanced

Detecting of pressing button on sprite

Posted by iSubaru 
Detecting of pressing button on sprite
September 28, 2014 12:28PM
Re: Detecting of pressing button on sprite
September 29, 2014 09:52AM
Re: Detecting of pressing button on sprite
September 30, 2014 11:48PM
You will have to do it the hard way. You have to store the coordinates of your sprites and then check all of them against the coordinates of the IR pointer when a button is pressed.

You will basically have to make your own version of ML_IsWiimoteInSprite() since GRRLIB is not keeping track of all your sprites (you have to know where they all are on the screen)

I am assuming know how to detect the button press events and how to know where the pointer is on the screen.
Re: Detecting of pressing button on sprite
October 01, 2014 08:51PM
Re: Detecting of pressing button on sprite
October 01, 2014 11:52PM
Sorry, only registered users may post in this forum.

Click here to login