BeetleMania: updated, open-sourced OpenGL version

BeetleMania has been ported to Kev’s new 2D library, Slick. Slick uses OpenGL through LWJGL to render everything, which gives a great speed boost. on my machine, I went from 50fps to about 650fps! try it out here! (note the BeetleMania site uses the original Java2D webstart link, so don’t launch from there).

also, I have released the source code. it’s quite scary, as this project started out as a 1-afternoon hack-up. OO enthusiasts beware: download the source code.

oh, and you can press the “F” key in-game to check out the FPS

if you’re new to BeetleMania, be sure to check out the website, or the game won’t make much sense (especially with dieing).

WOW! :smiley: I now get a ~1000 FPS :o :o :o on my not so game geared laptop. Have to give it a try with the desk top one as well!

Very good advertisement for Slick, and cool that you opensource the game, I will have to have a look at both as soon as I get a chance!

Hmm 2048 fps lol. Not too bad.

Nice game :smiley:

How on Earth did those guys get such high scores? I tried using my automatic key-presser to press ‘space’ a zillion times a second and I still didn’t get above 12,000, but they’ve got 200,000!

480 FPS

Wow, my computer got over 3500 FPS…

read the website, it isn’t about how many shells you shoot, it’s about the chain reactions you set off :wink:

thanks for comments everyone, glad to see the large fps numbers :smiley:

A good strategy is to idle on the left or right screenside and shot the shell if there were enough on the screen. With some luck you might get ~32k pkts or more :slight_smile:

I felt it important to update this thread, as I would like you to observe the recent changes on the scoreboard :slight_smile:
http://javaunlimited.net/beetlemania/

Hi!

It works but I have no sound:

[quote]org.lwjgl.LWJGLException: Could not open ALC device
at org.lwjgl.openal.AL.create(AL.java:145)
at org.lwjgl.openal.AL.create(AL.java:104)
at org.lwjgl.openal.AL.create(AL.java:170)
at org.newdawn.slick.openal.SoundStore.init(SoundStore.java:194)
at org.newdawn.slick.Sound.(Sound.java:23)
at BeetleMania.init(Unknown Source)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:161)
at BeetleMania.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1468)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1414)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1225)
at com.sun.javaws.Launcher.run(Launcher.java:114)
at java.lang.Thread.run(Thread.java:619)
[/quote]