J
Jscoombs
Guest
Hello everyone.
I am making a platformer game and I want the player to be able to look up or down while holding the up or down key for a few seconds. I haven't done much with alarms, so I don't totally understand them. I have the camera movements working, but I'm not sure how to implement an alarm so that it happens after holding the button for 3 seconds. I'm typing this on my phone so I don't really have my code for examples, but I'm hoping someone can help me understand the logic behind alarms. Thanks in advance!
I am making a platformer game and I want the player to be able to look up or down while holding the up or down key for a few seconds. I haven't done much with alarms, so I don't totally understand them. I have the camera movements working, but I'm not sure how to implement an alarm so that it happens after holding the button for 3 seconds. I'm typing this on my phone so I don't really have my code for examples, but I'm hoping someone can help me understand the logic behind alarms. Thanks in advance!