Fuzzy - a Java Platformer

Hi!
I’m a fan of Java programming and in my spare time I’ve developed a little game, called Fuzzy.

You can find all info here:

Have fun!

and source code here:

p.s: Fuzzy source code is inside a library I’ve wrote with Tommy (another Java developer), named MarteEngine, please see on wiki for more informations!

Really good looking game! It ran smoothly and was quite fun. I do want to suggest adding checkpoints because it got very annoying to restart the entire level when I fall off the map near the end, agghhhhhh.

An applet version would be nice for those who don’t like to download things.

Great job!

Hi

I wanted to give it a try but it works only on Windows, I looked at the ZIP file :frowning: Maybe I will try again if you use an applet or Java Web Start.

gouessej,
Try manually putting the native files for your OS to make it work.

@OP,
You should include the natives for all operating systems so that it could run in all environments.

stuck on level select. I can press whatever I want nothing happens, except for ESC which brings me back to the title screen and M which toggles music.

also save.dat cannot be found, might be normal with no prior save game, still an error is debug

You have to actually use your mouse to click on the level number. This confused me for a bit too (nothing else in the game uses the mouse!)

Nice little game! I found level select a bit confusing (see above 2 posts), otherwise it was pretty straightforward. Also, the collision seems odd, e.g. if I touch a crawling slime thing from the right side, it doesn’t hurt me.

Here’s a linux version for others to try. Execute the ‘run’ file from the terminal (tested with ubuntu 10.04 / sun-java-6):

http://74.207.233.86/Fuzzy-v1.0-linux.tar.gz

edit: I should note that I am using the 64 bit libraries here.

I can do it but a casual gamer (not a coder) would not accept to do it and more than 8% desktop computers use Mac OS (about 1% use Linux :(). The JAR is provided (FuzzyMain.jar), it would not be difficult to use an applet or Java Web Start, sign all JARs with the same certificate, just add one line into the JNLP file to load LWJGL and one line per JAR (some libraries are in /lib inside the ZIP file). If the author does not like applets and Web Start, he can use GetDown, NetX, IzPack or any other cross-platform installer. I expect from a Java game to work on the major families of operating system, not only Windows :frowning:

Good piece of news :slight_smile: Thank you. I’m going to test it immediately.

Edit.: The Linux version works fine (only on 64 bits machine). It is nice to hear than OpenAL just works fine :slight_smile: The game is nice and fluid, I played with it a few minutes, this is a good base for a larger platformer.

That explains it.

I like the music in-game.
Jumping should never be UP/W, you always should jump with a button (well its a keyboard here…) but I just usw X, and space should be jumping too
up to jump is a no-no =D
also the camera is kinda unstable… hard to explain but everybody should notice, sometimes its not smooth and jerks around; yeah hard to explain

graphically polished

how many levels can you play / finish ? not sure if I just dont find the way in level 3 ;D

wow, thanks for suggestions :smiley:

levels are 11 for now!

about linux and mac and applet versions: after some initial feedback are on the list :smiley:

camera: I knew that but I don’t find a decent solution, maybe search on Jgo will help me :smiley:

thanks anyone have played it!

didn’t work for me on mac, so took the liberty to create a cross platform jar ;D, get it here. Should work just by double clicking it (on mac, linux and windows or alternatively run from cmd prompt using “java -jar fuzzy-v1.0.jar”.

Maybe it doesn’t help at all, but this is (simplified) how I do it in my game:

public void adjustCamera()
{
   	camera.setLocation(protagonist.getX()+(TileMap.TEXTURE_SIZE)-(screenWidth/2),
			     protagonist.getY()+(TileMap.TEXTURE_SIZE)-(screenHeight/2));

   	if ((int)camera.x < 0) { camera.x = 0; }
   	if ((int)camera.y < 0) { camera.y = 0; }
   	if ((int)camera.x > getTileMap().getPixelWidth()-screenWidth)
   	{
   		camera.x = (getTileMap().getPixelWidth()-screenWidth);
   	}
   	if ((int)camera.y > getTileMap().getPixelHeight()-screenHeight)
   	{
   		camera.y = (getTileMap().getPixelHeight()-screenHeight);
   	}
}

Camera is just a Rect x,y,width,height.
Parallax scrolling cameras obviously behave a little different.

my problem with camera is that I want something like cave story like, where camera don’t jump with player position

beat it

boss is way to easy ? i just stood there and it died, because it came from below ;D

[quote]You have win!!
[/quote]
I guess it’s on purpose ? =D

Nice little game. The graphics were great and gameplay was quite solid. :slight_smile:

A Nice game. :slight_smile:

Thanks again, yes boss is really easy, I know that :smiley:

Any ideas from Fuzzy’s players? Some levels too difficult or easy ?

added version for linux 64 bit, here more info: http://randomtower.blogspot.com/2011/10/fuzzy-for-linux.html