Bug Splat!

Off topic chat. Basically anything that doesn't concern halo or halo modding can go here.
Post Reply
User avatar
Aequitas




Socialist Artisan Miner Pi
Bloodhound Mad Hatter Enthraller Logistician
Eureka Critic Wave

Posts: 469
Joined: Thu Nov 11, 2004 10:07 pm

Bug Splat!

Post by Aequitas »

So, I'm taking a video game design class... It's offered every semester, but each time they have a different topic. In the past they've done wii-mote games, stereoscopic games (think polarized glasses and 3D), etc... This semester it's multi-touch games. SEE: multi-touch youtube video

Our first assignment was to write a game in Processing. The minimum requirements:
- 10 bugs moving around on the table randomly.
- You can squish them with your fingers.
- The game has to be able to detect multiple fingers so you can potentially squish multiple bugs at the same time.
- When all 10 bugs have been squished the game ends with some text that congratulates you.
- Every time you squish a bug there’s gotta be some kind of visual as well as audio feedback.
Title Screen
Title Screen
We had two to three weeks to do it, but I procrastinated and ended up writing most of it in the last two days (or rather, sleepless nights). I think it turned out pretty nice considering it's the only game I've ever written (sleep deprived at that). I usually get around 50-60 FPS on my 4 year old laptop, so hopefully if anyone wants to try it they'll get the same or better. All it really requires is Java 1.4+ (I think) and OpenGL support. There's a bug (no pun intended) in the sound library I used - if you hit bugs too fast, it'll keep replaying the hit sound unnecessarily a few seconds later. It can be kinda annoying.

It was made for the tabletop multi-touch display which obviously influenced a lot of design choices, but this version is mouse only.

It has 10 levels (that can be changed with one line of code). You have 60 seconds to complete each. Each time you kill a bug, its health gets transfered to the remaining bugs. By the time you get to the last bug on a level, it'll have a lot more health than the first one you killed. Each level adds a bug or two, they have more health, and they're faster.
Level 7
Level 7
Head shots do less damage but slow the bugs down. Body shots don't affect speed but do more damage. I might go back later and tweak the health/damage/speed - when using my laptop touch pad, the clock doesn't come close to running out on me until level 8, 9, or 10. I guess I'd like to add some kind scoring mechanism at some point too.

It's pretty simple, but I had fun testing it.

F11 toggles a cheat button to skip levels.
F12 toggles a framerate display.
Esc should exit out immediately.

I think that about covers it. Feedback is welcome, but not necessary. Enjoy!
Win Screen a la Solitaire
Win Screen a la Solitaire
Attachments
Bug Splat 1.0.zip
Windows Build
(6.94 MiB) Downloaded 18 times
Last edited by Aequitas on Wed Feb 11, 2009 7:07 am, edited 2 times in total.
TF6
User avatar
Tural




Conceptionist Acolyte Bloodhound Recreator
Socialist Connoisseur Droplet Scorched Earth
Grunge

Posts: 15628
Joined: Thu Jun 16, 2005 3:44 pm
Location: Lincoln, NE
Contact:

Re: Bug Splat!

Post by Tural »

Aequitas. =D
User avatar
Veegie




Socialist Architect Coroner Golden Age
Mad Hatter Acolyte Translator New Age
ONI

Posts: 3638
Joined: Wed Nov 26, 2003 2:28 pm
Location: Redmond, WA

Re: Bug Splat!

Post by Veegie »

Aequitas is #1
Image
Hijikata wrote:The fact you love Jesus doesn't change the fact you're a *** mental patient. It just means you're a mental patient with a great imaginary friend.
User avatar
G.I.R.




Recreator Coroner

Posts: 3221
Joined: Thu Aug 11, 2005 1:07 pm
Location: Missouri
Contact:

Re: Bug Splat!

Post by G.I.R. »

