Room transition platform game
Posted 03 December 2011 - 08:10 PM
Posted 03 December 2011 - 08:16 PM
So the problem I am having is that when transitioning to a new room the character stops moving left or right, so if dropping from one screen into a new room while pushing left the character will stop moving left as soon as the new room starts. Once you press left again it will move but I need it to be a smooth transition and keep moving to the left without having to re-press the left key, this happens for any direction. Anyone got ideas on this?
This could be solved by not using the key_press event. If it is possible you should change it to key event and that should solve it. If you depend on it using key_press then this could take a bit more work.
Posted 04 December 2011 - 08:37 AM
Posted 04 December 2011 - 09:53 AM
One solution is not to use the GM events. Instead, check for keys in the STEP event with keyboard_check(...). That will pick up the key state after a single step has passed, since it's not an event.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users