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 Devlog
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
- Input System #11 day ago
- Character #13 days ago
- Main Lore #13 days ago
- Welcome Aboard!9 days ago
Leave a comment
Log in with itch.io to leave a comment.