A few ideas I have come up with that can vary between difficulty levels are:
- The number of enemies
- The speed of the enemies
- The sight range and vision of the enemies
- The damage dealt by each enemy
These points can all be tweaked in the game code to change how easy or hard a level is to play. As with the other games I am currently working on, it will be imperative to play test each difficulty level to find the right balance of the above points.
As stated in previous posts on this blog, I have already figured out how to code the line of sight, vision, player detection and enemy movement. The part I am now focusing on is laying out paths on the levels so that the AI finds routes around objects, rather than just floating through them.
Unfortunately, after numerous hours of research and tutorials, it seems apparent that this will require a complex piece of coding to achieve. The program that is being used for this project does not support the navigation routes that we require. Because of this, I am setting out more time for this part of the project to allow me to learn it. I have already begun and have looked at online tutorials and visited numerous forums and blogs that give different examples.
The difficult part here will be to adapt what I am learning to our game. I am however already making progress with this and I believe it is a good thing that I am being forced into learning yet another new skill on this module.
The outline for the this coming week will be to set aside a lot of time to improve my knowledge in this area and to try and get some of the enemy navigation sorted.
Written by Phil
No comments:
Post a Comment