Adding a world map in MV

Hey,


I'm trying to create a world map that will show the player's position, but I'm having trouble. No plugin seems to answer that need, so I decided to try and do it with events only for now. Is it somehow possible to make a key item with a common event that displays another map that has an event that shows a marker on a certain node depending on the map ID the player is currently on? knowing what map the player is on is the easy part, I can do it with a switch but I have no idea how to do the marker. If someone has an idea on how to do it that would be awesome.


If it's impossible without scripting/plugins any advice regarding that would also be appreciated.


Thanks.  
Ooooh wow! I don't think this is even possible without scripting! I have no clue on what you could do O_O
it doesn't work the way you want it to work - but it can be done with events, and a lot simpler.


You'll need two show picture commands and a lot of math (control variables)


Make one picture display on the full screen covering the map, always in the same position - that is your map picture.


Then use control variables to determine the current position of the player, and recalculate that into pixel coordinates on where on the map picture the player is.


third step is displaying a small marker picture with a picture ID higher than the map picture on the calculated pixel coordinates.
it doesn't work the way you want it to work - but it can be done with events, and a lot simpler.


You'll need two show picture commands and a lot of math (control variables)


Make one picture display on the full screen covering the map, always in the same position - that is your map picture.


Then use control variables to determine the current position of the player, and recalculate that into pixel coordinates on where on the map picture the player is.


third step is displaying a small marker picture with a picture ID higher than the map picture on the calculated pixel coordinates.

I always forget you can do that! I'll be 89 by the time I remember at this point!
it doesn't work the way you want it to work - but it can be done with events, and a lot simpler.


You'll need two show picture commands and a lot of math (control variables)


Make one picture display on the full screen covering the map, always in the same position - that is your map picture.


Then use control variables to determine the current position of the player, and recalculate that into pixel coordinates on where on the map picture the player is.


third step is displaying a small marker picture with a picture ID higher than the map picture on the calculated pixel coordinates.



Sounds reasonable, but before I try that I have another idea in mind, maybe instead of using a show picture command I can do something like this:


1. When the map item is selected, the player will be transferred to the world map and not a picture


2. Make the player invisible


3. Based on the ID of the map he was on before which I'll store in a variable, a certain tile will show the marker based on a condition


4. Once a button is pressed, the player will transfer back to the same spot on the map he was on before.


Possible? I'd like to hear your opinion.
@Kish yes, can be done that way - but you'll need a few additional steps.


1) when the map item is selected, use three control variable commands to store current position and map ID into three different variables


2) disable followers and change first actor sprite to a marker sprite


3) transfer to the world map and place the player on coordinates there based on the values stored into the variables


2b/3b) as an alternative to 2/3, have an event placed as the marker and change the actor to a cursor


4) somewhere on the world map, you'll need an event to trigger the return to the original map - that is why you can't make the player invisible, he needs to be able to get to that exit event


5) on exit, transfer player to coordinates stored in the variables and change back what was done in 2.
Go for it! If you think it can work, just do it!

Original thread: https://forums.rpgmakerweb.com/threads/adding-a-world-map-in-mv.66519/