• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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
    20
    Years
    • Age 35
    • 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