[Behavior] Health

Post your work in progress addons and get feedback

Post » Fri Feb 20, 2015 5:48 pm

After lots of observation and practice, I figured out how to use Construct 2 SDK! :lol:
This is my first behavior so please take it easy on me if you found any bug.
Image
What is Health Behavior?
Health behavior is a simple behavior that allow you to manage the lives of your sprites (Players)
it has some cool features to save time rather than making an instance variable!
Main Feature: with health behavior , you can auto-destroy a sprite when it dies! :D

Example code:
Image

Behavior & Demo capx
To download the behavior: right-click here
To download the demo capx: right-click here

Hope you like it, and feedback is welcomed! :D
ImageImageImageImageImage
B
53
S
15
G
5
Posts: 852
Reputation: 11,301

Post » Fri Feb 20, 2015 10:18 pm

This is the type of thing more people need to learn the sdk for. I applaud your first behavior.

I made a behavior simply to quickly add a few common instance variables to objects that I did in every project. It saves a load of time in the long run. Health is a great idea.
Image
B
32
S
11
G
2
Posts: 563
Reputation: 5,106

Post » Mon Feb 23, 2015 3:37 pm

Naji;

Good work. Simple understandable behaviors are always useful.

Thanks.

yours
Winkr7
B
31
S
8
G
3
Posts: 162
Reputation: 3,216

Post » Mon Feb 23, 2015 8:12 pm

winkr7 wrote:Naji;

Good work. Simple understandable behaviors are always useful.

Thanks.

yours
Winkr7


thank you! :D Glad I helped ! :D
ImageImageImageImageImage
B
53
S
15
G
5
Posts: 852
Reputation: 11,301

Post » Mon Feb 23, 2015 9:16 pm

Good work sharing this. Given C2's target market I think this kind of behaviour should be built in.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Mon Mar 23, 2015 11:47 am

nice work
B
6
S
1
Posts: 6
Reputation: 537

Post » Tue Mar 24, 2015 12:07 pm

wowxpria wrote:nice work

Thanks! :D I'm planning making another behavior or plugin when I finish my Unity game!
ImageImageImageImageImage
B
53
S
15
G
5
Posts: 852
Reputation: 11,301

Post » Sat Mar 28, 2015 6:48 am

nice idea!
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
61
S
14
G
2
Posts: 286
Reputation: 6,521


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests