game menu

hi, i am currently developing a java 2D game.
just started designing an interface.

what are your benchmarks (in fps)?

http://rapidshare.com/files/109263653/asteroid.jar.html

It crashes for me with this error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
	at java.awt.image.Raster.createPackedRaster(Raster.java:458)
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
	at sun.awt.image.SunVolatileImage.getBackupImage(SunVolatileImage.java:207)
	at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:235)
	at sun.awt.image.VolatileSurfaceManager.initialize(VolatileSurfaceManager.java:91)
	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:58)
	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:67)
	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:78)
	at sun.awt.image.SunVolatileImage.<init>(SunVolatileImage.java:72)
	at apple.awt.OSXVolatileImage.<init>(OSXVolatileImage.java:21)
	at apple.awt.ComponentModel.createVolatileImage(ComponentModel.java:111)
	at java.awt.Component.createVolatileImage(Component.java:3087)
	at Basics.Source.<init>(Source.java:47)
	at Basics.Sprite.<init>(Sprite.java:25)
	at Player.<init>(Player.java:32)
	at Main.<init>(Main.java:50)
	at FullScreen.<init>(FullScreen.java:39)
	at FullScreen.main(FullScreen.java:149)

Might want to fix that.

[urlhttp://rapidshare.com/files/109747209/asteroid.jar.html[/url]

i disabled the fps mode. data/config.ini -> fps=true

any suggestions?

greets sQ

Webstart.

Kev

have no webspace for that. do u know any gd free webspace sites?

sQ

Intel Mac. The game went full screen, started some sound effects, and the progress bar stuck at 100%. Esc or command-tab didn’t work - had to reboot to get out of it.

i suppose it is caused by using voliateImage…? but i am not that sure because i am a so called newbie

  • edit: maybe ur pc doesnt support 800x600 pix @brackeen - i set the config to 800x600pix
    i gonna fix that bug aswell :wink: thanks

btw: does anybody know how to get a list of supported video modes?