Zombie Defender banner

Zombie Defender

32 devlogs
44h 37m 41s

A single player game where you can build your base and defend it through waves. It ends when you lose.

Demo Repository

Loading README...

joelmo

Shipped this project!

Hours: 44.63
Cookies: 🍪 1044
Multiplier: 23.39 cookies/hr

I created a single-player game where the user has to build a base and survive as many zombie hordes as possible (it has a tutorial).

joelmo

Creating the game banner and organizing the items in Figma:
Figma File

Attachment
0
joelmo

README added

Attachment
0
joelmo

Finished… the development of this game, I’m finally done.
What you can do: start the game, follow the tutorial and it will show you how to play, maybe I’ll release another update or two but that’s for later.

Since the last dev log I’ve been working on balancing and some minor fixes.

Attachment
0
joelmo

Day/night system, where zombies now only spawn at night after the gold mine is built.

Attachment
0
joelmo

A tutorial has been added to the game; now you might learn what needs to be done in the game.

Attachment
1

Comments

alarixfr
alarixfr about 2 months ago

thats from my fav game many years ago, cool

joelmo

Now we finally have a minimally functional gameplay. I finished configuring the sprites, now it doesn’t take 16 years to load, and I adjusted the sizes, I also made some necessary minor corrections.

1

Comments

regonold520
regonold520 about 2 months ago

I love how this looks so far, reminds me of those sick .io games from years ago, keep up the good work :D

joelmo

All the sprites have been successfully loaded (a lot of work, my friend). Now it’s time to fix the size (before, the image size was over 3,000 wide and 6,000 high).
In the image is the player after the change.

Attachment
0
joelmo

I had to remap the sprites because they were making the game too heavy, and I’m stuck on that part. Basically, I’ll have to readjust the entire game (because it used to be huge and now it’s small).

Attachment
0
joelmo

Multiplayer is very complicated… and I don’t to use AI, so… I tired (the way I started building the game didn’t help at all) and since it doesn’t make that much difference whether this game is multiplayer or not, I went back to single player.

You can test it at: https://joelmohh.github.io/zombie/

Attachment
0
joelmo

This is going to take a while, and there’s nothing to post every hour, so the next devlog will probably only come when I finish the multiplayer.

Attachment
0
joelmo

I’m still working on the room system, this is going to be a hell of a lot of work and I’m already tired.

Attachment
0
joelmo

Organizing the files and final testing, now on to the backend and multiplayer.

Attachment
0
joelmo

Finally, I managed to fix the building upgrade bug (it was turning completely black) and implemented custom sprites.
What’s left to do:

  • Health bars on buildings, zombies, etc.
  • Improved horde generation (will be controlled by the backend in the future)
  • Cost balancing
  • Backend
Attachment
0
joelmo

The sprites have been uploaded to VS Code, and now all that’s left is to make a few final adjustments before making the game multiplayer.

Attachment
0
joelmo

Sprites completed

Attachment
0
joelmo

Finishing up the sprites (still a lot to do)

Attachment
0
joelmo

I found another bug… It’s been three hours and I haven’t been able to fix it… I’ll make the sprites in Figma and then I’ll try to fix it again.

Attachment
0
joelmo

After another hour, I started building the levels of the buildings and weapons, finishing the economic systems.

Attachment
0
joelmo

Finally implemented a function where the user cannot build things on top of things, and a tower life system.

To do:

  • Remove placeholder sprites
  • Final adjustments and cost balancing (for building)
  • Backend
Attachment
0
joelmo

I spent almost 3 hours (more than 3 actually) trying to fix the building collisions, but after searching I’ve found simpler solutions and I’ll try them.

Attachment
0
joelmo

Exactly one hour later… This is tough, my first but not my last game. What was added? The gold miner animation (only? yes)

Attachment
0
joelmo

Improved defense system, introduction of building life, and introduction of resources.

Attachment
0
joelmo

Basic attack (very basic indeed lol) where the zombie looks for the nearest gold mine and the attack towers target the nearest zombie.

Attachment
0
joelmo

Another hour and a few minutes fixing bugs… What has been accomplished since the last devlog?

  • Added buildings, more than one type
  • Doors (allowing player passage)
    Note: there are still placeholders; the large gray squares will be defense towers.
Attachment
0
joelmo

It’s been almost two hours since the last devlog… who would have thought that preventing players from placing buildings on top of each other would be so difficult? (I still haven’t fixed it) but now it’s running smoothly.

Attachment
0
joelmo

Still working on the construction system… It’s lagging a lot.

Attachment
0
joelmo

Bug fixed and started to work on build system

Attachment
0
joelmo

A little less than an hour in and I found a bug (a horrible one that can’t be ignored), let’s fix it. But apart from that, all that’s left is to finish the menus (and the backend, obviously).

Attachment
0
joelmo

The transition of the Kaplay HUD to HTML and bug fixes are complete (that was a tough job).

Attachment
0
joelmo

Migrating the UI, which is proving very difficult to keep everything in a single file… It’s going to become HTML.

Attachment
0
joelmo

Another hour is over. What was implemented this time? The graphical interface, a simple inventory system, improved movement, and the start of an attack system.

Attachment
0
joelmo

First hour completed (almost) what was done?

  • Movement (complete)
  • Collisions
    Next steps:
  • Pseudo-random resource generation
  • Weapons (axe and sword)
Attachment
0