Search found 3 matches

by Nife
Sun Jun 09, 2013 9:19 am
Forum: Support and Development
Topic: [RESOLVED] Detecting when key is not being pressed anymore
Replies: 5
Views: 2237

Re: onRelease? Detecting when key is not being pressed anymo

Robin wrote:Um, I don't think that code does what you think it does.
You are right, my apologies for that - removed that bit of stupidity from the post.
by Nife
Thu Jun 06, 2013 2:46 pm
Forum: Support and Development
Topic: [RESOLVED] Detecting when key is not being pressed anymore
Replies: 5
Views: 2237

Re: onRelease? Detecting when key is not being pressed anymo

Boolsheet wrote:See the love.joystickpressed and love.joystickreleased callbacks.
Worked like a charm, thank you very much!
by Nife
Thu Jun 06, 2013 9:33 am
Forum: Support and Development
Topic: [RESOLVED] Detecting when key is not being pressed anymore
Replies: 5
Views: 2237

[RESOLVED] Detecting when key is not being pressed anymore

Guys, simple and dirty:

I'm using the joystick.isDown to move an object, but the detection happens extremely fast - I need a condition for when a certain key is released after being pressed.

Thanks.