top of page

Adding a Basic Mini Map

  • zm02stor
  • Sep 4, 2022
  • 1 min read

[29 Aug]

Added a new camera which views the game world from the top view, it is a child of the player so it follows them around. The camera only displays what is on the minimap layer through the layer mask. A quad is added as a child of the player and cat prefab and it's layer set to minimap. A mask is then added over the camera so it displays the level within a circle.


MiniMap showing player (green) and cats (black)

The cat colour is not represented by the colour of the quad. In future the quad will be replaced with a cat sprite. The player is picking a cat up which is why one of the squares is ontop. The squares underneath the player are closeby.



Problems with the mini-map:

When the player reaches the end of the level (blocked by walls) the image in the mask is displayed instead of the desired flat colour. This will be fixed in future.

The image used as a mask is also poor quality, which will need to be changed at a later date.


Image showing player pickup cat:


The black cube on the right is currently being held by the player



Randomised cat colour:


Recent Posts

See All
Adding a player base

The player still did not have a safe space where they could stay in, or where the cat's cannot run into during their wander state. I...

 
 
 

Comments


ZAHRA MIAH

©2022 by Zahra Miah. Proudly created with Wix.com

bottom of page