I have been trying to get the image as an overlay for some other project I am doing but the problem is that I don't know how to center it without coordinates. Some help is welcome.
What are the cordinates?
RPG Maker VXAce SupportYou should not use map coordinates but screen coordinates, these are the Screen X and Screen Y parameters in variables, it would look like this:
Code:
@>Control Variables:[0004] = Player's Screen X
@>Control Variables:[0005] = Player's Screen Y
@Show Picture: 100, 'FlashLight', Center (Variable [0004][0005]), (100%, 100%), 255, Normal
In your Screenshot, you use "Upper Left" instead of "Center" as the picture Origin.
Plus, what Timtrack said, plus, you don't close your autorun, so you'll be stuck in there. Depending on what you're trying to do, you might want to use a Parallel Process instead and put a wait at the end of the event.
Plus, what Timtrack said, plus, you don't close your autorun, so you'll be stuck in there. Depending on what you're trying to do, you might want to use a Parallel Process instead and put a wait at the end of the event.
Also, you did not update the values of your variables, you can get the screen coordinates like this:
I want it to make it look like the npc is walking out of the darkness.
Edit: This is what it looks like at the moment.
You need to look at the differences; they're quite clear.
I marked what I did in my message and what you did wrong in yours.
Tips:
Pay attention to the "CENTER" and the different parameters in variables.
This image of yours only shows a map, and using "Auto run" won't solve anything, you need to start the Picture in the event itself in which you will make the NPC appear from the bottom of the map:
Another problem, the image itself is smaller than the standard screen size:
The Picture only needs the variables to follow a map event, otherwise just center it:
Upper Left: 0x0
Centered: 272x208 (544x416 / 2)
If you are unable to create the event, I will make a video tutorial.
Good lucky 😉
I marked what I did in my message and what you did wrong in yours.
Tips:
Pay attention to the "CENTER" and the different parameters in variables.
This image of yours only shows a map, and using "Auto run" won't solve anything, you need to start the Picture in the event itself in which you will make the NPC appear from the bottom of the map:
Another problem, the image itself is smaller than the standard screen size:
The Picture only needs the variables to follow a map event, otherwise just center it:
Upper Left: 0x0
Centered: 272x208 (544x416 / 2)
If you are unable to create the event, I will make a video tutorial.
Good lucky 😉
I like to do this by video tutorial plz.
I got it! Thanks, but now I am curious how to turn it off when the game transfers the player.
Delete the Picture with the command provided, as shown in the sequence.
My advice: test each event command; it appears you haven't familiarized yourself with RPG Maker yet.
My advice: test each event command; it appears you haven't familiarized yourself with RPG Maker yet.
Yeah, p
Pretty much ^^;
Original thread: https://forums.rpgmakerweb.com/threads/what-are-the-cordinates.180112/