Save the Zombies
Posted: Tue Jan 29, 2019 12:17 pm
Hi everyone!
I started playing around with Lua recently. This is what I came up so far.
It has the same mechanics of space invaders more or less. You are a Zombie, stop the heroes from reaching your outpost and kill all the zombies.
Keys:
- Arrow keys to move
- S to spit
- D to launch a spit bomb
- P to pause
How you die:
- if an enemy touches you
- if your LP go to 0 (enemies passing the border deal 10 dmgs)
There is for now just one bonus (extra spit bomb) that randomly appears after 50 kills. I plan on adding some for lower recoil and faster movement.
It is playable, although I would like to improve some stuff.
I used free sprites for this project, only the particles were "drawn" by me.
I am not from a CS background but I have been programming for a year now, so some things like creating and managing classes is still kind of difficult to grasp at times.
What I would like to improve:
- Single animations for hits and other events ( I apparently can't figure out how to make something appear and disappear after only one animation cicle)
- Improve the collisions, as of now the checkcoll.lua is a huge messy function.
Hope you like it and I'm looking forward to some feedback.
I started playing around with Lua recently. This is what I came up so far.
It has the same mechanics of space invaders more or less. You are a Zombie, stop the heroes from reaching your outpost and kill all the zombies.
Keys:
- Arrow keys to move
- S to spit
- D to launch a spit bomb
- P to pause
How you die:
- if an enemy touches you
- if your LP go to 0 (enemies passing the border deal 10 dmgs)
There is for now just one bonus (extra spit bomb) that randomly appears after 50 kills. I plan on adding some for lower recoil and faster movement.
It is playable, although I would like to improve some stuff.
I used free sprites for this project, only the particles were "drawn" by me.
I am not from a CS background but I have been programming for a year now, so some things like creating and managing classes is still kind of difficult to grasp at times.
What I would like to improve:
- Single animations for hits and other events ( I apparently can't figure out how to make something appear and disappear after only one animation cicle)
- Improve the collisions, as of now the checkcoll.lua is a huge messy function.
Hope you like it and I'm looking forward to some feedback.