Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Critters4k  (Read 5694 times)
0 Members and 1 Guest are viewing this topic.
Offline ulfjack

Junior Devvie





« Posted 2009-02-03 16:41:25 »

UlfJack proudly presents: Critters4k

Critters are attacking your desktop! Set up your tower defense and let them come. 100 levels of mayhem!

Input:
 *  1, 2, 3, or 4 to select a tower
 * space advances to the next level
 * backspace restarts the game
 * left button to build or upgrade a tower
 * right button to sell it

http://ulf.ofahrt.de/critters4k/Critters4k.jnlp

I didn't expect to submit a game this year due to time constraints, but I've found the time after all (also thanks to the deadline extension). Feedback is very welcome. (Don't complain that it is too difficult. I've personally finished level 100. :-)
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #1 - Posted 2009-02-03 17:28:21 »

it is kina glitchy. i couldnt even get to the first level.
Offline Hansdampf

Senior Devvie


Projects: 3


too offending?


« Reply #2 - Posted 2009-02-03 19:01:05 »

amazing!
lvl 73, score: 32900

will have another go with more boosters

edit: lvl 77, very well balanced!

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 ulfjack

Junior Devvie





« Reply #3 - Posted 2009-02-03 22:59:38 »

h3ckboy: I'm sorry to hear that. Could you explain in a little more detail?

My girlfriend complained about the performance on her machine, which was apparently really bad for no discernable reason (she's got an Intel Core Duo with sufficient performance and the virtually identical software configuration as me). And she said that today's version was much better. I could try to use Thread.sleep instead of yield, maybe that would help?
Offline Hsaka
« Reply #4 - Posted 2009-02-03 23:14:21 »

Addictive!

It runs very well on my machine, except for the rare occasion when the game would freeze for about 2 seconds and then continue on.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #5 - Posted 2009-02-04 08:10:12 »

Yay tower defense!

Great job fitting all this into 4k.  Smiley

See my work:
OTC Software
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #6 - Posted 2009-02-04 09:59:18 »

Some sort of key to indicate what the different unit colours mean would help me, or did I just miss it?

I found it extremely hard (and I play a lot of tower defence) but it's very cool too. Glad you included the wave bar at the bottom, tower defence without doesn't feel right.

Visually could do with some blood splats, or explosions or something.

Kev

Offline h3ckboy

JGO Coder


Medals: 5



« Reply #7 - Posted 2009-02-04 12:38:19 »

my mouse moves SOO slow. and pressing draggint eh boxes... also the guys just never came.
Offline ulfjack

Junior Devvie





« Reply #8 - Posted 2009-02-04 13:53:38 »

kev: In the game or in the description? The blue guys are normal, the orange are fast, the black are slow, but strong, and the yellow ones fly. Something like this?

h3ckboy: You have to press space to start the first wave. I should have been more clear in the description about that...
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #9 - Posted 2009-02-04 14:04:22 »

kev: In the game or in the description? The blue guys are normal, the orange are fast, the black are slow, but strong, and the yellow ones fly. Something like this?

Yeah, thats the sort of thing. I thought the black ones were some sort of ground attack unit only, didn't seem to be able to touch them with a standard tower.

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zeroone
« Reply #10 - Posted 2009-02-04 14:18:16 »

On start up:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at Critters4k.paint(Unknown Source)
   at sun.awt.RepaintArea.paintComponent(Unknown Source)
   at sun.awt.RepaintArea.paint(Unknown Source)
   at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #11 - Posted 2009-02-04 14:50:21 »

I did press space bar. it was on wave one just guys never came. maybe I didnt wait long enough.
Offline ulfjack

Junior Devvie





« Reply #12 - Posted 2009-02-04 16:54:40 »

h3ckboy: They should come in immediately when you press enter. Odd. I've changed the Thread.yield to a Thread.sleep in the jar below. Could you be so kind and try that out?

zeroone: Could you try it again with a jar that contains debugging info?

I've got one here: http://users.conquer-space.net/~ulfjack/Critters4k.jnlp
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #13 - Posted 2009-02-04 17:31:23 »

I am on a different computer and it is working now. nice game btw. it may have been jsut a glitch during initialization. I am gunna ty it again in the other computer.
Offline zeroone
« Reply #14 - Posted 2009-02-04 19:14:36 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
   at Critters4k.paint(Critters4k.java:290)
   at sun.awt.RepaintArea.paintComponent(Unknown Source)
   at sun.awt.RepaintArea.paint(Unknown Source)
   at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
   at java.awt.EventDispatchThread.run(Unknown Source)
Offline ulfjack

Junior Devvie





« Reply #15 - Posted 2009-02-05 14:49:19 »

zeroone: Apparently, start() is _not_ called before paint(), so the offscreen buffer is not initialized. I've eliminated the start method and now check whether the offscreen buffer is null, and do the initialization inside paint. I've uploaded the new jar.

I've also seen glitches where webstart does not initialize the applet window to the correct size (it's way too small, looks like some default params). Then I reload and it works. Any ideas?
Offline cylab

