Minimap example

This example shows you how to make a minimap in a very simple way using views.

Explanation

The example uses 2 views: One for the game, one for the minimap. In view 1, the game is drawn as normal. After that, view 2 is drawn overtop but smaller and in the corner.

Download

Download the example (.gm81) here.

Speed considerations

Although this technique is extremely easy to set up, it isn’t very efficient. The second view is a scaled down version of the actual game, and to achieve this GameMaker draws the game twice, once for each view. So, use with care.

Leave a Reply

Name and website fields are completely optional.