Nth Zombie Thing

Show off your games, demos and other (playable) creations.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Nth Zombie Thing

Post 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)
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
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Re: Nth Zombie Thing

Post by Sosolol261 »

Nice game :)

Spent about 20 mins playing this XD
Make sure to further develop this ok? Like ammo counter graphics etc.
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Nth Zombie Thing

Post 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'
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Nth Zombie Thing

Post 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?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Nth Zombie Thing

Post 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.
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)
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Nth Zombie Thing

Post 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.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Nth Zombie Thing

Post 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)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
I~=Spam
Party member
Posts: 206
Joined: Fri Dec 14, 2012 11:59 pm

Re: Nth Zombie Thing

Post 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.
My Tox ID: 0F1FB9170B94694A90FBCF6C4DDBDB9F58A9E4CDD0B4267E50BF9CDD62A0F947E376C5482610
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Nth Zombie Thing

Post 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
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Nth Zombie Thing

Post 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
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Post Reply

Who is online

Users browsing this forum: No registered users and 65 guests