EARWORMZ (experimentalgameplayproject entry)

Show off your games, demos and other (playable) creations.
stripwax
Prole
Posts: 39
Joined: Sun Jul 31, 2011 1:16 pm

EARWORMZ (experimentalgameplayproject entry)

Post by stripwax »

Experimental Gameplay Project
July 2012 is Audio Input

This is my entry - EARWORMZ. Made in one day.

This game doesn’t make much sense. Create a sound by whistling, and guide it into my ear to power up the laser inside my head. Use the laser to destroy the EARWORMZ.
screenshot-mini.png
screenshot-mini.png (110.05 KiB) Viewed 14295 times
Controls:
Whistling (first to create a sound, then steer it using pitch). While you whistle, the sound accelerates in the direction of the speechbubble (direction doesn't change if you stop whistling)
Shhhh or blow (to send the sound into my ear)

Operating instructions for the laser:
You can power up the laser using as few as 1 sounds or as many as 5. More sounds makes a more powerful laser, but it is also more difficult to engage.
After sending a sound into my ear, you get the option to engage the laser. Simply SHHHH (or blow) continually, until the yellow circle hits the green band. With more sounds, the laser takes longer to charge as well as requiring a higher accuracy / more continuous SHHH sound to engage it.
If you fail to engage it, don’t worry, simply send another sound down my ear and try again.

Win/Lose
You cannot win. But you can try for a high score.

link:
http://www.beermex.com/games/earwormz/

I’ll update the page later with more details, credit, source code, and maybe non-windows builds too.
This project reuses the prebuilt sdl audioin and kissfft libraries from Guitar Girl Crayon Cutout Monster Mayhem: http://love2d.org/forums/viewtopic.php?f=5&t=2076

EDIT - Updated, now saves highscores, automatically detects optimal fullscreen/windowed mode, toggle/save fullscreen (hit 'f').
EDIT 22Jul12 - Cosmetic update, fixes formatting of HighScore: text, and better visual indicator for noise-versus-pitch capture on the speech bubble graphic, as well as interpolated rotation (less visually glitchy). Clarified instructions above about whistling to change direction of the speech bubble.
EDIT 29Jul12 - Repacked .zip to include a top-level earwormz directory, and incorporated license notes for the game and the libraries used.
Attachments
earwormz.zip
Windows .zip - contains game and necessary dlls
(2.14 MiB) Downloaded 491 times
Last edited by stripwax on Sun Jul 29, 2012 4:04 pm, edited 7 times in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: EARWORMZ (experimentalgameplayproject entry)

Post by Nixola »

1024x600 fullscreen may annoy the user quite a bit, I'm attaching an .exe that doesn't fullscreen
...Damn. Exes not allowed. I'm zipping everything, then

EDIT: I think that Ear2.exe contains 2 .love files
Attachments
Earwormz.zip
Download, extract, run.
(2.43 MiB) Downloaded 504 times
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
stripwax
Prole
Posts: 39
Joined: Sun Jul 31, 2011 1:16 pm

Re: EARWORMZ (experimentalgameplayproject entry)

Post by stripwax »

Nixola wrote:1024x600 fullscreen may annoy the user quite a bit, I'm attaching an .exe that doesn't fullscreen
...Damn. Exes not allowed. I'm zipping everything, then

EDIT: I think that Ear2.exe contains 2 .love files
Cool, is there a way to determine the native resolution in LOVE and only fullscreen 1024x600 if that is the native resolution, otherwise run windowed? That was kinda-sorta the intention of my code but I didn't actually get a chance to test it on anything else other than my netbook..
EDIT - to be clear: my netbook has a 1024x600 resolution. So, windowed 1024x600 doesn't really make any sense for playing games, whereas fullscreen is quite natural.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: EARWORMZ (experimentalgameplayproject entry)

Post by Nixola »

My netbook has 1024x600 too... But I use an external monitor, 1280x1024, and it was quite strange. Anyway, you can determine the current display size by putting in love.conf(t) the following:

Code: Select all

function love.conf(t)
t.screen.width = 0
t.screen.height = 0
end
After putting the code above in the file conf.lua, you get (in main.lua) the current width and height and then decide wether to set fullscreen or not
EDIT: Thanks Jasoco!
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
stripwax
Prole
Posts: 39
Joined: Sun Jul 31, 2011 1:16 pm

Re: EARWORMZ (experimentalgameplayproject entry)

Post by stripwax »

Nixola wrote:My netbook has 1024x600 too... But I use an external monitor, 1280x1024, and it was quite strange. Anyway, you can determine the current display size by putting in love.conf(t) the following:

Code: Select all

function love.conf(t)
t.screen.width = 0
t.screen.height = 0
end
After putting the code above in the file conf.lua, you get (in main.lua) the current width and height and then decide wether to set fullscreen or not
EDIT: Thanks Jasoco!
Nixola/Jasoco - great tip, I hadn't seen that before. I have updated the code to do exactly this (new .zip in first post)
stripwax
Prole
Posts: 39
Joined: Sun Jul 31, 2011 1:16 pm

Re: EARWORMZ (experimentalgameplayproject entry)

Post by stripwax »

Minor update, mostly cosmetic (but important cosmetics!)
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: EARWORMZ (experimentalgameplayproject entry)

Post by TechnoCat »

All my speech bubbles go through the red circle being briefly green and never go in the ear.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: EARWORMZ (experimentalgameplayproject entry)

Post by Nixola »

Did you try to blow when they're inside the circle?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: EARWORMZ (experimentalgameplayproject entry)

Post by TechnoCat »

Nixola wrote:Did you try to blow when they're inside the circle?
no. :cry:
stripwax
Prole
Posts: 39
Joined: Sun Jul 31, 2011 1:16 pm

Re: EARWORMZ (experimentalgameplayproject entry)

Post by stripwax »

I'm interesting in finding out more about whether folks find this interesting or entertaining. I'm also interesting in what kind of scores people are getting. Did anyone beat a score of 45000 yet? The key to high scores is maximising your combos...
Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests