Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Acepie authored Jun 7, 2024
1 parent 547d91b commit fa8be51
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@

A [gleam](https://gleam.run/) [rewrite](https://github.com/Acepie/GameAIBulletHell) of a bullet hell style game my friend and I made in college. The goal is mainly for myself to use gleam on a larger/more creative project. Uses [p5js bindings](https://github.com/Acepie/p5js_gleam) for running the project as a web game.

## How To Play

### Controls

- Use the arrow keys or WASD to move
- Press "space" to jump
- Press "shift" or hold down the mouse button to fire bullets
- Press "R" to restart

## Features

- Levels are procedurally generated
- Enemies use A\* to find their way toward the player
- Enemies avoid walls, pits, obstacles, and each other
- Enemies jump over pits when convenient and possible based on current velocity
- Enemy behaviors utilize behavior trees (patrolling until they spot the player, then chasing the player, and firing if within range)
- The player can jump over pits and enemies, but not over obstacles
- Pits instantly kill the player
- After getting hit, the player and enemies are briefly invulnerable to avoid continuous damage
- If the player kills all enemies in a room, they will be spawned in the next randomly-generated room

## Development

This project is using [esgleam](https://hexdocs.pm/esgleam/) for bundling the project into a web page.
Expand Down

0 comments on commit fa8be51

Please sign in to comment.