Tunnel Vision

Tunnel Vision
This is my second game created in Java. Just wanted to experiment with pixel data, and I think the game came out pretty good.
Hope you enjoy! ;D

Controls:

  • Arrows to control ship
  • Space to restart

http://img685.imageshack.us/img685/2884/demopic.png

[applet archive= tunnel-vision.jar class=M.java width=560 height=560]

I don’t have enough reflexes for it :frowning:

Also, this happens when i press space:

Exception in thread "Thread-12" java.lang.StackOverflowError
	at sun.awt.image.BufImgSurfaceData.initRaster(Native Method)
	at sun.awt.image.BufImgSurfaceData.createDataIC(Unknown Source)
	at sun.awt.image.BufImgSurfaceData.createData(Unknown Source)
	at sun.awt.image.BufImgSurfaceManager.<init>(Unknown Source)
	at sun.awt.image.SurfaceManager.getManager(Unknown Source)
	at sun.java2d.SurfaceData.getPrimarySurfaceData(Unknown Source)
	at sun.java2d.SunGraphicsEnvironment.createGraphics(Unknown Source)
	at java.awt.image.BufferedImage.createGraphics(Unknown Source)
	at java.awt.image.BufferedImage.getGraphics(Unknown Source)

But looks cool after all, and if you manage to cut off and compress some code, you’ll be able to make it a 4k game

Pretty cool. The colors are a bit too bright though, don’t want to hurt my eyes!
Good game concept, I agree with Rorkien, good for 4K with enough work.

If you find out more people complain their eyes being hurted next time, you can go grayscale.

Or, even better, ASCII ;D
Old school FTW!!!

Looks really fun! But I can’t seem to control it! The arrow keys do nothing for me :/. Shame I really wanted to play it!

Never mind I got it working. You have to click the window a few times to apply focus. You may need to use ‘setFocusable(true);’ Not sure though. I’m not an expert :P. It’s very hard. If you make one mistake you can’t recover, even though you haven’t crashed yet. Either make it more obvious where the cut off point where the ‘point of no return is’ or increase the sensitivity when you’re off centre or something :).

It doesn’t seem I have any control. I crash every time.

You need to click on it.
Sorry, I forgot to add requestFocus()

I am aware, and I see the animations of the ship moving when I press the key. It’s just very difficult to see where you are moving, and where you are supposed to be moving.

wowzors:


Exception in thread "Thread-13" java.lang.StackOverflowError
	at java.util.Hashtable.put(Unknown Source)
	at sun.java2d.Disposer.add(Unknown Source)
	at sun.java2d.Disposer.addRecord(Unknown Source)
	at sun.awt.image.BufImgSurfaceData.initRaster(Native Method)
	at sun.awt.image.BufImgSurfaceData.createDataIC(Unknown Source)
	at sun.awt.image.BufImgSurfaceData.createData(Unknown Source)
	at sun.awt.image.BufImgSurfaceManager.<init>(Unknown Source)
	at sun.awt.image.SurfaceManager.getManager(Unknown Source)
	at sun.java2d.SurfaceData.getPrimarySurfaceData(Unknown Source)
	at sun.java2d.SunGraphicsEnvironment.createGraphics(Unknown Source)
	at java.awt.image.BufferedImage.createGraphics(Unknown Source)
	at java.awt.image.BufferedImage.getGraphics(Unknown Source)
	at tunnelVision.M.run(M.java:32)
	at tunnelVision.M.run(M.java:58)
	at java.lang.Thread.run(Unknown Source)

Theres like 80,000 at tunnelVision.M.run(M.java:58);.
Believe it happened when i crashed, had to refresh because it wouldnt restart my plane :@