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.

Show Picture Command(Showing Pictures have never gotten easier)

Showing Picture Technique:
Ever wanted to show a picture on a certain coordinate on the map? But couldnt do it? Read this then!

First make an event on the spot you want the corner of the picture to show. Then name this event 'picture'.
Now wherever your event that shows the picture is, enter this
Control Variables[xxxx:Picture X] = picture's X coordinate
Control Variables[xxxx:Picture Y] = picture's Y coordinate
Control Variables[xxxx:Picture X] times * by 32
Control Variables[xxxx:Picture Y] times * by 32
Show Picture 1:Upper Corner(Variable[xxxx:Picture X], [xxxx:Picture Y])

The reason we have the times in there because each square in RMXP is 32 pixels in width and length.
So we take the coordinate number times it by 32 then we get the pixel number for each coordinate.
This calculation was thought of by me, I needed an easier picture showing technique but didnt figure it out until I saw that rmxp's tiles are 32 pixels. Hope this helps!
 

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