Page 1 of 2

Home Run

Posted: Mon Dec 03, 2012 4:24 am
by benhumphreys
Hey all,

For TIGSource's recent game jam, I made Home Run with a couple of friends. It's the first game I've made in Löve. It's still got a lot of bugs but I had a great time making it.

Image
59z7f.jpeg
59z7f.jpeg (304.87 KiB) Viewed 2253 times
About the game:
  • 4-player 2D button-mashing track-and-field game
  • 8 playable characters
  • 3 different power-up drinks. Then throw the can at someone's head
  • Laugh at your friends as they faceplant into the closing train doors
  • Obstacles to jump over and s*de under
  • Optional really stupid AI
  • USB controllers for Real Arcade Action
  • +100 puntastic station names
Downloads The source code might be interesting to some of you, although it's pretty messy. It's written using a heavily modified version of my Eros framework.

I made extensive use of a lot of Löve community libraries: Middleclass, HardonCollider, Beholder, Hump (Timer & Gamestate), Tween, Inspect, LovelySpriter and a few others. They really saved me a lot of time, so thanks to Kikito, vrld and others that made them :)

You can see some other details on the TIGSource forum post.

Re: Home Run

Posted: Mon Dec 03, 2012 7:51 am
by Patalo
Looks beautiful!

Got an error at launch though :

Code: Select all

Error: Syntax error: eros/helpers.lua:184: invalid escape sequence near '''
Faulty line :

Code: Select all

if string.find(file, '\.' .. extension .. '$') then

Re: Home Run

Posted: Mon Dec 03, 2012 8:00 am
by benhumphreys
Oh, thanks! What OS and version of Löve are you running?

Re: Home Run

Posted: Mon Dec 03, 2012 8:20 am
by Patalo
I'm on linux, 64 bits. (archlinux)
With love 0.8.0.

I hope that helps!

(I don't have the time right now, but I'll take a look tonight, if you haven't found the source. It's hard to debug when you can't reproduce the bug =D)

Re: Home Run

Posted: Mon Dec 03, 2012 8:33 am
by Larsii30
Same problem here with windows 7 64bit.

Re: Home Run

Posted: Mon Dec 03, 2012 8:41 am
by benhumphreys
Weird. My friend tried it on Windows 7 Home and I'm running OS X and it appears to work. Maybe the single-quotes should be "\."? I have Lua 5.2.1 installed, but that's separate from Löve right?

I escaped the period because I wanted to make sure it wasn't being interpreted as a regex "any character".

If you want to try the game, maybe the Windows .exe build works?

Re: Home Run

Posted: Mon Dec 03, 2012 10:15 am
by Roland_Yonaba
What if you replace it with this:

Code: Select all

if file:match('%.' ..extension..'$') then

Re: Home Run

Posted: Mon Dec 03, 2012 1:17 pm
by shingo
how to play this game, just alternately press left and right?

Re: Home Run

Posted: Mon Dec 03, 2012 6:37 pm
by frpnit
Loved the art style :)

Re: Home Run

Posted: Mon Dec 03, 2012 8:48 pm
by Robin
Nice game. Didn't figure it out the first time, and at the end it got weird and slow. The second time, all hell broke loose (it seems like more than one game was starting, with too much players and more than one instance of the music playing).