Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
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  
  Spline4k  (Read 7254 times)
0 Members and 1 Guest are viewing this topic.
Offline chaosdeathfish

Junior Member


Projects: 1



« Posted 2006-02-03 02:00:55 »

[size=20pt]Spline4K[/size]
[size=16pt]Aka: DeathBySuperUberSplinedBeachBallAttackPartOne4k[/size]

This is my first 4k entry, so I'm looking forward to some feedback Smiley

An attack of rogue sentient killer beach balls is threatening life as we know it, and only YOU can save us! Kill as many as you can to get the highest score. Watch out - they drop bombs!

Controls:
  • Cursors: move
  • Space: fire
  • Enter: smart bomb (if you have any!)

If you wipe out an entire wave, you may get a powerup.. collect it to get one of:
  • Smart bomb: Gain a smart bomb!
  • Multi-fire: Get double shot, upgrade to triple - but you lose it when you lose a life!
  • Timewarp: The beachballs slow down for 10 seconds

Other features include:
  • 21 unique waves! (wraps around if you complete them all).
  • Pause mode when the window loses focus.
  • Gain an extra life every 25000 points!
  • Gradually increasing enemy and bomb speed
  • Score higher for staying further up the screen


After lots of optimisation I'm down to 4083 bytes, so I'll see what else I can fit into those 13 bytes. Current ideas are shields, different enemies, boss (unlikey!) and lasers. We'll see Wink

-ChaosDeathFish
Offline reardonj

Senior Newbie





« Reply #1 - Posted 2006-02-03 02:17:15 »

I tried running the game on my Linux machine, and it didn't go too well. The beachballs jumped around instead of a smooth animation and the controls responded very slowly to the point where the game is unplayable. The same thing happened on both JDK1.5 and 1.6.
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #2 - Posted 2006-02-03 11:37:03 »

What spec machine have you got? It runs bearably when my laptop's running on battery at 800MHz. Other people have played it on Linux without problems, so I don't *think* it's a linux issue.

Was it slow whenever beachballs were on screen? Or only when they were exploding?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #3 - Posted 2006-02-03 11:50:16 »

I runs way too fast on my machine.

2.6GHz
768MB
Intel graphics controller

Offline DonaldEKnuth

Junior Member





« Reply #4 - Posted 2006-02-03 11:51:46 »

It's waaaay to fast on my machine, you need time based updating.

My 4k 2006 Entry: Sokoban4k
Offline woogley
« Reply #5 - Posted 2006-02-03 13:59:11 »

fast/choppy here also, see if you can fit in the timing code at http://www.java-gaming.org/forums/index.php?topic=11640.msg93602#msg93602

that code helped my game out alot
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #6 - Posted 2006-02-03 14:08:43 »

Wasn't too bad on the Mac (10.4.4, Java 1.5.0_06)

Made it to wave 23,  with 60200 points.. should have used my smartbomb Smiley

Offline reardonj

Senior Newbie





« Reply #7 - Posted 2006-02-03 14:12:50 »

What spec machine have you got? It runs bearably when my laptop's running on battery at 800MHz. Other people have played it on Linux without problems, so I don't *think* it's a linux issue.

Was it slow whenever beachballs were on screen? Or only when they were exploding?

Intel Pentium 4 2.4GHz
512MB of RAM
Radeon 9200(no OpenGL acceleration but that hasn't stopped the other games)

The whole game was slow. The start screen came up fine, and after hitting enter, I wait a few seconds, then the game starts and it takes a couple seconds for each frame to change.
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #8 - Posted 2006-02-03 14:43:51 »

This is just wierd! The code currently uses time-based updating, so it shouldn't be too fast or too slow on any machine. I wish I understood what was going on! Most people who have tried it before I posted here had no problems Sad

I'll put that timing code in (thanks Woogley) and see if it helps - but not until tonight, I have other stuff to do today Sad
Offline arne

Senior Member




money is the worst drug- we should not let it rule


« Reply #9 - Posted 2006-02-03 15:34:15 »

runs fine on my linux box

1,8 Mhz
Radeon 9000 (hardware acceleration enabled)
512mb ram

maybe it's a tiny little bit fast, because I don't think I will be able to make it to wave 23 (only made it to wave 7), but this could also be the unskillful me Wink

:: JOODE :: Xith3d :: OdeJava ::
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #10 - Posted 2006-02-03 16:05:59 »

The first wave *should* take about 6 seconds from the first ball appearing to the last ball disappearing. The machine I'm on at the moment runs fine, but with short jerks every 3 seconds or so (I assume GC? I'll have to look into that):

