So. A great number of top-down zombie-themed shooter already exist. Even I fail to see what's special in mine. But I wanted to code it anyway.
Controls:
WASD to move
1-2-3-4-5 to select weapon
z-x-c to select which powerup to get at levelup
0 if you just levelled up and you feel this game is easy
Here's a Github link and a .love file! Please tell me what you think about it (enemy spawn's unfair and might trap you, I know)
Last edited by Nixola on Wed Oct 21, 2015 8:48 pm, edited 2 times in total.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Error: cannot open player/levelup.lua: No such file or directory
stack traceback:
[C]: in function 'dofile'
player.lua:210: in function 'refresh'
player.lua:125: in function 'getExp'
enemies.lua:123: in function 'die'
enemies.lua:115: in function 'hit'
player/weapons.lua:126: in function 'shoot'
player/weapons.lua:51: in function 'update'
player.lua:59: in function 'update'
main.lua:23: in function 'update'
[string "boot.lua"]:442: in function <[string "boot.lua"]:413>
[C]: in function 'xpcall'
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
@Sosolol: Thanks, I'll try to go on with a project for once!
@I~=Spam: that happens when a zombie touches you? Are you sure? It would be even more weird, especially since the file is there
Also, are you using the .love file or playing the folder directly? What OS are you on?
EDIT: maybe giving a file called thing.love makes its identity way too general. I updated it (and the .love file) to set it an identity of its own, would you try it again?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
I have no idea what "dofile" does but it probably doesn't work inside love files. viewtopic.php?t=7891 might help out.
It really needs sounds (and maybe some music?) though
PS: you shouldn't put .love files in the git repo, you can use github's "releases" feature.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Nixola wrote:@I~=Spam: that happens when a zombie touches you? Are you sure? It would be even more weird, especially since the file is there
Also, are you using the .love file or playing the folder directly? What OS are you on?
Yes I am sure... Yes I was confused too. I tied both .love file and a folder copied directly from the github repository. I am on Linux.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
That issue should now be solved. Can you download the .love file from the link in the OP (or here if you're as lazy as me)?
@qubodup: I'll probably add music sooner or later, but I'm focusing on other things first (such as art, at least for the levelups)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
I've never seen that movie, so that's a nice coincidence!
Anyway, I now added a bunch of things (such as a magazine and reloading) and I've got my little brother to work on some kind of art (levelups icons for now)
EDIT (should I make a new post for this?) Reworked laser and sniper rifle (the former is continuous now, the latter pierces and hurst less with every pierce), added levelling up particle effect
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
I don't like bumping, but I did a little update 5 days ago! It's mainly bugfixes with a new small feature, changing weapons with the mousewheel.
I'd also like to get some levelup icons somewhere (wouldn't know where to search for them though) or ideas for other things to add
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics