Help me (life)

Get help using Construct 2

Post » Sun Oct 20, 2013 9:17 pm

Anyone know a tutorial to add life?
B
4
Posts: 9
Reputation: 220

Post » Sun Oct 20, 2013 9:46 pm

There are a lot of examples posted in the forum and in the tutorial section ... Use the Search function to find them.

You create a global variable (or instance variable) and subtract from it when the player is hurt. Also check if variable = 0 means game over or restart layout.

https://www.scirra.com/tutorials/243/building-a-platform-game-a-beginners-guide/page-5
https://www.scirra.com/tutorials/182/making-a-fancy-lifebarTGeorgeMihai2013-10-20 21:51:04
B
49
S
15
G
6
Posts: 535
Reputation: 7,197

Post » Sun Oct 20, 2013 10:43 pm

thank you
B
4
Posts: 9
Reputation: 220

Post » Mon Oct 21, 2013 7:42 am

@Looky
Before posting search the forum and there is a also a FAQ section inside "How Do I" Section, there are lots of examples you will love to learn from, and I also recommend you to first read the manual carefully it will help you a lot as it helped me alot.

Hope that will help you in future, best of luck with you creation.
B
96
S
20
G
15
Posts: 198
Reputation: 14,571


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests