Hello, I have a game where I am moving a character and I want it so you press
–> (left) and keep moving left;
if( Key.isDown(Key.LEFT))
{
_x = _x - 10;
}
Only moves you 10 spaces that way ->. Is there anyway you can make it so it keeps moving that way, with out going straight there.
I know _x = _x - 10; does that but it doesn’t if its in an ‘if’.
Thanks Script.ist
oh and I’m using 2.0