Page 1 of 1

Mouse Click Jump Problem

PostPosted: Fri Nov 08, 2013 12:44 pm
by Rebenely
Why can my character (Rob) still jump multiple times when the button actor is clicked multiple times? I have another version of this with the up keyboard key set for Rob to jump and it works properly (he doesn't multijump). I tried to use mouse clicks because I've read that it has to be mouse event for it to work on android devices.

Re: Mouse Click Jump Problem

PostPosted: Fri Nov 08, 2013 3:43 pm
by schnellboot
the problem is at Button -> Mouse Button Up (Left)

Code: Select all
if(Rob.yvelocity<0)
{
Rob.yvelocity=-10;
}


as you can see there is no restriction with "jump"