onsdag 28 januari 2015

Level SAM

Hello!

We have had a 20 days break in our project due to unforeseen circumstances. However, we are now back on track, and we have received a project approval! (BAKSU)

Today, we developed a Die method as to make it easier for the player to die in different ways. So now, the die method is called when the player collides with an enemy or when it falls off the platform (and the y position is less than - 2 which it never will be on the platform).

Then we also created a new c# script called GameManager so we can keep track on score, highscore and also be able to move the player to different levels and also unlocking levels.

We've created three levels and tagged our goal as Goal (similar as when we tagged the enemy) so that when we collide with our goal we call a method in GameManager called CompleteLevel where we add 1 to the current number of level and go to the corresponding level.

However, we decided to only have 3 levels so this only works when the level is less than 2 (that is for 3 levels; 0,1,2). If you finish level 3 you will get a print "You Win!".

We've done 3 levels now, however they are just preliminary. Now we will focus on designing better levels and maybe design a better player and enemies.

Level 1:

Level 2:


 Level 3:

Peace out!
Daphenie Team

Inga kommentarer:

Skicka en kommentar