Duron 800
GeForce 2 MX
384mb ram

So it looks like it's some kind of wierd timing problem, maybe - and maybe only on faster machines? Also, has anyone who's had problems been using Java 1.4? I've only tested on 1.5 (I know, my bad, not thorough enough), I'll try 1.4 when I get back tonight.

Please bear with me while I sort it out!  Undecided
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #11 - Posted 2006-02-04 00:36:35 »

OK, I *think* I've fixed some of the problems (or at least I hope so!). There are now two versions available:

http://www.chaosdeathfish.com/4k/spline4k.jnlp - The main version. Should now be faster.
http://www.chaosdeathfish.com/4k/spline4k-debug.jnlp - The debug version. Not proguarded, compressed with JDK's jar tool, has an FPS counter.

If anyone has problems still, could you post with your FPS in the debug version, your machine specs, OS and JDK please? I really want to get any bugs left ironed out..

-CDF

edit: fixed the links..
Offline f.l.x

Senior Member


Projects: 3


there is no place like 127.0.0.1


« Reply #12 - Posted 2006-02-04 00:41:55 »

 Undecided
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
JNLPException[category: Error de descarga : Exception: java.util.zip.ZipException: invalid END header (bad central directory offset) : LaunchDesc: null ]
   at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:611)
   at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:761)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:715)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:638)
   at com.sun.javaws.Launcher.downloadResources(Launcher.java:969)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:335)
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217)
   at com.sun.javaws.Launcher.run(Launcher.java:164)
   at java.lang.Thread.run(Thread.java:595)

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
java.util.zip.ZipException: invalid END header (bad central directory offset)
   at java.util.zip.ZipFile.open(Native Method)
   at java.util.zip.ZipFile.<init>(ZipFile.java:203)
   at java.util.jar.JarFile.<init>(JarFile.java:132)
   at java.util.jar.JarFile.<init>(JarFile.java:97)
   at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:450)
   at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:608)
   at com.sun.javaws.cache.DownloadProtocol.getResource(DownloadProtocol.java:761)
   at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:715)
   at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:638)
   at com.sun.javaws.Launcher.downloadResources(Launcher.java:969)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:335)
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217)
   at com.sun.javaws.Launcher.run(Launcher.java:164)
   at java.lang.Thread.run(Thread.java:595)


the debug version ran fine, quite fast but still enyoiable Smiley

Litterarum radices amaras, fructus dulces
http://flx.proyectoanonimo.com
figth spam!
Offline reardonj

Senior Newbie





« Reply #13 - Posted 2006-02-04 00:47:20 »

I'm getting the same error as f.l.x on the main version. The debug version is flying though, ~120fps. Plays a little fast for me, but otherwize good
Offline DonaldEKnuth

Junior Member





« Reply #14 - Posted 2006-02-04 00:57:09 »

Your JAR-file is damaged (at least it's what the error message tells me.

My 4k 2006 Entry: Sokoban4k
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #15 - Posted 2006-02-04 01:55:20 »

Sorry, my bad - I've fixed the main jar file now, it should work properly.

I've turned the speed down, since I've had many complaints Smiley Hopefully the new version should be easier to play.

In other news, I've done lots more optimising and got the jar down to 3772 bytes!  Shocked So hopefully more features to come. Current plans are bosses, multi-directional bombs and maybe more!

-CDF
Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #16 - Posted 2006-02-05 01:47:11 »

Woooo, beachballs galour! All you now need is suntan lotion Tongue

Nice fun, worked fine, just add the Voley ball (as the boss) and you'll have me hooked!

DP

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #17 - Posted 2006-02-20 15:40:55 »

Nice that you have added it to Java Unlimited, but why did change name to Balls4k, especially since there already is a game in the compo called Balls4K  Huh A bit confusing

Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #18 - Posted 2006-02-20 21:36:05 »

Doh! I was a half-asleep when I was adding it. I thought Balls4k described it more accurately - I'll go see if I can change it back..

Anyway, I actually prefer Spline4k as a name. I don't know what I was thinking  Huh

My bad Sad
Offline chaosdeathfish

Junior Member


Projects: 1



« Reply #19 - Posted 2006-02-20 21:42:26 »

OK, it's been changed. Phew!
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.

TehJavaDev (12 views)
2014-08-28 18:26:30

CopyableCougar4 (24 views)
2014-08-22 19:31:30

atombrot (37 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (29 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (27 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!