Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Games Center
>
Contests
>
Finished Contests
>
4K Game Competition - 2007
>
Tube Dreams 4K
Pages: [
1
]
Print
Tube Dreams 4K
(Read 1872 times)
0 Members and 1 Guest are viewing this topic.
ahristov
Jr. Member
Posts: 54
Java games rock!
Tube Dreams 4K
«
on:
2007-01-13 12:48:54
»
Hi there!
Here is my first entry to the 4K contest.... It's a remake of the old Pipe Dreams... Any suggestions and criticisms are welcome. It includes a micro sound effect (but if audio initialization fails it will proceed without using it), but I preferred to invest bytecodes in the game mechanics and visuals rather than in sound.
This is the first 4K program I wrote, ever, and I came upon quite a few surprises. I hope to improve with my next entries, which will be more action oriented :-)
Webstart :
http://www.ahristov.com/tubedreams/tubedreams.jnlp
Instructions :
http://www.ahristov.com/tubedreams/
Screenshot:
Planetalia S.L.
Cursos de Java
nva225
Sr. Member
Posts: 298
Re: Tube Dreams 4K
«
Reply #1 on:
2007-01-13 14:35:42
»
Err it tried to make me download java 1.5.0_08 to run it... why is this necessary? I have 1.6, should be backwards compatible...
ahristov
Jr. Member
Posts: 54
Java games rock!
Re: Tube Dreams 4K
«
Reply #2 on:
2007-01-13 14:44:56
»
Oopps.. Must have messed the JNLP file. Seems I wrote 1.5.0 instead of 1.5+. I'll fix it in a moment.
Planetalia S.L.
Cursos de Java
Games published by our own members! Go get 'em!
toasten
Jr. Member
Posts: 56
Re: Tube Dreams 4K
«
Reply #3 on:
2007-01-13 16:48:47
»
Idea is fine, but u should really consider running it at less then "100%" CPU, as my PC got unusable when i played it.
Something like Thread.sleep(1) should do.
woogley
JGO Neuromancer
Posts: 1098
Medals: 5
Re: Tube Dreams 4K
«
Reply #4 on:
2007-01-13 17:11:18
»
Thread.yield(), even
nice game, I'm not quite smart enough though (I faulter under time pressure
)
ahristov
Jr. Member
Posts: 54
Java games rock!
Re: Tube Dreams 4K
«
Reply #5 on:
2007-01-14 04:51:02
»
Ok, fixed it, although I had to remove an effect because of the increased bytecode size :-( I don't notice any difference in the computers I'm trying it, though (it gets at most about 45% of CPU usage on WinXP + Java 5)... Could you please test it again now? It's currently yielding for 30ms on each game iteration.
Planetalia S.L.
Cursos de Java
nullterm
JGO n00b
Posts: 26
Re: Tube Dreams 4K
«
Reply #6 on:
2007-01-14 07:51:17
»
It's still running at 50% on my machine WinXP. Which means the thread is still running at full capacity given that my Pentium 4 has hyper-threading (dual hardware threads).
Maybe Thread.sleep(30); instead?
Cool game BTW. My girlfriend suggested a pipedreams remake, but you already executed on it perfectly.
toasten
Jr. Member
Posts: 56
Re: Tube Dreams 4K
«
Reply #7 on:
2007-01-14 12:22:59
»
Still Running at 100% CPU, but the Rest of my PC is still usable, so it works
Maybe you could save some bytes, when removing the "link"-Text at the Bottom of the game
Pages: [
1
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Loading...