I will show you how to make a Mini map.
Let’s do this!
Materials
- Player Coordinates x1
- Property x2
- Game Overlay x2
- Wire Repeater x2
- Camera point x1
- Text x2
Making the Player Tracking System
Make two properties named: X Position and Y Position. Give them these settings.
Now place a player coordinate device. Add this block.
The tracking system is complete.
Building the Overlay
First, make an overlay with these settings. Set the scope to player.
Now place another overlay with player scope, that is not active on game start. Add these settings to it.
Now wire the first one to a wire repeater, and then back to itself. Button pressed -> Hide overlay
. Do the same with the other overlay. Next wire one overlay to the other. Button pressed show overlay
. Do this again with the other.
Now it should look like this.
Making the Mini Map
Go to the top left (or right) corner of your map and place two text devices down. Now place a camera point with these settings, on top of your text.
It should look like this.
In the top text box make a block code that receives on “Open Map.” Add this block code to it.
Now in the bottom text box make a block that receives on “Open Map.” Add this block code to it
How this works
The player tracking system tracks where the player is and sets the properties to where the player is. This in turn updates the mini map and shows you where you are.
Disclaimer
I know that this mini map system only tracks the player in four squares. If you want to make it bigger and more accurate, add a text box for each row. For more columns adjust the text’s block code accordingly. I will make a more in-depth guide eventually but for now I will leave it at this.
- 0/10
- 1/10
- 2/10
- 3/10
- 4/10
- 5/10
- 6/10
- 7/10
- 8/10
- 9/10
- 10/10
- 11/10