[RM2K3] THE PICTURE WON'T SHOW UP ON THE COORDINATES I'VE INPUTTED
Posts
Pages:
1
Parallel Process
<> Show Picture 1, light radius, (31, 14)
There's a fire that (should) emit light on 31,14. Whenever I enter the map, the picture (which is a light radius) shows up on the upper left of the screen, not on the fire. Whenever I move, the pictures moves with me. I even made sure that "Picture Scrolls with Map" was unchecked. Here are some screens.
picture configuration
making sure that the coordinate is correct
testing it in-game
Am I doing something wrong here?
<> Show Picture 1, light radius, (31, 14)
There's a fire that (should) emit light on 31,14. Whenever I enter the map, the picture (which is a light radius) shows up on the upper left of the screen, not on the fire. Whenever I move, the pictures moves with me. I even made sure that "Picture Scrolls with Map" was unchecked. Here are some screens.



Am I doing something wrong here?
Check the "Picture Scrolls with Map" box.
ok, I checked the box and it dissappeared from the top-right of the screen. however, it didn't show up on the fire -.- I'll try if the picture shows up at night time in-game.
EDIT: it didn't work
EDIT: it didn't work
Multiple the values you have there by 16.
Or get the Screen X and Y of the torch in two variables and use those.
Or get the Screen X and Y of the torch in two variables and use those.
Yeah, Screen X and Y of the flame event is a good idea - it won't move unless the flame moves position (which is useful for carry lamps, too. ^.^)
AznChipmunk's solution works.
An event has X and Y coordinates based on the tile grid, with the top left corner tile 0,0.
The player's screen has X and Y coordinates based on pixels, with the top left pixel 0,0.
Although 31,14 was your tile X, Y, the show picture command uses the pixel X, Y. Moreover, tile X, Y is static while pixel X, Y changes depending on what you can see on the screen. Just trial and error to get those pictures to fit.
An event has X and Y coordinates based on the tile grid, with the top left corner tile 0,0.
The player's screen has X and Y coordinates based on pixels, with the top left pixel 0,0.
Although 31,14 was your tile X, Y, the show picture command uses the pixel X, Y. Moreover, tile X, Y is static while pixel X, Y changes depending on what you can see on the screen. Just trial and error to get those pictures to fit.
ok I got that. one last thing though. even if the "Picture Scrolls with Map" is checked or unchecked, the light still follows me. maybe my RM is glitched -.-
you do realize that you need to constantly update the screen related coordinates of the torch event, no?
"Picture scrolls with map" should be checked so it stays in place while the character moves around. Yeah, make sure the show picture command it isn't attached to a parallel process or else it'll keep getting called (thus refreshing its position).
post=108945
you do realize that you need to constantly update the screen related coordinates of the torch event, no?
wrong
post=109014post=108945wrong
you do realize that you need to constantly update the screen related coordinates of the torch event, no?
yup, realized it after having done some new tests with it. Kind of funny how I never got it to work when I tested it long ago, and ended up assuming it didn't work that way as a result of it
Pages:
1

















