The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 Viewsim havin this problem cuz i want to everytime you press up or down than cutCount += 1;
the only thing is that when I press up or down cut count keeps increasing by 1 until i release the key (obvious since i used if(Key.isDown)
if you know a way that might work plese say so
thanks
You could set a timer, and if it's held down for more than 1 button press' time, it stops adding?
It's a bit roundabout...
Signature? What signature?
Also, any games I plan to make may or may not become vaporware. I'm not good with organizing my life...
sorry what? can you explain please
thanks
At 12/1/10 01:28 PM, denmen7 wrote: sorry what? can you explain please
thanks
What you have to do is to write a function which checks if the key has been Released. You can use a bool to become true if the key has been released and if it has and you press the key again the cutCount will ++. I am not gicing you the code right away, just giving you the tools to solve the problem.
Check out the coolest Donkey Kong Game on NG!
http://www.newgrounds.com/portal/vi ew/459064
100 posts @ Posted at: 9/15/08 07:36 AM http://www.newgrounds.com/bbs/topic /969232