Hi! I thought I'd show off my first LOVE project. I thought about what would happen if you took Space Invaders and mixed it with Breakout. This is what I came up with in around a week of work.
I'm really happy with Love. I also used the HUMP framework and cron.lua (though HUMP now has all the features of cron.lua so I'll be using that in the future).
I did all the artwork myself using a pixel editor. It was a fun little project. It may end up in a games cabinet my college's game dev club has set up, which is the main reason I made the high scores system.
Enjoy!
Last Defense--Retro space invaders/Breakout game
-
- Prole
- Posts: 3
- Joined: Sun Apr 01, 2012 5:08 pm
Last Defense--Retro space invaders/Breakout game
- Attachments
-
- LastDefense.love
- (311.38 KiB) Downloaded 402 times
Last edited by benny hill on Sun Apr 01, 2012 9:26 pm, edited 1 time in total.
Re: Last Defense--Retro space invaders/Breakout game
Very good mashup concept. I liked the artwork too. Also the need of protect the bases reminds me Missile Command. Good work.
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Last Defense--Retro space invaders/Breakout game
Am I doing something wrong?
Code: Select all
seppi@seppi7:~/Downloads/love$ love LastDefense.love
Error: [string "cron.lua"]:80: dt must be a positive number
stack traceback:
[C]: in function 'assert'
[string "cron.lua"]:80: in function 'update'
[string "main.lua"]:49: in function '?'
[string "hump/gamestate.lua"]:83: in function '?'
[string "hump/gamestate.lua"]:76: in function 'update'
[string "boot.lua"]:1: in function <[string "boot.lua"]:1>
[C]: in function 'xpcall'
AL lib: ALc.c:1818: alcCloseDevice(): deleting 1 Buffer(s)
seppi@seppi7:~/Downloads/love$ love-unstable LastDefense.love
Error: invader.lua:19: attempt to call method 'setSize' (a nil value)
stack traceback:
invader.lua:19: in main chunk
[C]: in function 'require'
main.lua:14: in main chunk
[C]: in function 'require'
[string "boot.lua"]:331: in function <[string "boot.lua"]:227>
[C]: in function 'xpcall'
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
-
- Prole
- Posts: 3
- Joined: Sun Apr 01, 2012 5:08 pm
Re: Last Defense--Retro space invaders/Breakout game
That never happened to me, but it looks like for some reason the update parameter is negative... This was only tested on 0.7.2 though, so maybe that's the problem?
Re: Last Defense--Retro space invaders/Breakout game
That only happens to me in 0.8.0 (with less error comment). All runs fine in my OSX 0.7.2 version.josefnpat wrote:Am I doing something wrong?Code: Select all
seppi@seppi7:~/Downloads/love$ love LastDefense.love Error: [string "cron.lua"]:80: dt must be a positive number stack traceback: [C]: in function 'assert' [string "cron.lua"]:80: in function 'update' [string "main.lua"]:49: in function '?' [string "hump/gamestate.lua"]:83: in function '?' [string "hump/gamestate.lua"]:76: in function 'update' [string "boot.lua"]:1: in function <[string "boot.lua"]:1> [C]: in function 'xpcall' AL lib: ALc.c:1818: alcCloseDevice(): deleting 1 Buffer(s) seppi@seppi7:~/Downloads/love$ love-unstable LastDefense.love Error: invader.lua:19: attempt to call method 'setSize' (a nil value) stack traceback: invader.lua:19: in main chunk [C]: in function 'require' main.lua:14: in main chunk [C]: in function 'require' [string "boot.lua"]:331: in function <[string "boot.lua"]:227> [C]: in function 'xpcall'
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Last Defense--Retro space invaders/Breakout game
Code: Select all
seppi@seppi7:~$ love --version
LOVE 0.7.2 (Game Slave)
seppi@seppi7:~$ love-unstable --version
LOVE 0.8.0 (Rubber Piggy)
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: Last Defense--Retro space invaders/Breakout game
for my part is it working.
Nice game mix It's fun to play, I think the bullets of the aliens could fly up faster after they hit the player.
Good work.
Nice game mix It's fun to play, I think the bullets of the aliens could fly up faster after they hit the player.
Good work.
Re: Last Defense--Retro space invaders/Breakout game
Why do EVERYONE ignore PO2_Syndrome T.T
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
-
- Prole
- Posts: 3
- Joined: Sun Apr 01, 2012 5:08 pm
Re: Last Defense--Retro space invaders/Breakout game
Haha, again, this is my first love game, so I didn't spend any time dealing with issues I personally didn't have. I'll be sure to worry about it for my next project.Nixola wrote:Why do EVERYONE ignore PO2_Syndrome T.T
Last edited by benny hill on Sun Apr 01, 2012 11:28 pm, edited 1 time in total.
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: Last Defense--Retro space invaders/Breakout game
I think I figured out your problem.
I am using an i7-920 and It started working a lot better when I was taxing my system with a lot of stuff in the background.
My system runs the love.update so fast, that it reads dt as zero.
To fix this issue, remove line 80 of cron.lua:
I am using an i7-920 and It started working a lot better when I was taxing my system with a lot of stuff in the background.
My system runs the love.update so fast, that it reads dt as zero.
To fix this issue, remove line 80 of cron.lua:
Code: Select all
-- assert(type(dt) == "number" and dt > 0, "dt must be a positive number")
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Who is online
Users browsing this forum: Google [Bot] and 8 guests