EnemyManager #1


First Enemy on screen!
Today I had the goal of putting a small enemy on the map and starting to make him go back and forth, nothing complex. To do this I created a rudimentary EnemyManager responsible for making the enemy move.
Once this step was finished, I set the PhysicsLayer of the TileSet to manipulate each tile individually with the collision shape I wanted. So I set some borders to prevent the sprites from passing through the area.
The next step was to make sure that the Player and Enemy don’t pass through each other but that the sprites don’t get in each other’s way either.
To obtain this result it is necessary to set both a CollisionLayer and a CollisionMask for each of the components (Player and Enemy) and set them appropriately in the properties.
Eternal Light
My journey into pixel art & indie RPG gamedev – one step at a time.
| Status | In development |
| Category | Other |
| Author | DeusDev |
| Genre | Role Playing |
| Tags | devlog, Godot, Indie, Pixel Art, work-in-progress |
| Languages | English |
| Accessibility | Subtitles |
More posts
- Character #2Oct 20, 2025
- Characters #1Oct 19, 2025
- WorldItem #1Oct 13, 2025
- Animation Manager #2Oct 03, 2025
- Animation Manager #1Oct 02, 2025
- EnemyManager #2Sep 23, 2025
- Collision #1Sep 22, 2025
- Input System #1Sep 20, 2025
- Character #1Sep 18, 2025
Leave a comment
Log in with itch.io to leave a comment.