Skip to content

Commit

Permalink
add enemy SOP
Browse files Browse the repository at this point in the history
  • Loading branch information
Lamby777 committed Aug 18, 2024
1 parent 23c8df9 commit 2d0807b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pets-lib/sop/enemies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Enemies

## Rust Types

// TODO

## Adding Enemies

- Add a new entry to the `EnemyID` enum in the GDExtension.
- Open the "Walking Enemy" scene and select the animated sprite.
- Add an idle animation and name it "xxx-Idle" where xxx is the ID of the enemy.
- Add another one named "xxx-Run" for the running animation.

### If adding the enemy into a room:

- Open the room scene and add a new Walking Enemy instance.
- Set its `enemy_id` field accordingly.
9 changes: 9 additions & 0 deletions pets-lib/sop/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Standard Operating Procedures

This set of markdown files is a collection of instructions for how to do basic
stuff done in development of the game. It's meant for both my future self and
also new contributors who are confused on where to start.

## Table of Contents

- [Enemies](enemies.md)

0 comments on commit 2d0807b

Please sign in to comment.