Retro-style tile-by-tile movement

Hi all!

I've only recently started exploring scripting, and I'm wondering if anybody could help me with a problem I've been having. Even pointing me in the right direction would be greatly appreciated!

I would like to try and replicate old-school movement of early 1980s RPGs (i.e. with the character instantly jumping from tile to tile, without the smooth transition of the default movement). You can see an example of the style of movement I'm looking for here: http://youtu.be/5GvWMmlfmgs?t=4m34s

I know that a lot to do with movement is handled by Game_CharacterBase, and I can modify the speed of movement fairly easily - but I'm not looking for a faster transition between tiles; actually, I want no transition at all! I've come the closest by playing around with "move_straight", but I haven't quite achieved what I want.

If anybody has time to look at this, then any pointers or help would be greatly appreciated!

Joe
I think you'd be initially looking at the update_jump and update_move methods of Game_CharacterBase.
I just played around with the default script. And I found this

class Game_CharacterBase def screen_x $game_map.adjust_x(@x) * 32 + 16 end def screen_y $game_map.adjust_y(@y) * 32 + 32 - shift_y - jump_height endendTry to put that script and see what happen
Thanks, Shaz! And terima kasih, Theodoric!  😀

I knew it was a case of replacing a float with an integer, but I wasn't sure where it should be done. Thanks to you, it's working perfectly! I've even managed to build on your code so that the display window also scrolls with the player in the same style:

class Game_CharacterBase def screen_x $game_map.adjust_x(@x) * 32 + 16 end def screen_y $game_map.adjust_y(@y) * 32 + 32 - shift_y - jump_height endendclass Game_Player def update_scroll(last_real_x, last_real_y) ax1 = $game_map.adjust_x(last_real_x) ay1 = $game_map.adjust_y(last_real_y) ax2 = $game_map.adjust_x(@x) ay2 = $game_map.adjust_y(@y) $game_map.scroll_down (ay2 - ay1) if ay2 > ay1 && ay2 > center_y $game_map.scroll_left (ax1 - ax2) if ax2 < ax1 && ax2 < center_x $game_map.scroll_right(ax2 - ax1) if ax2 > ax1 && ax2 > center_x $game_map.scroll_up (ay1 - ay2) if ay2 < ay1 && ay2 < center_y endendAgain, thank you both for your help, I really appreciate it!

Joe
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/retro-style-tile-by-tile-movement.19299/