DISPLAYING A LAMP IMAGE.

Posts

Pages: 1
YDS
member of the bull moose party
2516
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?
YDS
member of the bull moose party
2516
Nevermind I got it.
YDS
member of the bull moose party
2516
Okay it didn't work out.
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?
YDS
member of the bull moose party
2516
YDS
member of the bull moose party
2516
oh DUH it was screen
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

YDS
member of the bull moose party
2516
Yep. I got it to work!
Pages: 1