JGO Ninja


Medals: 55



« Reply #16 - Posted 2009-02-10 10:23:03 »

Grr. 87, then I got a phone call Sad Great game, but it desperately needs a pause function...

Mathias - I Know What [you] Did Last Summer!
Offline Hansdampf

Senior Devvie


Projects: 3


too offending?


« Reply #17 - Posted 2009-02-11 11:52:18 »

 Cool Yay! I did it!  Cool

no juggle, 5 leaks, (lots of sells...)
You should make the sell factor a little bit smaller than 1, like 0.95 or so.

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

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #18 - Posted 2009-02-11 13:06:16 »

Does not work here.  I suspect because my work computer doesn't paint the way you expect.  If I continuously switch the window behind and back to front it goes a step at a time.

Java 1.6.0_06
Windows XP
HP I think 2GHz
On board Intel Extreme 2 graphics card

Offline zeroone
« Reply #19 - Posted 2009-02-11 14:24:56 »

I really don't understand how to play this game.  Can you provide better instructions?
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #20 - Posted 2009-02-11 15:42:43 »

I really don't understand how to play this game.  Can you provide better instructions?

Do a search for desktop tower defense.  You will find the game this is based on.  That might help.

Offline Bonbon-Chan

JGO Coder


Medals: 12



« Reply #21 - Posted 2009-02-13 08:08:25 »

Unplayable  Sad

I put some tower...
I press space, the level turn to 1...
And nothing... it seems that it take several minutes before something appends  Huh

Windows XP sp3, Celeron 2.40 GHz, 512 RAM, Java 1.6, Intel 82865G
Offline Bonbon-Chan

JGO Coder


Medals: 12



« Reply #22 - Posted 2009-02-14 15:46:45 »

Try on a P4 3,20Ghz, Windows XP SP2, Java 1.6 and GeForce 7800GS. It works fine.

Great game  Smiley
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #23 - Posted 2009-02-14 17:44:12 »

Does not work here.  I suspect because my work computer doesn't paint the way you expect.  If I continuously switch the window behind and back to front it goes a step at a time.

Java 1.6.0_06
Windows XP
HP I think 2GHz
On board Intel Extreme 2 graphics card

This works on my home computer.
Java 1.6.0_11
Windows XP
AMD64 3000+
GeForce 6800

My only complaint is that you need to make the field half a tower size taller and half a tower size wider.  This will let me make a better maze.

Otherwise good job, it's pretty fun.

Offline cylab

JGO Ninja


Medals: 55



« Reply #24 - Posted 2009-02-19 10:44:38 »

Regarding the "frozen" behavious. I had a similar issue with Grasshopper4k and the solution seems to be to add a Thread.sleep([sometime]) to give the AWT Thread some room to make its work.

Mathias - I Know What [you] Did Last Summer!
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (42 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!