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!
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!