If you have weird stuffs happening when moving the player

dale_coop

Moderator
Staff member
If you have weird stuffs happening when moving the player, it might be because your StopMovingPlayerXxx scripts are not completed, it misses an "RTS" at then end of each script.

You need to modify the scripts "StopMovingPlayerUp.asm", "StopMovingPlayerRight.asm", "StopMovingPlayerLeft.asm" and "StopMovingPlayerDown.asm" from your "GameEngineData\Routines\UserScripts\BasicScripts\MovementScripts\" folder.

Open the "StopMovingPlayerUp.asm" script, and modify it like that:
Code:
    StopMoving player1_object, STOP_UP
    RTS

And repeat the same modification for the 3 other scripts.
 

cornphillips

New member
dale_coop said:
If you have weird stuffs happening when moving the player, it might be because your StopMovingPlayerXxx scripts are not completed, it misses an "RTS" at then end of each script.

You need to modify the scripts "StopMovingPlayerUp.asm", "StopMovingPlayerRight.asm", "StopMovingPlayerLeft.asm" and "StopMovingPlayerDown.asm" from your "GameEngineData\Routines\UserScripts\BasicScripts\MovementScripts\" folder.

Open the "StopMovingPlayerUp.asm" script, and modify it like that:
Code:
    StopMoving player1_object, STOP_UP
    RTS

And repeat the same modification for the 3 other scripts.

Odd. My version of 4.0 has RTS from the website. Same thing. *shrug*
Wish this was my problem. ha!
 
Top Bottom