How do I create a usable World Map where you can see yourself in?

Status
Not open for further replies.

Miguel

Veteran
Veteran
Joined
Oct 16, 2012
Messages
30
Reaction score
0
First Language
English
Primarily Uses
RMMV
Well, remember those classic old games that used to have giant open worlds and gave you a map so you could always know where in the world you were? Well, i'd like to recreate that in my game. Is there a possible way to make it so after you use an item it will show you the world map that you created for the game and show your actual coordinates of where you are in the world? Like maybe your head or the player themselves pops up in the area of the world they are in and it changes as you view your map in other parts of the world? Is that actually possible like via script or something? If so, it'd be awesome if someone could link me to a tutorial or a script or something that lets you actually see where you are in your game world every time you pull up your world map. It'd be much obliged if it is possible if someone could link me, please and thank you to anyone who can link me to where to go or what to use to make that possible or who could tell me first hand without linking me to anything in the comments below. Thanks for the help to anyone who can! :)
 

Tommy Gun

♩ ♪ ♫ ♬
Veteran
Joined
Jan 20, 2014
Messages
385
Reaction score
123
First Language
English
You want a world map to show you which "game map" you're on? Definitely possible, no script needed.

You'd have an item in your inventory that calls a common event (or you could do a button press, but that requires a parallel process):

That event does "show picture" with your map image. Then you'd use a script command to determine which game map the player is on (is there an easier way?), either id or name:

$game_map.map_id$game_map.nameYou can set that to a variable (or not), then:

Conditional branch for each city that shows another picture (your player sprite or whatever) and sets the coordinates to the area of the map over that city.

Use a blank "show text" with no face, transparent, so when the player hits enter it "erases pictures."

Is that what you want?
 
Last edited by a moderator:

Miguel

Veteran
Veteran
Joined
Oct 16, 2012
Messages
30
Reaction score
0
First Language
English
Primarily Uses
RMMV
You want a world map to show you which "game map" you're on? Definitely possible, no script needed.

You'd have an item in your inventory that calls a common event (or you could do a button press, but that requires a parallel process):

That event does "show picture" with your map image. Then you'd use a script command to determine which game map the player is on (is there an easier way?), either id or name:

$game_map.map_id$game_map.nameYou can set that to a variable (or not), then:

Conditional branch for each city that shows another picture (your player sprite or whatever) and sets the coordinates to the area of the map over that city.

Use a blank "show text" with no face, transparent, so when the player hits enter it "erases pictures."

Is that what you want?
WOW that is a lot of advanced scripting stuff. I followed as best I could but still got lost. Could you please provide me with a video tutorial on how to do this? It'd be much obliged if you could! Please and thank you if you can! :)
 

Tommy Gun

♩ ♪ ♫ ♬
Veteran
Joined
Jan 20, 2014
Messages
385
Reaction score
123
First Language
English
Which part are you stuck on? Do you know how to use and call Common Events? Can you get the item in your inventory to show a picture? 

Here is a tutorial to do everything you want EXCEPT show where you are:

http://blog.rpgmakerweb.com/tutorials/pictures-common-events-world-map-item/

To show where you are, you'll have to do what I said above -- get the map ID and set it to a variable, then use conditions to set the player sprite in the correct spot.
 
Last edited by a moderator:

Miguel

Veteran
Veteran
Joined
Oct 16, 2012
Messages
30
Reaction score
0
First Language
English
Primarily Uses
RMMV
I was able to follow everything you said up until that very last part you just mentioned above. The Map ID variable thing and using multiple conditions to set my player's sprite in the correct spot and stuff. That entire half of your original explanation of how to do it after you showed me what to enter in the script. That is the part I got stuck on.
 

Tommy Gun

♩ ♪ ♫ ♬
Veteran
Joined
Jan 20, 2014
Messages
385
Reaction score
123
First Language
English
I just tested it out, works. You'll have to adjust everything for your own images, and you'll probably want to use "center" on the sprite image to make it easier to position. And add a new condition for EVERY map ID (I only did two for testing--I also show the ID in the text box, also for testing). I called the event with a button press instead of an item, so just ignore that.
 

"house" image should be your map, and "jake" should be your sprite:


TG-rpgmaker-world-map.PNG
 
If you want it to show when you're inside houses, too, set those to the variable before the conditions (if map id == 5, set map id to 3, that sort of thing). Otherwise just do the "outside" maps, and when inside it won't show any position. If you have a ton of houses, this will get very long. So I would probably only do the main areas.
 

Miguel

Veteran
Veteran
Joined
Oct 16, 2012
Messages
30
Reaction score
0
First Language
English
Primarily Uses
RMMV
All right! Sweet! It worked! Thanks for your help man! But if I ever have a request regarding something like this, I'll make sure YOU are the guy I talk to! :p Thanks again man! :D
 

Fomar0153

Arkz
Restaff
Joined
Mar 13, 2012
Messages
1,327
Reaction score
473
First Language
English
Primarily Uses
RMMZ
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top