Rocks 'n' Pits!

In Rocks ‘n’ Pits, the objective is simple: push all of the rocks into the pits to move onto the next level. Don’t fall in the pits, or you’ll die!

Download the game (exe, jar), or the jar and source if you want!

Edit - Or just play online here! Thanks ReBirth for the help figuring that out :slight_smile:

I consider this my first game that -

A: works
and
B: is actually kind of fun! :slight_smile:

I will add more levels eventually. For each one I just have to make a new 2d array where a 0 is player spawn, 1 is blank, 2 is a rock, 3 is a pit, 4 is grass, and 5 and 6 make those nice little red and blue things (don’t want to spoil the suprise) 8)

Please go easy on me, I’m still new to this. Any feedback or constructive criticism is appreciated.

Enjoy!

-Nathan

Its fun! I found level 3 the most challenging, but this is a good game. One suggestion would be just a Reset button, or maybe make it so that you don’t return to the menu every time you fall into the pit. Otherwise I would love to see more levels!

Updated with the option to press reset while playing to restart level. Also, removed little white line that was on the side :stuck_out_tongue:

-Nathan

Oh sokoban’s remake! nice job ;D

Never heard of it, haha.

-Nathan

Sokoban

Ah… haha. Oh well, too late to change now.

-Nathan

What need to change? yours working well now. keep productive :slight_smile:

Haha that was quite fun!

For these types of games where you don’t need to to update the screen a lot, it is best to limit the game loop to 60FPS instead of letting it run loose (not good for laptops). It ran at 7500-8000FPS for me :o

Thanks, and gotcha. I updated the downloads with a 60-fps version.

-Nathan

Very fun game, nice j0b. ::slight_smile:

Really nice and neat game, even more as it is your first java project.

And now some critism I hope you’ll find constructive : as jDeng noticed, the difficult gap between level 2 and 3 should be much more progressive.

Yeah, I’ve been working on levels all day yesterday and today, and the difficulties are more progressive now.

-Nathan