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 #232 days ago
- Characters #133 days ago
- WorldItem #139 days ago
- Animation Manager #249 days ago
- Animation Manager #150 days ago
- EnemyManager #259 days ago
- Collision #160 days ago
- Input System #162 days ago
- Character #164 days ago
Leave a comment
Log in with itch.io to leave a comment.