Chaosus Posted February 19, 2014 Share Posted February 19, 2014 Hi, i would like to know how to call a function when a key is released. And i would also be glad if you have some exemples with the "onUpCallBack" and "processKeyUp" functions, if those are the one we use. Basically, I have an animation, it's simply Mario running, and I would like to show a picture of him just standing when he stops running. The "standing picture" has to be oriented to the right or the left, that's why we have to find what was the key pressed before. Thanks ! Link to comment Share on other sites More sharing options...
rich Posted February 20, 2014 Share Posted February 20, 2014 Look at the examples/games/starstruck code - in the update loop you'll find out how we do exactly what you're after. Link to comment Share on other sites More sharing options...
Recommended Posts