Page 1 of 2

Nth Zombie Thing

Posted: Fri May 01, 2015 12:13 am
by Nixola
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)

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 1:01 am
by Sosolol261
Nice game :)

Spent about 20 mins playing this XD
Make sure to further develop this ok? Like ammo counter graphics etc.

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 2:55 am
by I~=Spam
Every time a zombie touches me I get this error :(

Code: Select all

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'

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 8:44 am
by Nixola
@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?

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 12:27 pm
by qubodup
The animations are really smooth! I also get the bug on Linux. I think it has to do with

Code: Select all

  local choices = dofile 'player/levelup.lua'
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.

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 3:29 pm
by I~=Spam
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. :P I tied both .love file and a folder copied directly from the github repository. I am on Linux.

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 3:44 pm
by Nixola
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)

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 5:49 pm
by I~=Spam
Yep that fixed it: :) I like the error that it makes when you die. "DED" :rofl: Reminds me of this movie. https://youtu.be/kqDH3wPoA9A?t=229.

Re: Nth Zombie Thing

Posted: Fri May 01, 2015 7:15 pm
by Nixola
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

Re: Nth Zombie Thing

Posted: Mon Aug 10, 2015 1:10 am
by Nixola
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