• Register
Post news RSS (#7 Dev Diary) Know your enemy

Introducing the first enemy of Elfscape: Ancestors. Explaining of their AI, gameplay videos, screenshots.

Posted by on

Know your enemy

Dev Diary 07

Do you know the famous quote: “ If you know the enemy and know yourself, you need not fear the result of a hundred battles.”?

Well, today we’ll show you one of the enemies in Elfscape: Ancestors - silverfish. The silverfish are fast, dangerous, merciless creatures. And as our main character has no weapon, you’ll just have to outrun them. Their AI is based on A* Pathfinding Project.

Example level - yellow circles indicate silverfish positions
Silverfish level

Each silverfish has its assigned area (there can be multiple silverfish assigned to one area). In our example level, there are three areas - red, green and blue. Each of them belongs to multiple silverfish. You can see the areas in this picture.

Three silverfish areas (yellow circles indicate silverfish positions)Silverfish areas

When you enter an area, silverfish assigned to that area will run after you, using the shortest path. When you exit the area, they will return back to their starting point. You can see it in this video.

And that's basically it - the first of enemies in Elfscape: Ancestors. The last video shows a gameplay of the example level - running for your life from silverfish included.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.