Trust me, I checked all over the internet before coming to ask this question. I made a parallax map of a park that is 34x26 with an image overlay of all the objects I want my character to pass under. After the player transfers to this map, it's supposed to scroll down and flash red. When it does this, the image overlay doesn't stay in place and it scrolls with the map.
Yes, I have used a script that should prevent this (Seer UK Fixed Pictures Script) and I have labeled my .PNG files with [FIXED] at the beginning. This works for me when I have the standard size map, but not one that is twice the size. Nothing I do seems to work.
I thank you in advance and send out my appreciation to those able to help.
I suspect your images are meant to be the same size as the map.
Are you sure the script you're using allows for overlay parallaxes? That is NOT the same as using Show Picture (which is fixed to the screen).
Provide a link to the script you're using, please.
And your image is 1088x832 pixels?
If you're not dead set on using THAT script, there are probably a few others you could try. I do know that Ace handles the map display position slightly differently to VX, so I would not expect a straight conversion to work exactly (though I wouldn't expect it to do nothing either).
Can you go into your scripts and do a global search (control+shift+f) for this:
class Sprite_Picture
and take a screenshot of the search results and post them here?
What is that script with no name, that has Sprite_Picture on line 157?
That script is M.A.'s Fixed to Map script. I just put it in when I took this shot in hopes to try and get my overlaying to work
I just did. No, I deleted the one script I sent you a link to before trying to use this one
So now you are using Modern Algebra's script? Do you happen to have a link to that?
And even with that script, it's not working? Did you set up the switches and variable correctly in the editable region, and you're turning on that switch (or those switches) at the appropriate time, and setting the variable to something higher than 100?
Yep, still not working, and I'm pretty sure I set everything up correctly. I've double and triple checked my switch and variables and still nothing
That's odd since I'm using MA's Overlay Fix Picture to Map and it's working even with pictures that are over the standard size. Try [Fixed] instead of [FIXED] and see if that helps. Also, switches to ensure that pics are fixed won't be enabled at game start by default and usually if you switch them inside a map, you should probably leave the map and re-enter to be sure it works. Also, don't have two fixed picture scripts running at the same time since it can cause bugs. Aside from that, also, make sure it's at the bottom of all other scripts to make sure it gets applied last and no other scripts interfere with it.
Can you take a screenshot of your scripts, with this bit showing in the script window:
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ # Editable Region #|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| # SWITCH_ID - set this to the ID of the in-game switch that you want to # use to control whether pictures should be fixed. SWITCH_ID = 2 # COORDINATES_SWITCH_ID - Set this to the ID of the in-game switch that you # want to use to control how coordinates are set. If this switch is ON, then # for fixed pictures, you can just use the grid x and y coordinates (ie: you # would set (1, 4) instead of (32, 128). If you always want this feature to # be on when the FPM Switch is on, you can set it to have the same ID. COORDINATES_SWITCH_ID = 2 # Z_VARIABLE_ID - set this to the ID of the in-game variable that you # want to use to control the z-value priority of the picture. Z_VARIABLE_ID = 3 #|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| # End Editable Region #////////////////////////////////////////////////////////////////////////////Also a screenshot of your event where you display the picture. Show the whole event window, not just the event commands. And if it's not included in the same event, I'd also like to see the events where you set those switches and variables. So maybe several screenshots will be necessary.ALSO ... when you play and the image SHOULD be moving with the map, can you go into Debug (F9) and see what those switches and variables are set to? I'm betting one or more of them aren't set correctly.
And what is it doing at this point - not displaying at all, or displaying, but still staying in place as you walk around (ie - not moving with the map, as it should)?
And what's happening? Do you SEE the picture?
Where do you tell it to actually SHOW the picture? I don't see that in any of your events anywhere - are you doing a Show Picture command? I think you need to set the switches and variables before you use the Show Picture command. The variable should be > 100 if you want it to be over the player/characters.
So I would change your event to be a parallel process instead of autorun, turn on the two switches, set the variable to 200, do a Show Picture command, then an Erase Event. And delete the second page of the event altogether (I'm surprised you can actually move around on the map with it set the way it is).
Let us know what happens when you do that.
If you don't want to mess with the event you've got there, just add a third page to it with no conditions (it will basically disable the event), and set up a NEW event the way I describe above. Then if it doesn't work, you've still got your original one.
@Archeia, he's using a different script now. The one by Modern Algebra (link in post 13) doesn't use the [FIXED] prefix, but it does use the switches and variables.