Schlug Attuck

I have been writing my first java application now for some days now and guess what, its a game. It started out as a applet but it was too slow so I read about fullscreen exclusive mode and got here :slight_smile: I get alot of people getting alot of different fps:es.

The url to the up-to-date file is always: http://www.naturalgamer.com/SchlugAttuck.jar

Please post comments and fps results here :slight_smile:

The default resolution is now 1280*1024 and it uses tripple buffering

just a white screen…

Yeah, I got a white screen too. Running from the command line fixed that though.

Oh, and I got 41 fps. Although it seems to vary a lot each time I run it. Sometimes I only get 20. That may just be my screwy computer though… :stuck_out_tongue:

Weird… white screen? It should crash if anything but run without errors :slight_smile: Yeah… hmm… I had tripple buffering on as default… I will upload a new version today witch a settings box for that. Should increase FPS drastically for people with not very much Vram.

Tried commandline.

java -jar SchlugAttuck.jar

Same result - white screen.

45 fps, winxp, xp2100+

i get some graphic artefacts around the image. looks like it’s not being cleared.

as goes for 1280x1024 only… i hate 60Hz!

java.lang.InternalError: Could not set display mode
        at sun.awt.Win32GraphicsDevice.configDisplayMode(Native Method)
        at sun.awt.Win32GraphicsDevice.setDisplayMode(Win32GraphicsDevice.java:3
00)
        at SchlugMain.initScreen(SchlugMain.java:155)
        at SchlugMain.run(SchlugMain.java:41)
        at java.lang.Thread.run(Thread.java:536)

:frowning:

Hehe OK that´s it :wink: I have been reading about LWJGL all day and I will give it a shot. If anyone wants to see the source code for the current graphics2D version of the game, email me or pm me on quakenet - darcone.

The default resolution is now 1280*1024 and it uses tripple buffering

default res of quake3 is 640x480

btw 1280x1024 has a bad aspec ratio… e.g. 1280x960 (4:3) is good :]

all images need to have sick proportions to look as usual :>

i think it’s the worst “game” i’ve ever seen.

Think about it like this: I wrote the beginning of what could have been a game if the FPS was better, man, don´t be so naive :wink:

Are you trying to use FullScreenExclusive mode. Some OS’s don’t support that (like linux) and would cause this error.