Kers.

Hi everybody.
I would like to share my little artwork for you all.

Game include now:

  • Procedural graphics.
  • Realistic physics.
  • Genereted maps, difficulty scale with level.
  • Unique gameplay. Energy is resource but you still have to drive fast. Driving game where you don’t just push throttle all the time.
  • Easy to learn. Hard to master.
  • Tunable vechile. Buy a new parts which improve different abilities.
  • Midi music, tempo will indicate if you run with low battery.
  • Just click the link and teh game start. No downloading or anything. Game file size is also very minimal only 150kb.
  • Its free and it will be.


http://img200.imageshack.us/img200/3856/screenshoteao.png

Try it here.
Link to applet.

I would like to hear your opinion.

It worked fine, I didn’t really like the breaking to get back power and it wasn’t really clear how much battery left vs time taken was beneficial when it came to money but maybe it’s just something that one needs to get used to :slight_smile:

Mike

Maybe I should show how money is earned after each course? I didn’t give exact formula becouse I wanted keep things simple. This also why there is no time showing.
Breaking only give battery what you have allready spent on accelerating. If you just keep your speed optimal you don’t have to use brakes at all.

I got this while playing:


Exception in thread "Thread-16" java.lang.NullPointerException
	at net.KERS.koodi.KERS.update(KERS.java:312)
	at net.KERS.koodi.KERS.run(KERS.java:268)
	at java.lang.Thread.run(Unknown Source)

Thanks and fixed. I still have lot of learn about multiple thread coding.

I had a dark background, and the the text written in black was very hard to read.

Whole time or only after sun have set?
I bet this is caused by heap memory error. If there is memory error then game try ditch some generated graphics images to compensate the lack of memory.
To fix this do I need adjust initial heap size?

That’s a nice game. I’m trying to learn something about landscape generation from the source code… Which is your native language, because the variables has some special-looking names? :stuck_out_tongue:

http://img841.imageshack.us/img841/6650/screenshot1qj.png

This is the background I get. Sometimes the dark clouds go behind the text, and it gets a pain to read.

The colors are strange. The text is hard to read, could you put something behind it?

Those acid-trip looking clouds are not behaving normally. It’s has something to do with java2d hardware acceleration and some set of graphics cards and only effecting to translucent colour. In my code I try to check if the hardware is cabable of doing those translucent images and if not then using simpler cloud graphics. Its still not working at every case. My code looking like that.


GraphicsDevice[] devices = GraphicsEnvironment
				.getLocalGraphicsEnvironment().getScreenDevices();
		GraphicsDevice device = null;
		int bestMemory = 0;
		for (int i = 0; i < devices.length; i++) {
			if (devices[i].getDefaultConfiguration().getColorModel(
					Transparency.TRANSLUCENT) != null) {
				if (Math.abs(devices[i].getAvailableAcceleratedMemory()) > bestMemory)
					bestMemory = Math.abs(devices[i]
							.getAvailableAcceleratedMemory());
				device = devices[i];
			}
		}
		if (device == null) {
			simpleClouds = true;

			for (int i = 0; i < devices.length; i++) {
				if (Math.abs(devices[i].getAvailableAcceleratedMemory()) > parasMuisti)
					bestMemory = Math.abs(devices[i]
							.getAvailableAcceleratedMemory());
				device = devices[i];
			}

			System.out.println("Graphic card not found");
		}

		if (device == null) {
			device = GraphicsEnvironment.getLocalGraphicsEnvironment()
					.getDefaultScreenDevice();
		}

		GraphicsConfiguration gc = device.getDefaultConfiguration();

Is there any better way to check if user system can support translucent colours?

I am finnish guy so thats my native language. I know my commenting and variable naming style kinda suck. Have to focus on that more.
I try to comment it all better and change everything to english when I have more time.

Fun game I really enjoy it. The clouds are messed up though. Keep up the good work ;D.

Damn I hate that bug. It has been since start. Well known bug and I have tried over dozen method to prevent it. Maybe if player just culd press f1 and that would start with simpler clouds. It’s not maybe most user friendly aproach but it’s better than nothing.
Or I could change java2d to slick2d but then I have to do nasty pixel blitting before every level or prepainted images.

http://gamejolt.com/online/games/arcade/kers/4944/
Uploaded the applet to Game Jolt. I am very surprised how low the traffic is.

That was fun :slight_smile:

Got to lvl34, then stopped because I was bored. But good start :slight_smile:

Thanks.
I have tested new game mode which add more fun but it’s not ready yet. This month I am busy with with Slick game contest entry but after that I will get back to it.
Do you have any ideas for additional content?

[quote]Do you have any ideas for additional content?
[/quote]
Hmm… Probably something more than just driving to the end. Say, add a jump function then you could add spikes, bushes (to slow you down), etc.
Could add more than just hills, like roads, ramps, ice, etc.
Powerups to collect. Extra speed/jump, free upgrades, nitro, etc.
Extra upgrades that could give the car special things it can do. Like a free nitro per stage, spare tire (help against spikes), etc.
Medals for doing things like high jumps, fast speeds, collecting all items, etc. This could give extra money.

Hope that helps :slight_smile:

Got to lvl 40 before my car became a bouncing ball (min weight and bearing, lotsa power) and kept turning to his back constantly)