Creating an in game Map
raze_struck
Member, PRO Posts: 141
Hello all,
I was wondering what is the best way to create an in game map, like in metroid, that updates your current position based on where you are in the map. Lets say the one map covers the entire game and all its scenes as well.
I know you can create individual map objects (little boxes) and change their color when you overlap an invisible boolean in your scene, and by that same logic when that boolean is true you can interpolate the position of your actor on the map to the appropriate square. This method is far too tedious, and I refuse to believe there are no other options. Please someone help !
Comments
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Yep, that sounds tedious.
How about just keeping track of the main actors x/y positions and using math to scale down the values to position their representative small actors on the minimap?
If you have multiple actors to be tracked on the minimap, then store the x/y positions of each scene actor in table rows.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Just had your video in the clipboard to paste @The_Gamesalad_Guru
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Thanks, ill check out the video now
Yeah i should redo that video maybe this weekend.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Hey, I was wondering though, in my situation, my actor will be changing scenes, and im looking for more of one big map on a separate scene, that the actor can reference from time to time. Like a metroid style or castlevania style map. Any suggestions on the best way to implement it?
Then you will need to capture the data to either a table if you plan on tracking the positions of many objects or attributes for a few. In either case i would use the pause screen to display your map thereby not interrupting the game.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I already had planned on the pause screen displaying the map, but If I was to put everything into a table, that would mean I would require essentially a table with as many rows as I have small map icons (squares) with Booleans to update depending on the players position. Lets say I have two similar icons one grey one blue, it can change its image to blue, when the Boolean is true. Its quite painful and tedious because I'm going to need lots of invisible actors throughout the game. Do you think there is a better way?