itch.io is community of indie game creators and players

Devlogs

Bats in the attic

Rexel
A browser game made in HTML5

I got freaking bats to work! I'm currently learning Unity and making a bat enemy type that could swarm the player was my latest challenge to myself.

I wanted the bat to have these properties:

  • Hang upside down from ceiling as initial state
  • "Wake up" and chase the player when the player gets within a certain radius
  • Start flying around in a large arc if the line of sight to the player is broken (so that the bat can navigate around obstacles)
  • Also fly in circles if the player goes outside of attack range (making the behavior seem more erratic as bats are swooping every which way)

Currently it's a pretty basic implementation, but I'm very happy with the results, especially as this is my very first game.

I'd love to hear what you think about the gameplay. I did aim to make it difficult yet enjoyable. Perhaps giving the player more lives or even infinite lives would help.

Game is playable in the browser here.

Anyways, I think I've done about as much as I want to for this particular game demo, and want to move on to bigger and better things. :)

Files

  • swarm-of-bats.mp4 6 MB
    Jan 25, 2022
Download Rexel
Leave a comment