• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Game Maker] RMXP/VX Move_Step Script

rm2kdude

Advanced Pixel-Artist
358
Posts
19
Years
  • Age 34
  • usa
  • Seen Oct 30, 2022
RPG Maker Move Step
Version: 1.0
Author: Rukiri
Exclusive to: Planet RPG, Rpg Revolution, PokeCommunity
Style: RPG Maker XP/VX
Tile_move: Yes
Pixel_move: No
because x is divided by tile_size so if you set it to 1 the tile_x or y variable will be the same as x. I recommend using just 2 instead of 1 as the tile_size variables have to be a dividend of 2 basically X or y need to be divided by something that equals a whole number.

How to use
tiles_to_move_x = x Change X to the number of tiles you want to move horizontally.
tiles_to_move_y = x Change X to the number of tiles you want to move vertically.

scr_move_step(direction)

There's an example already in the step event coding.

You can also use this for actual player movement, just remove the code block for, stop_cutscene_move = false

and replace it with
Code:
if (x = tile_x * tile_size_x and y = tile_y * tile_size_y) {
  if keyboard_check(vk_down) {
	scr_move_step(1);
  }
}

Create Event
Spoiler:

Step Event
Spoiler:

scr_move_step
Spoiler:
 
Back
Top