You need the light to be transparent as far as I see so it can reveal sight on the spot. Your picture looks like it doesn´t have transparency. Could this be the reason?
Also you just need to adjust the picture. If it says top left corner move it. My normal adjusting is upper left and x,y coordinates on 0.
Next thing is your image works best when it has exactly this width (544 px) and this height (416 px) cuz then it fills the whole screen.
Please tell me if this helped you.
well, the image should be as large as your game screen if you want the darkness to cover the screen...
What about if you're near the edge of the map so it has the character off-center on the screen?
Well, you can move the pic with the player using parallel process events but if the image size is the same as the screen then as you go off the center, parts of the pic will be displaced... so you might need another pic that is completely black
I didn't realize you could have more than one image displayed at once.
that can do I think, as long as the transparency is at the center and you move it to center to the player using parallel events... try it out and see what happens
what do you mean by it doesn't work?
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.
Show us the parallel process event - take a screenshot of the WHOLE event window so we can see how you're using it.
How did you expect it to move when all the commands are the same? They are all upper left, 0,0... so how would it ever move??? I told you to center it to the player's location... not fix it to upper left 0,0
capture the player's X,Y at the top of that event then play around the values to arrive at the picture centered at the player
You need to make it look like this:
Control Variables [0001: Player X] = Player's X CoordinateControl Variables [0002: Player Y] = Player's Y CoordinateShow Picture: 1, 'Lighter', Centre (Variable 0001, Variable 0002)Wait 1 FrameThat's all you need. Controlling it using the button presses will not keep it in sync with the player anyway. If the player stops moving because they bump into something, the light will continue to move. And when the player is in the middle of the map and you press a direction key, it's the map that moves, not the player, so then you DON'T want the light to move.If your variables 1 and 2 are already used for something else, create and use new variables instead, rather than making it exactly the way I did there.
Show us your event again, now that you've made the changes. You ARE using event commands, aren't you, and not trying to type all of that into a Call Script box?
Player's X Coordinate comes from Game Data > Character > Player's Map X, not from the script box.
As Shaz said, use the event commands for those, not the script input... I believe Player's X/Y is in Game Data