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 (536)
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  
  Tunnel Vision  (Read 4048 times)
0 Members and 1 Guest are viewing this topic.
Offline hazard1994

Junior Member


Projects: 2



« Posted 2012-07-01 00:01:16 »

[size=16pt]Tunnel Vision[/size]
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!  Grin

Controls:
- Arrows to control ship
- Space to restart




https://www.dropbox.com/s/6tjp73jlch66lwg/TunnelVision.zip

[applet archive= tunnel-vision.jar class=M.java width=560 height=560]
Offline Rorkien
« Reply #1 - Posted 2012-07-01 00:09:35 »

I don't have enough reflexes for it Sad

Also, this happens when i press space:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
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
Online Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #2 - Posted 2012-07-01 01:22:43 »

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.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ReBirth
« Reply #3 - Posted 2012-07-01 04:58:34 »

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

Online Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #4 - Posted 2012-07-01 07:04:55 »

Or, even better, ASCII Grin
Old school FTW!!!
Offline cawthorne

Senior Newbie


Medals: 2
Projects: 1



« Reply #5 - Posted 2012-07-02 20:55:02 »

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!
Offline cawthorne

Senior Newbie


Medals: 2
Projects: 1



« Reply #6 - Posted 2012-07-02 21:00:33 »

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 Tongue. 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 Smiley.
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #7 - Posted 2012-07-08 19:11:05 »

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

Offline hazard1994

Junior Member


Projects: 2



« Reply #8 - Posted 2012-07-08 22:46:26 »

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

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #9 - Posted 2012-07-18 22:32:44 »

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.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline GabrielBailey74
« Reply #10 - Posted 2012-07-19 00:03:06 »

wowzors:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
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 :@

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.

CogWheelz (13 views)
2014-07-30 21:08:39

Riven (21 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

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

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

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

Riven (30 views)
2014-07-23 20:56:16
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!