Pretty cool game, d00d.
Also, hi Aequitas!
Image
I think Noobraska is a pretty cool state. eh grows corn and doesn't afraid of anythng.
(12:18:11 AM) GTAF: DAMNIT GIR WE ARE ON THE SUBJECT OF VINCE'S DICK.
User avatar
GametagAeonFlux




Bloodhound Acolyte Orb Commentator
Pyre Socialist

Posts: 9320
Joined: Sun Jun 06, 2004 7:27 pm
Location: Lincoln, NE

Re: Bug Splat!

Post by GametagAeonFlux »

A++ would play again.
User avatar
ScottyGEE




Visioneer Vector Mad Hatter Artisan
Snitch! Enthraller Pi Critic
Sorceror Droplet Scorched Earth Socialist
Advisor Articulatist 500

Posts: 7352
Joined: Sun Aug 15, 2004 9:08 pm
Location: Down under
Contact:

Re: Bug Splat!

Post by ScottyGEE »

I envy that you have units like that on offer. It would be amazing :(
Game doesn't work for me sadly (got the background screen and music, but can't exit nor see anything else). I'll recheck Java, else its no OpenGL support (integrated Intel card :P)

Nice to see you post too ;p
Image
This collaboration is not endorsed by Halomods
Technically its only me animating though ;)
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Re: Bug Splat!

Post by DrXThirst »

Hey to you too.
Image
User avatar
shadowkhas




Snitch! Socialist

Posts: 5423
Joined: Wed Jun 23, 2004 8:00 am
Location: Salt Lake City, Utah

Re: Bug Splat!

Post by shadowkhas »

Victory.
(7:15:27 PM) Xenon7: I BRUK THE FIRST PAGE OMGOMGOMG RONALD REGAN
User avatar
SHOUTrvb




Socialist Snitch! Advisor Orb
Mad Hatter Connoisseur Pyre

Posts: 3934
Joined: Sun Feb 13, 2005 11:13 am
Contact:

Re: Bug Splat!

Post by SHOUTrvb »

Cool to see a post from you Aequitas. I'm on my Mac currently, so since it's Exe, I'll test it on my XP computer when I get home. I'll post some feedback after that. :)
User avatar
INSANEdrive




Mad Hatter

Posts: 2642
Joined: Sun Jul 18, 2004 1:42 pm
Location: Cell Block #Q (There are a lot of strange people in the world. I should know; I'm three of them...)
Contact:

Re: Bug Splat!

Post by INSANEdrive »

Holy Crap its Aequitas!
Nice job. Much fun.
Reminds me a little bit of the mini-game in Mario Paint... Good times, Gooooood Times.
Image
"You know what I'd like to be? I mean if I had my goddamn choice, I'd just be the catcher in the rye and all."
or should I?
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Re: Bug Splat!

Post by xbox7887 »

BitterNanner introduced me to Processing a while back, fun stuff...looks good man :)
INSANEdrive wrote:Reminds me a little bit of the mini-game in Mario Paint... Good times, Gooooood Times.
<3
User avatar
SHOUTrvb




Socialist Snitch! Advisor Orb
Mad Hatter Connoisseur Pyre

Posts: 3934
Joined: Sun Feb 13, 2005 11:13 am
Contact:

Re: Bug Splat!

Post by SHOUTrvb »

Played it.. It would be pretty rockin if I had a touch-screen computer. Maybe if it could be run as a background or something; I would never stop touching it. haha. Clicking seemed kinda jumpy at times. My mouse's battery was running low, but even my touch pad which works fine would occasionally double click or lag at times in the game, so the sensitivity settings in the game might be a little funky. Other than, everything seems to work, so I predict a strong A. :)
User avatar
HPDarkness




Socialist

Posts: 1925
Joined: Tue Mar 22, 2005 6:57 pm
Location: Boston
Contact:

Re: Bug Splat!

Post by HPDarkness »

This game works good with my homemade multi touch table.
Good job =D
Post Reply