Answer the question
In order to leave comments, you need to log in
What is the best division of responsibility?
Good day. Such a situation: there is a certain device in the game that can consume some power and a generator that can produce it. The consumption level can vary from min to max and 0 (off), there is control from the GUI, for example.
The device received a command to operate at 20 MW, and only 15 MW is available from the generator. There are two options:
Answer the question
In order to leave comments, you need to log in
Depends on the type of game. If this is an economic strategy, with an emphasis on resource management AND electricity is one of the resources taken into account, then you always need to give the user a choice of how to dispose of them, no automation. If the amount of electricity is not taken into account, you can arrange full automation so that the device itself manages it. As an example, the game PlanetBase - you need to support a colony on an alien planet and build, among other things, electric generators and electric storage. The user can turn off consumers, and that's all he can do - if there is not enough electricity, then the connected consumers are immediately de-energized, and when the generators resume operation, all connected consumers automatically begin to suck energy from the batteries. Done like this
If a "compromise" is acceptable, then the 2nd option, if not, then the 1st. In general, it depends on the task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question