This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MuZiK
MuZiK presents ...

2009/4/24

Castle Defense

Created new enemy type that spawns if a number between 1-100 is >= 90. This enemy deals 20 damage and is faster than the other enemies.

3745 views / 17 in the last 7 days

Tags: mouse game with-source

open in greenfoot
Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
MuZiKMuZiK

2009/5/6

This is really aggravating. It technically SHOULD work, but it doesn't...
mjrb4mjrb4

2009/5/6

Nah it shouldn't, at least not how it's written at the moment ;) Have a look at your kill method - you might be resetting it, but you're also spawning as many enemies as you're removing. Only one line that's in the loop should actually be in a loop, take the other two outside of it and it works.
A new version of this scenario was uploaded on Wed May 06 19:06:07 UTC 2009
MuZiKMuZiK

2009/5/7

I hate those kinds of problems. Always hard to find, thanks.
MuZiKMuZiK

2009/5/9

I just found out why the games weren't loading on this site. I didn't have JAVA itself installed...
mjrb4mjrb4

2009/5/9

Oops. You'll definitely need that...!
A new version of this scenario was uploaded on Thu Jan 21 18:47:43 UTC 2010
A new version of this scenario was uploaded on Thu Jan 21 18:49:51 UTC 2010
A new version of this scenario was uploaded on Thu Jan 21 18:55:38 UTC 2010
MuZiKMuZiK

2010/1/21

Been away for a while doing html, css, javascript, xml, jsp and mysql. Now, I'm starting .NET...

See all comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.