Posted 03 May 2012 - 02:21 AM
So I have my little sprite, right? Two images per direction, Four directions. So, eight images. Pretty simple so far. Now with the stock room speed (mine's 30) The sprite's movement speed is perfect, but the animation speed is outrageously fast. I change the room speed, as I can't find the sprite's actual animation speed, to 5. Now the animation is perfect, but it's snail's pace movement. So I go into movement speed, and up it from 5 to 15, and now the animation's perfect, the movement speed is perfect, but there's a horrid amount of lag. The sprite gets from point A to point B as fast as it's supposed to, but the process is choppy and unappealing. Any ideas?
Posted 03 May 2012 - 02:26 AM
Posted 03 May 2012 - 02:28 AM
Posted 03 May 2012 - 02:35 AM
Posted 03 May 2012 - 02:39 AM
In your keypress events (I assume you are using keyboard to move, no?) drop it in, set the variable argument to image_speed & set the value to 1/6. leave the relative box unchecked.
In your keyboard release events add it again w/ image_speed as the variable & the value as 0, while leaving the relative box unchecked.
Edit: If there is no stopping then you can add the set variable in the create event instead. It shouldn't hurt anything vital.
Edited by Lemon Pie, 03 May 2012 - 02:40 AM.
Posted 03 May 2012 - 11:57 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users