Monday, June 12, 2017

Click team 3rd tutorial day 5

Today I am going to make the enemy loose health with each hit then I am going to add them in to my platform game.

To make the enemy loose lives then disappear add a less than or equal to zero condition and select destroy for the enemy.


If you want to add points for killing an enemy simply add another alterable value this one for points insert a counter for this value then add a "add to" in the player box in the same condition as the destroy function.


If you also also want a knock back feature you will need to follow a few steps.

First you need to make the enemy a bouncing physics object. This will now make your enemy fall through the floor.


Next you need to add the condition that will keep him on the platforms.


today I learned how to make the enemy disappear when its life is empty and how to make the enemy roll away.Tomorrow I will go over how to make the enemy knocked back when hit and damage the player.




No comments:

Post a Comment