Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Cell Invaders - TowerDefense Applet  (Read 26711 times)
0 Members and 1 Guest are viewing this topic.
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Posted 2010-04-28 15:28:20 »

It ist not complete yet, but playable.



This Applet won't crash your browser! Promise!

clicky!

Feedback please!

lots of sillystupid games: http://www.emaggame.com
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #1 - Posted 2010-04-28 15:39:16 »

Awesome !
I couldn't play too much (I'm at work now) but I really liked it .
I couldn't help noticing the similarity with Desktop Tower defense, but yours seems lot more polished .
I tried clicking "next" to fill it with bacterias, and no slow down . Very good !
Just need some more towers and stuff.
I wonder who's the 'hero' that the spacebar refers to .

Edit: oh, and did you do it only with Java2D ? cause I didn't get any security popup.

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #2 - Posted 2010-04-28 15:43:13 »

thanks Smiley
You get the hero in level 2.
yeah, it is much like DTD (my fav Flash game), but... drumroll... with some movable units.
The tutorial (first 3 levels) should explain everything.

lots of sillystupid games: http://www.emaggame.com
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #3 - Posted 2010-04-28 15:51:51 »

Edit: oh, and did you do it only with Java2D ? cause I didn't get any security popup.
mostly my own software rendering, looping through int[]  (except non-prerotated sprites -> standard java2d)

lots of sillystupid games: http://www.emaggame.com
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #4 - Posted 2010-04-28 17:22:21 »

It crashed in level 6... white applet. Java Console vanished...

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #5 - Posted 2010-04-28 17:44:27 »

Hm.. unkewl.
Will test, investigate and hunt that error down. Will be difficult.
The levels are not very balanced yet nor extremely tested - very time consuming.
At least the error could be  not my fault (no console?)... like always: blame the VM Smiley
I will update the levels in a few days and tweak everything, so I can finish this game next week.
...must ...finish this game.

lots of sillystupid games: http://www.emaggame.com
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2010-04-28 17:48:34 »

Hm.. unkewl.
Will test, investigate and hunt that error down. Will be difficult.
The levels are not very balanced yet nor extremely tested - very time consuming.
At least the error could be  not my fault (no console?)... like always: blame the VM Smiley
I will update the levels in a few days and tweak everything, so I can finish this game next week.
...must ...finish this game.

Regarding the gameplay: I didn't ever use the painters, and only started using air-defense structures in level 5. I'm always using the most basic defense, don't really need to upgrade them, just making a very long path.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline JoC

Junior Member




I love YaBB 1G - SP1!


« Reply #7 - Posted 2010-04-28 21:48:10 »

Very nice game!
Crashed here on level 6 aswell, on my second try on that level.
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #8 - Posted 2010-04-28 22:00:36 »

Yay! I'm so glad it is reproducible.
I'll let you know when I corrected it and provide a level code which unlocks the first 6 level.

lots of sillystupid games: http://www.emaggame.com
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #9 - Posted 2010-04-28 22:02:22 »

... and provide a level code which unlocks the first 6 level.

Was just about to ask. Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #10 - Posted 2010-04-28 22:27:22 »

oh, very impressive work, really fun to play and great amounts of polish, top stuff.

+1 point if the game installs and uninstalls correctly
+0 point if the game doesn't crash ever (probably get this point too once its crashes get fixed, see below for further explanation)
+1 point if the game is slickly presented
+1 point if the game has "good" graphics that suit the game
+1 point if the game has "good" sound that suit the game
+1 point if the game's overall style is "good"
+0 point if the game is original or brings a great new original twist (just a tower defence, but a very polished one, need to play it more to see if this point can be awarded but so far not convinced)
+1 point if your judge enjoyed playing the game
+1 point if the game is complete enough that doesn't feel anything is missing
+1 point if you don't whine and you demand nothing of the mods (simply saying "can you rate my game please" is fine)

8/10

Top game, I'm sure you'll fix the crash issues ppl have mentioned above, further I get an ugly exception box that pops up at the start of every level (sometimes multiple times) but game continues to work fine after I close it example.

Further could do with some balancing on the weapons strength/enemy strength, thought that the initial enemy strength was a little too strong. Once you have enough towers then suddenly feels a bit too easy making the towers a bit too strong. Guess a little tweaking here and there is need to get it to the right balance.

Also rocket tower behaviour is a bit odd as sometimes it might push the enemies in a direction that might allow them to get to the destination quicker and bypass some of your well placed towers.

the animation on the graphics are really smooth, 3d to 2d? they feel very fluid.

really nicely done and deserves to be in the featured section.

FEATURED.
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #11 - Posted 2010-04-28 22:54:50 »

