Answer the question
In order to leave comments, you need to log in
How to make a game of man control and point-to-point movement?
Hello everyone, I have a very important question for me: how to make a game on the Unity engine
2d game to control little men, give them tasks and they perform them like games, for example:
Basement, Life is Hard and others.
For example, there are 2 residents, you click on one and click on any place and he goes there.
Answer the question
In order to leave comments, you need to log in
For example something like this.
The player on the map calls tasks. Dig, build, attack, etc. Tasks are saved in a list and sorted by priority, labor intensity, etc.
The bot, based on its coordinates and state (wounded, active, resting, eating, etc.), selects a certain number of tasks, by range, by priority, by "labor intensity", copies it to the stack, and starts to execute them. The route of movement can be used algorithm A *
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question