DISPLAYING A FIXED PICTURE ON A MAP LARGER THAN 20 X 15

Posts

Pages: 1
So I'm using a panorama of my city, with the buildings as part of the bg. I need you to be able to walk behind said buildings, or at least the tops anyway. So, I figure to do this, i could create an identical picture of the panorama, erase everything that isnt something I want to be able to go behind.

problem is, I cant seem to get the picture to display directly over the map. I tried using coordinates, and also variable references of different events around the map.

Also it seems to depend where the hero starts out on the map as well. anyone know a solution to this?
sorry, rm2k3.

there are too many varieties of buildings and stuff I'd like you to walk behind to fit them all into one chipset

I know theres gotta be some way to display a picture fixed ontop of a map of the same size right? I mean its obvious for 20 x 15, because the thats the size of the screen.
just use multiple pictures where you need an upper layer. tile coordinates of the upper layer*16. as long as you remember RM reads coordinates from the centre of a picture (yes, it's stupid)
yup, thats just what i did. the problem is getting it to display perfectly over the panorama. I got it to work one way, but if I changed where the hero started the picture was off
i remember having to move the hero to a certain position, display the pictures and then move him back. this is why hide screen (?) is useful
thats a good idea, I'll try that. does the picture stay if I teleport to the same map?
no iirc. i think you can use scroll map though? if not use move event and up the walk speed

god RM is stupid
yeah but unless I use the move command like geodude said, when I fade out, teleport to fake location, display pictures, then teleport to real location fade in, the pic wont be there
that was a poor choice of words on my part. the problem is, the way its setup now- the hero must be in a specfic location when I display the pictures on the map for it to line up correctly. (no fake map involved, this is what I referred to as a fake location)

If I fade out, teleport to this fake location, and the pics get setup, then I teleport to the same map, but say outside the building im supposed to come out of, then fade in. will the teleport erade the picture I already set up?
post=132646
no iirc
There's a very simple solution to this.

Add an event somewhere on the map, approximately where the center of the picture should be.

Make it a parallel event with an erase event command at the end.

Use two variables, one for X and one for Y.

Set variable X to "sprite this event scree relative X".
Same for Y.

If the picture doesn't show exactly where you want, just add or subtract whatever you need to the variables in the same event.


That's it. Works perfectly. I have a huge map with looks of pictures, they're all shown like that.

Another trick is: after you test the event and the picture doesn't show exactly where you want, print screen the window (small window, f5) and paste on paint, and just measure how many pixels the picture is distant from the panorama.
or you could learn arithmetic
Pages: 1