This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Neymar.Jr
wrote ...
2014/4/13
Wanting the code to give my enemies health
Neymar.Jr
2014/4/13
#
I am wanting to give my enemies health,to make them loose it when a bullet hits the enemy and to remove it when it has 0 health
bourne
2014/4/13
#
Begin coding something and we can help if you run into any problems.
Neymar.Jr
2014/4/13
#
i have got my basics up and running. I have done the code for my player class, enemy class, bullet code for player and enemy, But I'm not sure how to add health and then make it loose 1 health when it collides with the bullets
danpost
2014/4/13
#
This discussion should have been continued instead of starting a new one on this subject.
Neymar.Jr
2014/4/14
#
oh well I'm new here so I wasn't sure.
You need to login to post a reply.
X