Cheesy
*bows low*

BUT I WANT 10/10 !!! just kidding.
And thanks for the comments and the exception.

>The rocket tower behaviour is a bit odd as sometimes it might push the enemies in a direction that might allow them to get to the destination >quicker and bypass some of your well placed towers.

thats on purpose

>the animation on the graphics are really smooth, 3d to 2d? they feel very fluid.

Yes, 3d -> monocolor-> black cartoon border -> 2d (and everything generated procedurally in game)
Just got it down to 650k (pack200)

lots of sillystupid games: http://www.emaggame.com
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #12 - Posted 2010-04-28 23:28:41 »

Really slick work*

Cas Smiley

* Bah! A competitor!

Offline Gudradain
« Reply #13 - Posted 2010-04-29 04:42:33 »

White crash in level 5. I did level 6 before 5 and 4. So it might not be related to level 6. Maybe something like score or hero level or just something random...

Btw

Nice game. Very well done Smiley
Offline zammbi

JGO Coder


Medals: 4



« Reply #14 - Posted 2010-04-29 11:25:13 »

Just got this crash while trying to load the game. This is the first time loading it.
Windows 7.
Java 6 Update 20.
Chrome 5 browser.

Quote

load: class gamecow.collectionplayer.CollectionPlayerStarterFixCompiled not found.
java.lang.ClassNotFoundException: gamecow.collectionplayer.CollectionPlayerStarterFixCompiled
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://www.krautsoft.vs241092.vserver.de/virchow/gamecow/collectionplayer/CollectionPlayerStarterFixCompiled.class
   at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   ... 7 more
Exception: java.lang.ClassNotFoundException: gamecow.collectionplayer.CollectionPlayerStarterFixCompiled

When refreshing it, it came right and was able to play.

Edit:
Great game. Had no problems playing it.

Current project - Rename and Sort
Offline JoC

Junior Member




I love YaBB 1G - SP1!


« Reply #15 - Posted 2010-04-29 21:56:48 »

I got the crash on level 3 now.
Win7 64bit, Java6.18
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #16 - Posted 2010-04-29 22:22:01 »

