## Carpal Tunnel Revolution!

Show off your games, demos and other (playable) creations.
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Carpal Tunnel Revolution!

Yay, I got somewhere, but I keep pressing the wrong keys...

EDIT:
Mode: Easy
Score: 1672597

Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

### Re: Carpal Tunnel Revolution!

bartbes wrote:Yay, I got somewhere, but I keep pressing the wrong keys...
Just press them all... works for me

napco
Party member
Posts: 129
Joined: Fri Jun 12, 2009 9:28 pm
Location: Ital... ehm...

### Re: Carpal Tunnel Revolution!

Very nice game, but i still prefer DDR With feet, you know...

F687/s
Prole
Posts: 15
Joined: Wed May 20, 2009 8:29 pm
Location: Blowin' Green, O'Hi-o
Contact:

### Re: Carpal Tunnel Revolution!

Very nice game, but i still prefer DDR With feet, you know...
Hey, there's no rule that says you CAN'T play with your feet... ;-)

bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

### Re: Carpal Tunnel Revolution!

I might be the only player, but I request more songs, I love the game, this might be the first ever LÖVE game (that I didn't develop) which I played for more than 2 days.

F687/s
Prole
Posts: 15
Joined: Wed May 20, 2009 8:29 pm
Location: Blowin' Green, O'Hi-o
Contact:

### Re: Carpal Tunnel Revolution!

(Yay!)

Well, I'd be happy to make another song or two given the demand, but I'm not sure what to make...But I have a suggestion: why not make your own songs? It's totally Fun And Easy®!

The first step (as you can see if you crack open the .love file) is to add your song in a folder, drop in a random background image, add the song, create an empty .tp file, and register it in index.txt (because I'm too lazy to find out how to scan a directory ;-). Like this!

Code: Select all

name = Don't Stop (2007 mix)
artist = Dj Slow
arr = F687/s
music = Don't Stop/dontstop.ogg
chart = Don't Stop/dontstop.tp
bg = Don't Stop/dontstop.jpg
%
Also don't forget to add that last % sign, it flushes the buffer. Next up, the .tp file itself. It's pretty easy to parse, a !number header starts the chart for that difficulty, a . means there's no step, anything else means there is. The parser does care somewhat about whitespace (like, that it exists between steps), but it doesn't care how much. And each line corresponds to 1/16 (meaning 4 in a beat, 16 in a measure). I chopped mine up into 16 so I wouldn't get snagged on an offset error, and I even made a nice Perl script that checks it for you!

And you're done! The hard part is just writing all the notes, testing them, and matching the BPM.

Of course, that's if you want to make your own songs. I have one other one that I used for testing, but I left it out because the notes inexplicably aren't lined up with the beat, but they register just fine. It's even in the index.txt file, but commented out. And hopefully, I'll have something else playable before the end of the weekend. (probably something from DuckTales or similar, but hey, you asked... ;-)

bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

### Re: Carpal Tunnel Revolution!

F687/s wrote:(probably something from DuckTales or similar
MOON THEME!
plz

napco
Party member
Posts: 129
Joined: Fri Jun 12, 2009 9:28 pm
Location: Ital... ehm...

### Re: Carpal Tunnel Revolution!

Anyway, to scan a directory you can use:

Code: Select all

for index, filename in ipairs(love.filesystem.enumerate(path)) do
end

F687/s
Prole
Posts: 15
Joined: Wed May 20, 2009 8:29 pm
Location: Blowin' Green, O'Hi-o
Contact:

### Re: Carpal Tunnel Revolution!

Whoops, wrong weekend...

Anyway, I am proud to present...NEW SONGS!! (sorta). Well, two new songs (one that I already posted and then fixed), and I placed both Moon Theme and Red Zone in there (beatmatched and ready to go!), got 1/3 of the way through the Red Zone chart, lost willpower, fixed up some stuff, added more shiny and groovy, and the result is here!