Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3
  ignore  |  Print  
  Goomba4K  (Read 10613 times)
0 Members and 1 Guest are viewing this topic.
Offline woogley
« Posted 2006-01-29 15:56:37 »

[size=14pt]WARNING! BRUTAL GRAPHIC VIOLENCE AHEAD!![/size]

I myself have gotten wrapped up into making 4K games! It's rare any of my projects ever get finished so making 4K games gives me a feeling of accomplisment (or something) Cheesy

Everyone's favorite thing to do in the classic mario games is to [size=14pt]pull off the[/size] [size=16pt]biggest goomba[/size] [size=18pt]STOMPING[/size] combo possible.

The goal of this game is just that - stomp as many goombas as possible without touching the ground [size=6pt](or getting hit by a bullet bill)[/size]

[size=14pt]Innovative controls:[/size]
  • Space - start the game
  • Left arrow - fall towards the left
  • Right arrow - fall towards the right

Every 5 points will permanently remove 1 goomba from the playing field (so there will be less to land on). The goomba count goes as low as 5 goombas. Once you've reached 10 points, Bullet Bills will be shot you and they are LETHAL! - [size=16pt]so lethal that not even Mario can jump on them![/size]

[size=14pt]Special game features that's sure to make your jaw drop:[/size]
  • fully animated Goombas!
  • amazing bouncing capabilities!
  • breath-taking view of clouds!
  • complete with splattering Goomba guts!
  • 4086 bytes of non stop action!

[size=18pt]How many goombas can you stomp?[/size]
[size=18pt]PLAY NOW![/size]

bugs/suggestions/comments welcome Smiley
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #1 - Posted 2006-01-29 16:27:26 »

Great, sort of the same basic idea as my Freefall, only much better.

Anyway - the frame starts in the top left corner, and I can't move it because I don't see the title bar. Only see a small part of the window, and that, my friend, makes the game really hard. Please set window location properly Wink

Offline Anon666

Junior Member




aka Abuse/AbU5e/TehJumpingJawa


« Reply #2 - Posted 2006-01-29 16:28:52 »

Great, sort of the same basic idea as my Freefall, only much better.

Anyway - the frame starts in the top left corner, and I can't move it because I don't see the title bar. Only see a small part of the window, and that, my friend, makes the game really hard. Please set window location properly Wink

Same is happening here.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline woogley
« Reply #3 - Posted 2006-01-29 16:29:21 »

Great, sort of the same basic idea as my Freefall, only much better.

Anyway - the frame starts in the top left corner, and I can't move it because I don't see the title bar. Only see a small part of the window, and that, my friend, makes the game really hard. Please set window location properly Wink

odd - it's coded to be centered on the screen (exact code as Warpstar4K). you tried lauching it more than once? what OS? Tongue

maybe I'll just do a setLocation(100,100) for the moment

edit: now uses setLocation(100,100) - clear your cache etc and launch it again please? Smiley
Offline Anon666

Junior Member




aka Abuse/AbU5e/TehJumpingJawa


« Reply #4 - Posted 2006-01-29 16:33:11 »

WinXP, Java1.5.

Funky game btw. (you can still manually position it via the key shortcuts for the window positioning menu. i.e. alt->down->down->enter->down->move mouse)
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #5 - Posted 2006-01-29 16:38:10 »

I love this game. Truly. Very, very addicting - gameplay might be best this year Smiley

EDIT: Highscore 26 so far, but I only saw part of the window at the time :>

EDIT2: 38.

Offline Laundon

Junior Newbie





« Reply #6 - Posted 2006-01-29 17:23:12 »

This game is awesome. Cheesy
I had the same problem as Morre with the window outside the screen.

But, I hate the goombas AI. They tend to flee from me and leave a big empty space right below me.  Roll Eyes
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #7 - Posted 2006-01-29 18:18:31 »

hehe thats great fun and very addictive, was suprised though to see that you can't jump on the bullets (like in the mario games Smiley ) but other than that its pretty fun.
Offline DonaldEKnuth

Junior Member





« Reply #8 - Posted 2006-01-29 18:28:33 »

Nice game! Kudos to you! I would have changed the sky color a tiny bit from your other entry, just to differenciate them (and if you have made it the way I suspect it wouldn't take you many seconds). :-)

Two ideas for bonuses / events would be:
Magnet - The Goombas movement are always towards you for 5 seconds.
Luigi - Luigi comes in and starts jumping on Goomba's as well, stealing the show. You must jump on him so that he disappears.

My 4k 2006 Entry: Sokoban4k
Offline g666

Junior Member





« Reply #9 - Posted 2006-01-29 18:34:13 »

Nice game. i got score of 25. Smiley

desperately seeking sanity
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Malohkan

Senior Member




while (true) System.out.println("WOO!!!!");


« Reply #10 - Posted 2006-01-29 18:41:52 »

I got a 32, woo! Smiley

Admin and Game Developer at
GameLizard.com
Play Rimscape!    |    Play Conquer!
Offline woogley
« Reply #11 - Posted 2006-01-29 18:49:33 »

thanks for the feedback everyone Smiley

I know the bullet thing is a bit surprising, but the game would be too easy if you could bounce off of it I think. maybe I'll tweak it to where you can bounce on the bullet but if you collide with it on the side you're dead. I originally had it to where the goombas that fall from the sky could kill you but it was waaaay too hard to try to dodge those things.

is anyone else getting the window-off-of-screen error? (besides the first two people who tried it) - if so, those two probably need to clear their cache

edit: I love that magnet and luigi idea! genius!! I'll try to crunch those in (maybe remove clouds/bullets)
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #12 - Posted 2006-01-29 18:57:02 »

60 points Cheesy

I'm not getting the window error any more. Air combos could be a nice thing, not sure... That is, the more goombas you hit that are in the air rather then on the ground, the more points you get... first one is 1 point, second is 2, third is 3, and so on... or third is 2, whatever is balanced. Smiley

Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #13 - Posted 2006-01-29 20:32:03 »

Works fine for me Smiley  I'm not very good though.

Alan

Time flies like a bird. Fruit flies like a banana.
Offline DonaldEKnuth

Junior Member





« Reply #14 - Posted 2006-01-29 21:12:48 »

Quote
edit: I love that magnet and luigi idea! genius!! I'll try to crunch those in (maybe remove clouds/bullets)
Glad that you liked them! I'm waiting to se Luigi in there! Smiley

Quote
I'm not getting the window error any more. Air combos could be a nice thing, not sure... That is, the more goombas you hit that are in the air rather then on the ground, the more points you get... first one is 1 point, second is 2, third is 3, and so on... or third is 2, whatever is balanced. Smiley
I also thought about combos before giving my ideas, but it would be more based on luck then on skill don't you think? Personally I am way to slow to actually touch a falling goomba on purpose, it "just happens" for me and combinations should reward skillful play. It might just be me being slow though! Smiley

My 4k 2006 Entry: Sokoban4k
Offline nva225

Junior Member





« Reply #15 - Posted 2006-01-29 21:42:16 »

Not a bad entry at all. Surprisingly challenging as time goes on, fairly good balance of difficulty level.

Anywho, 42 right now Smiley I got stuck next to a bullet where the only goomba in my direction was right next to it.

EDIT: 75!!! It ended when I had to pop a goomba on the right side of the screen and the other ones were actually too far to the left for me to be able to reach them anymore.
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #16 - Posted 2006-01-29 21:56:42 »

Donald: Thing is, you can get them on the "bounce", meaning they're easier to catch, takes some skill, and you still don't catch the ground Smiley

EDIT: You beat my highscore, grats Smiley

EDIT2: Tiny bug - when stuck between two gombas you sometimes die mid-air, on the height that the bullets are but without any actual bullets there. Also, you can fall through the gombas to the ground without collision detection doing anything about it Smiley

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #17 - Posted 2006-01-29 22:09:05 »

LOL. Awesome game.

But the timing sucks. You used some simple sleep again, ne?

弾幕 ☆ @mahonnaiseblog
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #18 - Posted 2006-01-29 22:29:24 »

One of the bugs, the one when you die mid-air, seems to happen when one goomba enters your area from the side (via bouncing), and when you at the same time hit a ground-goomba from above. You simply fall through a pixel or so, then the game resets mid-air. Several of my friends have this as well.

Offline Laundon

Junior Newbie





« Reply #19 - Posted 2006-01-29 22:58:48 »

Ok, I hate this game. It will ruin my lectures, totally. I just cant stop playing it!
Hope you are happy now, I've played this game for several hours now instead of studying.  Angry Tongue
Offline woogley
« Reply #20 - Posted 2006-01-30 04:55:25 »

thanks for feedback everyone! I hope to implement some of these ideas.

oNyx, yes, it's straight up Thread.sleep(10). I'd like to have it cap to maybe 40 updates per second but Im not sure how with currentTimeMillis()
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #21 - Posted 2006-01-30 05:30:37 »

I posted something here:
http://www.java-gaming.org/forums/index.php?topic=11640.msg93602#msg93602

Even works fine with win9x's really bad resolution (50-55msec). For 40fps you would simply use 25f instead of 16f.

弾幕 ☆ @mahonnaiseblog
Offline woogley
« Reply #22 - Posted 2006-01-30 13:48:35 »

thanks oNyx. cool code, doesnt work as expected though Wink I tried using 100f just for kicks and the updates per sec were nothing close to 10 Smiley

easy to implement tho, Goomba4K now uses it and the game now weighs in at 4083 bytes!

oh yeah, and oNyx, I'm sure you know this, but if you set lastFrame to System.currentTimeMillis() right before the game loop rather than 0, the throttler adjusts much faster.

edit: nevermind that first part, I see there's two places to change the 16f Smiley
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #23 - Posted 2006-01-30 18:06:09 »

I suggest you increase the FPS a bit. Much slower now, so slow that I get annoyed waiting for mario to fall down rather than trying to make him stay in the air Wink
Was better at somewhat higher speed. Smiley

Offline woogley
« Reply #24 - Posted 2006-01-30 19:05:24 »

adjusted to 60 updates per second. should be fast enough now Smiley
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #25 - Posted 2006-01-30 20:16:24 »

The speed is way better now Smiley

Before it was a bit underwater-ish.

edit: Btw most games like this (with gravity/acceleration... jump'n'runs in particular) cheat a bit. They a) use a higher acceleration value and they b) cap the terminal velocity at a rather low value. Doing so gives the player more control, because direction changes are quicker. I did that over in jm4k and it really improved things a lot.