yep, I put a warning message into the title screen that the game will crash soon or later.
Did not find the cause yet, pretty hard without a stack trace.
I catch all Throwables. In theory, the trace should be sent back to the server (I log 'em all, including the exception which kapta sent).
But there is nothing...

lots of sillystupid games: http://www.emaggame.com
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #17 - Posted 2010-04-29 23:05:02 »

Java Console was open, then it crashed, and the console vanished (again). So... no stacktrace of that one.


An other one however:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
java.lang.NullPointerException
   at kdk.util.StringHelper.a(Unknown Source)
   at kdk.util.StringHelper.<init>(Unknown Source)
   at kdk.threeD.OObjectModifier.<init>(Unknown Source)
   at kdk.threeD.SceneModPod$14.a(Unknown Source)
   at kdk.threeD.studio.TinyParser.b(Unknown Source)
   at kdk.threeD.studio.TinyParser.c(Unknown Source)
   at kdk.threeD.studio.TinyParser.a(Unknown Source)
   at kdk.threeD.studio.TinyParser.a(Unknown Source)
   at kdk.ScreenSource3D.a(Unknown Source)
   at gamecow.stuff.picpod.SceneScreenPod.a(Unknown Source)
   at gamecow.stuff.picpod.SceneScreenPod.a(Unknown Source)
   at gamecow.stuff.picpod.SceneScreenPod.a(Unknown Source)
   at gamecow.games.towerdefense.spawner.WaveListViewer.render(Unknown Source)
   at gamecow.games.towerdefense.spawner.WaveListViewer.render(Unknown Source)
   at gamecow.gamefx.GameFX.paint(Unknown Source)
   at kdk.dope.PluginManager.a(Unknown Source)
   at kdk.dope.PluginManager.a(Unknown Source)
   at kdk.dope.CannabisKwt.a(Unknown Source)
   at gamecow.SuperGame.b(Unknown Source)
   at gamecow.chapter.Chapter.a(Unknown Source)
   at gamecow.collectionplayer.playertypes.CollectionPlayer.c(Unknown Source)
   at gamecow.collectionplayer.playertypes.SingleGamePlayer.b(Unknown Source)
   at gamecow.chapter.Chapter.a(Unknown Source)
   at gamecow.collectionplayer.playertypes.CollectionPlayer.a(Unknown Source)
   at gamecow.collectionplayer.CollectionPlayerStarter.a(Unknown Source)
   at gamecow.collectionplayer.CollectionPlayerStarter.b(Unknown Source)
   at kdk.Main.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


And...
VaWNlGiGaciGaciGR3oQkX6YnnDg4qUq2qq9VATx4qfavsdT0s-TacyQZNM6TciGacmwn
XaWNlGiGaciGaciGR3oQkX6YnTT8XPebTN4AEZcpXNmybpOLqjf8aRVMaomT*eARaciGqiB

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #18 - Posted 2010-04-30 01:08:18 »

Played, solid start. Memory use keeps growing with each game played, about 10 meg more every new game.

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #19 - Posted 2010-04-30 07:28:16 »

BAM!
I found the cause (I hope!) and it was really, really stupid. Stupid because I already corrected it before, but commented it out again for testing. It was a simple ConcurrentModificationException when updating the blocked regions (by towers and creeps).
I guess proguard screwed it up, so nothing was printed to the console. Yes, I really need the Proguard step.

Played, solid start. Memory use keeps growing with each game played, about 10 meg more every new game.
I think/hope it keeps growing because there is lots of memory left (I reserve 256m). Just simulated 1000 game plays with a robot and it worked fine.
Thanks everyone for (re-re-re) testing.
Loving Java again. Until the next exception!
Now working on the actual gameplay/levels again...

lots of sillystupid games: http://www.emaggame.com
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #20 - Posted 2010-04-30 11:04:51 »

Why on earth do you need the proguard step?

Cas Smiley

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #21 - Posted 2010-04-30 11:26:54 »

Why on earth do you need the proguard step?

Cas Smiley
because 2.3m is less than 6 mb.

compile->jar = 6m    (lots of class files + ca. 200k data in txt files)
-> prog = 2.3m
-> pack200 -> 650k

in my "toolchain" I set some final variables, so proguard can eliminate unneeded code.
like:
1  
injectBoolean(SuperGame.class,"DEBUG",false);

and automatically reverting it afterwards.

plus my code is so f**king awesome and I will make trillions of drachmas and it is protected that way.
Maybe I could play around more with the proguard options, but so far it worked fine for me. Stack traces can easily been remapped:
I have a retrace.bat
1  
2  
java -jar retrace.jar proguard.map %1
pause
where I can drag-drop the stack traces

lots of sillystupid games: http://www.emaggame.com
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #22 - Posted 2010-04-30 13:30:08 »

How big is it just with pack200/gz?

Cas Smiley

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #23 - Posted 2010-04-30 13:55:42 »

How big is it just with pack200/gz?

Cas Smiley
1.6m
thats not too big for an applet, but I have a better feeling when there are not 50 other, unfinished games and all my editors inside the jar. Including the server code...

lots of sillystupid games: http://www.emaggame.com
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #24 - Posted 2010-04-30 15:15:26 »

Doh, hardly seems worth the effort of the proguard step then. The difference is like, 2 page views from Puppygames.

Cas Smiley

Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #25 - Posted 2010-04-30 15:49:08 »

Small is cool. This is a mouse speaking.

lots of sillystupid games: http://www.emaggame.com
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 744
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #26 - Posted 2010-04-30 16:01:04 »

in my "toolchain" I set some final variables, so proguard can eliminate unneeded code.
like:
1  
injectBoolean(SuperGame.class,"DEBUG",false);

and automatically reverting it afterwards.

NEVER do that. the JVM will make optimisations around final variables, and modifying them will make the behaviour of your code 'undefined'.


Besides that. When you applet crashes, and the Java Console vanishes, that means the JVM crashed, which should be impossible, unless you do naughty stuff, like you did.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Hansdampf

Senior Member


Projects: 3


too offending?


« Reply #27 - Posted 2010-04-30 16:22:51 »

No, no, no naughty stuff happening.
I change the final variables BEFORE using javac.
inject(blahh) finds the .java source file and modifies it.
Instead of messing around with ANT and XML I call everything from Eclipse.
Pressing play, keep on coding until a nice sounds indicates that everything is nicely deployed, packed and logged.
Life is much easier since I'm only dependent on a working Java compiler. 
So no explanation for the cruel crashes.

lots of sillystupid games: http://www.emaggame.com
Offline Noobtastic

Senior Newbie





« Reply #28 - Posted 2010-04-30 16:52:09 »

Excellent game, must have more!

Offline Marksman Ken

Senior Newbie





« Reply #29 - Posted 2010-04-30 18:44:12 »

Works perfect, amazing game!
Pages: [1] 2 3
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (37 views)
2014-07-24 01:59:36

Riven (38 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (50 views)
2014-07-17 23:47:54

danieldean (42 views)
2014-07-17 23:41:23

MustardPeter (44 views)
2014-07-16 23:30:00

Cero (60 views)
2014-07-16 00:42:17

Riven (57 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!