Home Run

Show off your games, demos and other (playable) creations.
benhumphreys
Prole
Posts: 31
Joined: Thu Sep 13, 2012 2:10 am

Home Run

Post by benhumphreys » Mon Dec 03, 2012 4:24 am

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

Image

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.

User avatar
Patalo
Prole
Posts: 41
Joined: Sun Apr 29, 2012 1:15 pm
Contact:

Re: Home Run

Post by Patalo » Mon Dec 03, 2012 7:51 am

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
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_

benhumphreys
Prole
Posts: 31
Joined: Thu Sep 13, 2012 2:10 am

Re: Home Run

Post by benhumphreys » Mon Dec 03, 2012 8:00 am

Oh, thanks! What OS and version of Löve are you running?

User avatar
Patalo
Prole
Posts: 41
Joined: Sun Apr 29, 2012 1:15 pm
Contact:

Re: Home Run

Post by Patalo » Mon Dec 03, 2012 8:20 am

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)
Current project : 3D fractal explorer DEFract ( viewtopic.php?t=9193)
Github : https://github.com/plule/ | Twitter : http://twitter.com/plule_

User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Home Run

Post by Larsii30 » Mon Dec 03, 2012 8:33 am

Same problem here with windows 7 64bit.

benhumphreys
Prole
Posts: 31
Joined: Thu Sep 13, 2012 2:10 am

Re: Home Run

Post by benhumphreys » Mon Dec 03, 2012 8:41 am

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?

User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: Home Run

Post by Roland_Yonaba » Mon Dec 03, 2012 10:15 am

What if you replace it with this:

Code: Select all

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

User avatar
shingo
Prole
Posts: 12
Joined: Tue Nov 22, 2011 2:55 am

Re: Home Run

Post by shingo » Mon Dec 03, 2012 1:17 pm

how to play this game, just alternately press left and right?

User avatar
frpnit
Prole
Posts: 21
Joined: Fri Oct 12, 2012 1:05 am
Location: Brazil
Contact:

Re: Home Run

Post by frpnit » Mon Dec 03, 2012 6:37 pm

Loved the art style :)
FRP
  • Graphic Designer
  • Hobbyst Programmer
[/color]

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

Re: Home Run

Post by Robin » Mon Dec 03, 2012 8:48 pm

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).
Help us help you: attach a .love.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests