Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

If command for players x =, and reading number in map name.

Im am looking for what the proper syntax is for if players x or y equals a number and the command to read numbers in a map name like (2,5) so i can read the 2 different numbers. Thank you.
 
well there are a few, if you want it set up in squares(32x32) use,

$game_player.real_x, $game_player.real_y

For the use in pixels instead of squares (1x1) use

$game_player.x, $game_player.y

thanks ;D
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top