Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 19
1  Games Center / 4K Game Competition - 2013 / Re: tiny_world on: 2013-02-20 00:22:05
That is really amazing how much life you have managed to squeeze into a 4K game. I do however agree that it is a bit too easy. I had a quick look at the code and made an attempt to make it a bit more challenging. It can certainly be improved quite a bit more, but it gave me a good challenge. I changed a small piece of the code ~2/3 down:
   // compare resource income to desired income: village with below desired resource income => more likely to build to accumulate that resource
   int bestScore = -1;
   int bestIndex = -1;
   for (j = 0; j < 3; j++) {
      // base build score is dependent on levelTime versus resource income: resource income should increase over time
      int score = 0;
      // less likely to build if we have enough ore for a soldier
      if (entity[TOTAL_ORE] >= COST_SOLDIER_ORE) {
         score -= 32;
      if (j == RESOURCE_WOOD) {
         score += (8 - entity[TOTAL_WOODCUTTER])*4;
      // more likely to build a farm if the village has low food and a food deficit
      if (j == RESOURCE_FOOD &&  entity[USED_FOOD] > entity[GAINED_FOOD]) {
         score += (8 - entity[TOTAL_FOOD])*5;
      score += 16 - entity[TOTAL_RESOURCE_INDEX+j]/4;
      if (score > bestScore) {
         bestIndex = j;
         bestScore = score;

I don't think that the changes will take up more space than the original code, and in my view it made a really cool game a tad bit better . You do as you please with the code above naturally.

One idea to make the whole thing more strategic and prevent the "building one village" approach, could be to have one common resource pool for all villages for each player. Not sure where the villagers should be spawned though.

Anyway, congrats on a really cool game.
2  Games Center / Showcase / Re: Game Menu Demo on: 2012-07-12 15:56:02
Very nice looking. I am really interested in seeing what the game will be like after such a menu.  Smiley The FPS was a bit low 10 - 50, mostly ~20fps on my MacBook Pro with the power saving gfx card in use, but the experience was still smooth and fluid.
3  Games Center / Archived Projects / Re: Android - Storm Captain on: 2012-04-29 22:59:26
It seemed like a very nice game. Nice design and good complexity level for a phone game and interesting way to control the game. However I had a problem that my phone (Samsung Galaxy S) wasn't quite responsive. I haven't really experienced this before and am not sure why this happened now. The biggest problem was that the deflect arrows quite often didn't happen when such a hiccup happened.  Cry  It seems like the game was running but not updating the screen or getting inputs, since the ships jumps forward during the hiccups. I tried rebooting the phone, but same result.

It otherwise seems to be a fun game.
4  Games Center / Showcase / Re: Ludum Dare 23 - Forever Alone on: 2012-04-26 15:33:49
Exception in thread "Game Loop Thread" java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(

Prolly OS X specific with lower default setting or something.

I did increase it locally, but it only took me a bit further: Error loading clip: jar:!/res/ClairDeLune.ogg
   at com.ra4king.gameutils.Sound.extract(
   at com.ra4king.gameutils.Sound.extract(
   at com.ra4king.gameutils.Assets.add(
   at com.ra4king.gameutils.Assets.add(
   at com.ra4king.gameutils.Assets.add(
   at com.ra4king.spacegame.SpaceGame.initGame(
   at com.ra4king.gameutils.Game.gameLoop(
   at com.ra4king.gameutils.Game$
Caused by: javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
   at com.ra4king.gameutils.Sound.extract(
   ... 7 more
   at com.ra4king.gameutils.Sound.loop(
   at com.ra4king.spacegame.SpaceGame.initGame(
   at com.ra4king.gameutils.Game.gameLoop(
   at com.ra4king.gameutils.Game$

Write once, debug everywhere  Wink
5  Games Center / Archived Projects / Re: Hell Jumper: Full Armored Linear Lander - LWJGL on: 2012-04-11 10:24:28
On OS X nothing happens at all  Huh. No windows blinking and no console output. Editor worked.
6  Games Center / Archived Projects / Re: ShitBricks on: 2012-04-11 10:11:10
Same error as Apo,

Downloaded version gave:

Exception in thread "Thread-3" java.lang.IllegalStateException: Component must have a valid peer
   at java.awt.Component$FlipBufferStrategy.createBuffers(
   at java.awt.Component$FlipBufferStrategy.<init>(
   at java.awt.Component$FlipSubRegionBufferStrategy.<init>(
   at java.awt.Component.createBufferStrategy(
   at java.awt.Canvas.createBufferStrategy(
   at java.awt.Component.createBufferStrategy(
   at java.awt.Canvas.createBufferStrategy(

Java 1.6.0
7  Games Center / WIP games, tools & toy projects / Re: Lazer Defense on: 2012-04-11 10:01:36
Quite nice for a first game. It needs a bit of tuning to be really interesting though. The original Desktop Tower Defense was so great because it was very well balanced. This is far to easy to provide a real challenge right now. It would also be fun with some waves, possibly with some different movement patterns. It also seemed like the move didn't work at times. Not sure why, maybe got stuck in the wrong state (select player, select destination). Also why not use the more common way of first selecting player and then destination (possibly with right click).

Great start.
8  Games Center / Archived Projects / Re: Build & Defend -- A Tale of Survival on: 2012-04-11 09:42:31
I am not sure if anybody already mentioned it, but it looks really nice. Like it screams "PLAY ME"  Cheesy

"Demo or it didn't happen!"
9  Games Center / 4K Game Competition - 2012 / Re: Community voting results on: 2012-03-18 18:18:22
Congrats! Well deserved. Interesting that this was probably one of the least "true" remake you made Smiley

The top handful of games were really good games, but clearly a very worthy winner  Cool

10  Java Game APIs & Engines / Android / Re: Android - Resources on: 2012-03-16 00:47:31
Short list of engines/frameworks I found a while ago:
11  Java Game APIs & Engines / Engines, Libraries and Tools / Re: libgdx goes HTML5 on: 2012-03-14 10:09:22
Truly great!

And things just work. I will now have to dig up my 2 little test and try to convert them. I am really happy that I chose libGdx for the last project.
12  Games Center / Archived Projects / Re: Skyfall on: 2012-03-10 16:13:07
Very nice production quality. I really liked the parallax effect  Grin brilliant. The battle mechanics was new to me, but I don't really play many games like this. I quite liked that, much more fun than just random hit. A bit unresponsive sometimes and some time really long loading times, made it a bit annoying. I got completely stuck in a "Traveling" screen... Even though there were some tutorial/help I got a little bit lost for what to do. Nothing that a bit of guesswork couldn't solve, so that is not a big problem. Not my kind of game, but I imagine that it should be really popular with people into this genre.

Hope you have good success with it, one can tell that you have put a lot of effort into it.
13  Games Center / Showcase / Re: Lodestar: Stygian Skies on: 2012-03-10 15:33:56
Screen-shots vids and even story (that I normally don't care much for) is very impressive. I hope you have the energy to take it from a good idea to a great game. It has the potential. It will be interesting to see how the turn based battles will play out.
14  Games Center / Showcase / Re: Tyrian Remake on: 2012-02-22 13:47:57
It's gone broken  Cry

Exception in thread "com.b3dgs.tyrian.Menu" java.lang.SecurityException: class "" does not match trust level of other classes in the same package
   at Method)
   at com.sun.jnlp.JNLPClassLoader.findClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(
   at java.lang.ClassLoader.defineClass(
   at Method)
   at com.sun.jnlp.JNLPClassLoader.findClass(
   at java.lang.ClassLoader.loadClass(
   at java.lang.ClassLoader.loadClass(
   at com.b3dgs.tyrian.Scene.<init>(
   at com.b3dgs.tyrian.Menu.update(

Webstart OS X. Some signing left to do?

The download also crashed just as the game started. I was then going to start from command-line to get a stacktrace, but then it worked...
15  Games Center / Showcase / Re: Tyrian Remake on: 2012-02-20 17:34:03
Great fun!

Never played the original, but several like it Smiley

Not sure if this is only on my machine (OS X), but the sound and specifically the music didn't play smooth. It seemed to lock up quite frequently, and then snap out of it. The mouse was also VERY sensitive, too much so for my taste. I hoped that maybe switching to a larger resolution would help, but that just made the mouse very jittery, following my general movement, but jumping around a lot, making it unplayable.

Still very nice game, I will definitely try it on my Win machine to see if I have a better chance at controlling the ship there.
16  Game Development / Newbie & Debugging Questions / Re: lwjgl 2.8.3 and kwin (also compix) fullscreen on: 2012-02-02 12:36:50
I have experienced a similar thing since 2.8.2, using libgdx and on win7. Used to work pre 2.8.2, but I wasn't sure if it was related to libgdx or lwjgl. Seems like lwjgl is the common denominator here.

I am guessing that I am using what ra4king is suggesting, only with libgdx syntax:

         LwjglApplicationConfiguration lwjglAppCfg = new LwjglApplicationConfiguration();
         DisplayMode dispMode = LwjglApplicationConfiguration.getDesktopDisplayMode();
         lwjglAppCfg.fullscreen = true;
         new LwjglApplication(new MyGame(), lwjglAppCfg);

It really should work with the native resolution. Anything else would be really annoying.

Works fine on OS X though. Could have something to do with screen res are different.
17  Games Center / WIP games, tools & toy projects / Re: Warcraft Remake on: 2012-01-17 17:40:32
Well, I went home to play it and it started a bit better, but I still encountered some problems. The biggest one was:

Exception in thread "com.b3dgs.warcraft.Scene" java.lang.NullPointerException
        at com.b3dgs.warcraft.gameplay.EntryHandler$Effect.access$200(
        at com.b3dgs.warcraft.gameplay.EntryHandler.activateEffect(
        at com.b3dgs.warcraft.building.ModelBuilding.render(
        at com.b3dgs.warcraft.gameplay.EntryHandler.render(
        at com.b3dgs.warcraft.World.render(
        at com.b3dgs.warcraft.Scene.render(
        at com.b3dgs.lionengine.engine.Sequence.render(
Loader: sequence terminated !
Loader: terminated !

Happened after a few minutes of playing. Not sure if it was something I was doing.

Also for some strange reason the guys stopped extracting gold  Huh They would just get out of the mine with a bag on it's back and then immediately stop and the bag would disappear... Gold from the mine was depleting but I wasn't gaining  Sad  They would also stop mining. It also turned impossible to build farms after a while. The green box just turned red whenever I selected a place for the farm...

Win7, Java 1.6, v0.0.3

Still looking promising, but some work left.
18  Games Center / WIP games, tools & toy projects / Re: Warcraft Remake on: 2012-01-17 13:55:07
Mouse stuck in the upper left corner ish of screen (as if applet was in top left corner), but not even over the browser... no applet in sight. Ctrl or Esc did nothing, basically stuck. Wanted to try it again to see if console showed anything. Then it worked, until I quit, then the same thing happened again...

OS X (Lion), FF, Java 1.6

The outside browser worked fine, but would not allow changing resolution. Then game just flashed and came back to config/start menu. It also seemed to be difficult to place buildings, even though I saw a green square. Quite possibly all OS X issues.

Other than that it looked great. Looking forward to play it when I get home (to windows).
19  Discussions / General Discussions / Re: Website was just down for a few minutes ::) on: 2012-01-11 14:22:39
Ehhh... It seems like this this walled garden utopia might have some magic mushrooms in it...  Grin
20  Games Center / 4K Game Competition - 2012 / Re: Bubo 4k on: 2011-12-18 17:54:05
Nothing happening here either after the first dot has been place. ~700FPS. It seems like ppl w high FPS have less action. Makes me wonder if it could be a problem with a timebased movement. Could it be that your delta tick get so small that you round it off to 0 and therefore no movement is done? Just an idea.
21  Games Center / LWJGL16k - 2011 / Re: 3 entries so far! on: 2011-11-29 12:50:41
What... wait... are you trying to make us all write our own framework for this competition  persecutioncomplex

Some wise guy said that I should stop writing/improving libs and frameworks and make games instead  Cheesy
Quick someone, register Sounds interesting.
22  Games Center / LWJGL16k - 2011 / Re: 3 entries so far! on: 2011-11-29 01:12:16
Indeed. I was contemplating joining the competition, since I wanted to check out LWJGL, but never really had the time to do it properly (never really done any OGL stuff). But when I read something about creating font renderers and so on I backed off...  Tongue The thing that I like with java game dev, is to design and code games and not have to worry too much about things like HW specifics, font rendering and so on. That is obviously different from person to person. Given some nice framework, that can draw sprites, fonts, get input from user and play sound without much hassle, I'd be interested.

But then again, I am 90% done with a (modestly sized) game I am developing (and thus only have 90% left of it  Smiley ) so it is probably a bit against the fostering that Cas is trying to dish out anyway. I should probably stick with that and try to finish it first before starting something new.
23  Games Center / 4K Game Competition - 2012 / Re: Snake on a Plane on: 2011-11-28 16:14:52
Amazing how you can find great games in simple mechanics, and almost existing ideas, yet all new.  Cool

Liked it a lot. A bit similar to Putty Puzzle, but more flow to it. I did however manage to find a bug

Exception in thread "Thread-12" java.lang.ArrayIndexOutOfBoundsException: -18
   at Source)

Happens at lvl 8 move to the center top room, invert the gravity and move down the "stair" and then fall up in the gap at the top. Out of the level? Possibly a "level bug" rather than a code bug  Wink
24  Games Center / 4K Game Competition - 2012 / Re: Drift Driver 4K on: 2011-11-25 16:35:25
Great game as always from you.

Really nice feel, pretty much like last years contribution, but much more fun gameplay!
Unfortunately I can not start level 4 because of this:

Exception in thread "Thread-16" java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(
   at java.awt.image.Raster.createPackedRaster(
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(
   at java.awt.image.BufferedImage.<init>(
   at Source)

This is on OS X Lion, Java 1.6   Cry

Couldn't use handbreak either on OS X. HTML5 seems to work fine though.

Will play that now!  Cheesy
25  Games Center / 4K Game Competition - 2012 / Re: Cave4k on: 2011-11-13 17:46:29

Very cool environment, and it was fun to just fly around a bit. It would be nice with some larger caves. I assume they are just procedurally generated, so splurge on size there if possible. It is too often that the blobs escape outside the play area.  Sad

I think that the turning is OK, but it seems like the ship (or whatever it is) rotates around a point below the viewpoint, and that makes the view jumps a lot when you turn. Rotate around the center of the screen and I think that the turning will be better.

It feels like one should fly a bit lower on the planets.

Really nice game!
26  Games Center / Contests / Re: Java4k 2012 ? on: 2011-11-07 21:14:52
is there like a collection of tips somewhere ? - I did find the applet templates

like for example sound - without any other code, just using PCM wave , sound effects are way too big D=
There is a [size=12pt]getting started[/size] at the java4k site.
I have also created some hints in a [size=12pt]wiki[/size] that also talks about sound a bit.
27  Games Center / Contests / Re: Java4k 2012 ? on: 2011-11-07 10:02:21
I am quite sure that Appel is going to host the 4k compo again. He mentioned that in passing a while ago. I know that he has been quite busy lately, but I will go and kick him to make an announcement and maybe open the site for submissions.

I guess that the lack of bickering over how to improve the compo must mean that it has gotten quite good  Cheesy Hope that was not a fire-starer...
28  Games Center / Archived Projects / Re: Trucker on: 2011-10-12 10:01:12
I had a similar experience but the game I played was called Juggernaut and that was on the Sinclair Spectrum. Brilliant game I thought then.  persecutioncomplex

I made a tribute to it for the 1995 java4k: Trucker 4K (So maybe go with another name for yours.)

Regarding you game, it looks quite promising, but I think the controls are a bit difficult to handle. Calm it down. More routes would also make it more entertaining.
r - reverse gear

r - restart

If restart worked it would be difficult to play the game  Wink

Also managed to crash bad enough or something, to get this
Color parameter outside of expected range: Green

Another cool "game" to get inspiration from:
29  Discussions / General Discussions / Re: Google PlayN on: 2011-10-11 11:44:56
I tried it a little while ago, and the performance was not very good then (desktop and html5). The Flash export didn't work either. But I expect this to improve quite a bit, since it is still a very new tool. It wasn't really useful for me then, but it could be a really cool tool when it has matured.
30  Java Game APIs & Engines / JavaFX / Re: javafx is out + video on: 2011-10-05 21:02:50
This is what I stumbled upon, but I am not sure this is for 2.0 specifically, but I think I picked up the word Ensemble from some JavaFX 2.0 rant:
Sort of neat, but probably not enough to save FX. Nice if we get it in to normal Java.
Pages: [1] 2 3 ... 19
Dwinin (73 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (78 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (111 views)
2015-10-18 23:29:12

DarkCart (135 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (157 views)
2015-10-11 13:26:18

BurntPizza (172 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 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‑
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!