Nibbles Take II

Okay, I’ve added the option to run Nibbles in windowed mode as well as full screen. Its a cheesy hack I’m not happy with, but as I can’t find a way to resolve the full screen issues it seems necessary.

http://www.thekillams.ca/andrew/downloads.php

cheers,
Andrew

Now it works in windowed mode (?? where is the window?) but still not fullsreen.

Plays well, BTW.

I have to clean the code up to work better as a windowed game.

Currently, the game is a Frame extension which calls setUndecorated (true) and thus hides all evidence of being a window.

Funny, this was my first attempt at writing a full-screen game, and instead of saving effort it has cost me far more. :-/

coughLWJGLcough

Cas :slight_smile:

cough Swing cough

;D

Hi,

it works fine in window mode. In the full screen mode only a part is visible. I think the problem is the change of the display mode. When I start the game I have a higher resolution, I think this is used to calculate the display, but later the resolution is changed to a smaller one and thus the display doesn’t fit to the screen anymore. You can check this out if you use a different display mode for you OS, than the one which is used in the game.

ciao torsten