Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Key item World map

Sigmar

Member

Hi guys, i cant find a thread really talking about that. Hopefully it may help other people looking for the same thing as me.

I found out how to make a World Map key item (easy) and creating an event that show the whole world map. The map appear when i click L1 and is removed when I hit the cancel button. With Photoshop i added places names, and added the picture in my pictures folder.

My question is,  is it possible to add a dot on the map to tell the player where he is on the world map?

Or maybe there is a better way to make a key item world map, but i didnt found out one. So for now im stuck with that.
 
With events:
1. make a picture of a dot.
2. when the picture of the world map is shown, make the dot appear too.
3. then use conditional branchs to set the position of the dot like this:
IF <Actor>'s Map = 1
:: Picture DOT Position X:8 Y:15 (position in the screen)
IF <Actor>'s Map = 2
:: Picture DOT Position X:23 Y:42 (position in the screen)
etc etc :)
 
Sigmar":1ac9dexe said:
I found out how to make a World Map key item (easy) and creating an event that show the whole world map. The map appear when i click L1 and is removed when I hit the cancel button. With Photoshop i added places names, and added the picture in my pictures folder.

How did you manage do take a picture of the World Map? Mine is 300x300 and I can't figure out how to show the entire screen.
 

Sigmar

Member

Well when my map is open, it dont take the full screen, maybe half of it (i may change it latter still thinking about that)

1st since my world map is too big too see it completely, i took 4 screenshots, upper right, upper left, bottom right and left. In photoshop, i created a file 175X175 and added my 4 pieces of my world map. The only thing i needed to change was in the "show picture" option. I played with the zoom the match it perfectly how i wanted to have it.

Now i can see my world map in the center of the screen without any problem.

Where i still have a problem is with my dot to move on the world map, still not working ; ;
 
This is going to seem really stupid of me (and it is) but I can't figure out how to take a screenshot in the first place. Do you have to have a script, or is it some obscure button?
 

Nolund

Sponsor

jarhead31":3p4t4hzo said:
This is going to seem really stupid of me (and it is) but I can't figure out how to take a screenshot in the first place. Do you have to have a script, or is it some obscure button?

I only know how to take a screenshot on a PC, not a Mac.

1) Make sure what you want to take a screenshot of is opened and to the full extent (don't get half of it)
2) Press Ctrl + Print Screen
3) Open Paint (or a similar program)
4) Ctrl + V
5) Do any necessary edits
6) Save
 
I found out how to make a World Map key item (easy) and creating an event that show the whole world map. The map appear when i click L1 and is removed when I hit the cancel button

Alright, so I edited the screenshots and added an item to call a common event to show the world map. But I can't get the picture to erase when I hit the cancel button. Any suggestions?
 
Show Picture
Button Input Processing
Erase Picture

This will wait for ANY button to be pressed

Show Picture
Change Text Options: Bottom, Hide
Text:
Erase Picture

Hide the text window, and show a text message with no text. This will wait for the action key

Semper Fi
 
All right, thanks everybody for your help. I'm almost there now--I've got the map screenshot and the dot picture, but for some reason the dot will not appear in the right spot. I have made two common events for this:

For the dot to mark my location:

Code:
           Control Variables [0053: PlayerX] = Player's Map X
           Control Variables [0054: PlayerY] = Player's Map Y
           Show Picture: 2, dot, Upper Left (Variable [0053][0054], (100%,100%), 255, Normal

And for the World Map itself:

Code:
           Call Common Event: LocationDot
           Show Picture: 1, WorldMap, Upper Left (Variable (0,0), (100%,100%), 255, Normal
           Button Input Processing
           Erase Picture: 1
           Erase Picture: 2

Whenever I do this, the dot shows up but not in the right place (a little bit up and way to the left).


And while I'm at it, is there a way to make the dot blink in and out? Thanks so much for all the help so far.

         
 

Sigmar

Member

well this is where i can't help you anymore, cause i have the same problem, i'm sorry we gonna need to wait for someone to explain us how it work. If you found out anything new, tell me!
 
Show the dot picture as "Center", not "Upper Left." This way it will center on the variables you display it as.

If you want the dot to blink in and out, turn on a switch right after you show the dot picture. Create a new event, with Condition that the switch is turned on. Make it a Parallel Processing, and code:
Code:
@>Move Picture: 2, @10, Center (Variable [0053][0054]), (100%,100%), 0, Normal
@>Wait: 10 frames
@>Move Picture: 2, @10, Center (Variable [0053][0054]), (100%,100%), 255, Normal
@>Wait: 10 frames

Turn off the switch when you make the dot disappear.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top