marouen-lamiri / Second-Soul

Unity-Game
2 stars 0 forks source link

Mini-Map #80

Closed marouen-lamiri closed 9 years ago

marouen-lamiri commented 10 years ago

As a user, i want to be able to view a mini-map on the HUD

[SP: 8] [Priority: 2]

Emmanuel-Tsapekis commented 10 years ago

Dan, you should push what you have so far so that we could discuss the direction of your work.

smileyWolf commented 9 years ago

Sorry guys for the delay, was very busy with projects due and finals.

smileyWolf commented 9 years ago

First Draft

Here is how I think should the mini-map look like. I remember someone wanted it to be bigger. Let me know what you think.

minimap_draft

smileyWolf commented 9 years ago

Task breakdown (in hours)

( * ) Steps already performed before writing the Task-breakdown. Reason of my delay are the projects and finals for other courses.

smileyWolf commented 9 years ago

Implementation Breakdown (in hours)

smileyWolf commented 9 years ago

Initial Mini-Map from Equipping-scene (rotating/following the Fighter.) 0cda58490af0347fa5198eee369f8d1b9b7d5fb7

Here is how it looks like:

minimap_1_scene

Check it and let me know if you are OK with the way I did it.

smileyWolf commented 9 years ago

A Fix aef6048af2f00de2ccb05a811ea0926ecf8f2762

Here is just an image of how it looks now; I disabled the terrain since its texture does not allow to see the Mini-Map properly.

minimap_2_scene

smileyWolf commented 9 years ago

After the fix ffeff9891477bf3f44c491b075cd9c0fe167c17a

Here is how it works after testing it.

Fighter enabled - Fighter followed and centered in the Mini-Map. Sorcerer enabled - Sorcerer followed and centered in the Mini-Map.

minimap_3_scene_difference

smileyWolf commented 9 years ago

Demo Steps

  1. Left-Click on the terrain to move the Fighter (the default enabled character when game started.)
  2. Notice the Mini-Map moving in direction of the Fighter centered to the Mini-Map and the player icon rotates with the Fighter.
  3. Press the 'e'-key.
  4. Left-Click on the terrain to move the Sorcerer.
  5. Notice the Mini-Map moving in direction of the Sorcerer centered to the Mini-Map and the player icon rotates with the Sorcerer.
  6. Kill enemy
  7. Notice how the red dot representing him on the Minimap disappears.
  8. Walk into a wall.
  9. Notice that the Minimap correctly represents the walls of the dungeon.
smileyWolf commented 9 years ago

Black-Box Testing

Tests # Inputs Expected Output Status
Follow Fighter Left-Click in any location on the terrain. The Mini-Map's projected picture changes related to the Fighter's position centered on the map. Pass
Follow Sorcerer (while controlling the sorcerer) Left-Click in any location on the terrain. The Mini-Map's projected picture changes related to the Sorcerer's position centered on the map. Pass
Track Allies None Allies' positions are tracked on the Minimap as blue dots Pass
Track Enemies None Enemies' positions are tracked on the Minimap as red dots Pass
Stop Tracking Enemies Kill an enemy Dead enemy's indicator disappears from the Minimap Pass
Rotate Player Icon Make player's avatar change the direction he/she is looking at the player's icon rotates on the Minimap in accordance with the avatar's rotations Pass
Kishor0122 commented 9 years ago

Feedback

Hey guys, here are some things I think should be changed for the mini-map. I think it should be a bit smaller, circular instead of square (not important just a personal preference) and have a better contrast between the background and the things on the map. It doesn't need to be a be a bird's eye camera view or show the terrain. Something minimalistic that shows the area, the walls, and the character/enemies would be sufficient. Character can be marked by an arrow indicated direction, and enemies can be small red circles

Kishor0122 commented 9 years ago

Feedback

Kinda like this, but maybe with different colours/design for a more fantasy feel radar-gta4-wanted

marouen-lamiri commented 9 years ago

Answer To Feedback

This is some interesting feedback, for the size, the shape and the contrast will be changed as soon as possible. For the minimalistic approach, this is much harder to change since the map we have is dynamically generated when the player starts game-play, we will discuss it with the team in our next meeting and see what we could do to change this. We will notify you afterwards and see the best approach for this User Story.

Emmanuel-Tsapekis commented 9 years ago

Final Rework of minimap @Kishor0122

image I believe the minimap is finalized and is circular, semi-transparent, has black lines to show dungeon walls, red dots for enemies, blue dots for allies, and a directional player icon to represent the rotation of the player him/herself. Is there anything else you'd like to see in the minimap? Let us know

Kishor0122 commented 9 years ago

Feedback

Looks good! Has all the essentials for a mini-map. Things to consider for the future (not sure if these are already in place) would be to also show doors, cave/dungeon entrances etc. on the map. Also special enemies and bosses should have a different appearance (different colour/different size etc.). For now though it's good for me and I'm signing off on it.

Emmanuel-Tsapekis commented 9 years ago

Task breakdown (NEW ver2)