This game doesnt really need it, because the extremes arent that extreme. I just thought I should mention it anyways Wink

弾幕 ☆ @mahonnaiseblog
Offline woogley
« Reply #26 - Posted 2006-01-30 20:20:17 »

Before it was a bit underwater-ish.

ooh, don't give me ideas Wink
Offline Morre

JGO Knight


Medals: 2
Projects: 10


I'm Dragonene on IRC.


« Reply #27 - Posted 2006-01-30 20:22:51 »

Haha. Cheesy
Agreed, speed's better now. Thanks Smiley

Offline Laundon

Junior Newbie





« Reply #28 - Posted 2006-01-30 20:36:38 »

Ahhh.

Btw, in the first post you state that the goomba count will go as low as 5, but it accually is 4. Which is wrong, the game or the info?

edit: I hope it is the info, because 4 is good. 3 on the ground and one falling down. Smiley
Offline woogley
« Reply #29 - Posted 2006-01-30 20:42:30 »

actually in the game, I use an array of sprites to move all characters around. well, it happens to be that sprite[0] is mario instead of a goomba. but in the code since I limited the array to 5 items, it added up to 1 mario + 4 goombas Smiley also in this case you only start with 14 goombas! =o!

this has been fixed, thanks! Smiley

edit: oh so you LIKED 4?
Pages: [1] 2 3
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

pw (37 views)
2014-07-24 01:59:36

Riven (38 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21

Zero Volt (50 views)
2014-07-17 23:47:54

danieldean (42 views)
2014-07-17 23:41:23

MustardPeter (44 views)
2014-07-16 23:30:00

Cero (60 views)
2014-07-16 00:42:17

Riven (57 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!