DISPLAYING A LAMP IMAGE.
Posts
Pages:
1
So I've been trying to display a lamp image in VX, but something is wrong. What I used is variable to check for player position and placed the image accordingly. Though it is still off-screen. Is it the size of the image that is the problem?
author=YDS
What I used is variable to check for player position
Did you set them to Player's Screen X/Y or to Map X/Y?
Ah, I knew it xD
Map X/Y moves by pixel, so if you for example make 15 steps to the left, the picture will only move 15 pixels in that direction, Screen X/Y actually moves by tiles.
Image size is not important, just make sure the origin is 'center' and not 'upper left'.
EDIT: It was screen? I tried an it works fine setting variables to Screen X/Y.
EDIT2: Picture
Map X/Y moves by pixel, so if you for example make 15 steps to the left, the picture will only move 15 pixels in that direction, Screen X/Y actually moves by tiles.
Image size is not important, just make sure the origin is 'center' and not 'upper left'.
EDIT: It was screen? I tried an it works fine setting variables to Screen X/Y.
EDIT2: Picture
Pages:
1