- game.speed = 0 can't let us accessing the console or the pause menu
- game.speed = -1 (or any negative value) cause this error with crash :
It should only cause an error and ignore the variable definition.
Code: Select all
factorio: src/timernu.c:312: al_set_timer_speed: Assertion `new_speed_secs > 0' failed.
game.speed is inconsistant
- y.petremann
- Filter Inserter
- Posts: 410
- Joined: Mon Mar 17, 2014 4:24 pm
- Contact:
game.speed is inconsistant
Re: game.speed is inconsistant
I wouldn't call it inconsistent so much as that it lacks checks for valid input...
Re: game.speed is inconsistant
The behavior at game.speed=0 is annoying. The UI actually slows down at lower game speeds (try using the menus at game.speed=0.1), which is equally annoying.
Re: game.speed is inconsistant
It's just logical, the events are worked every tick. If you have only one tick per second... And for pausing the game is an own mode.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
- y.petremann
- Filter Inserter
- Posts: 410
- Joined: Mon Mar 17, 2014 4:24 pm
- Contact:
Re: game.speed is inconsistant
The aim was not to pause the game, but I was trying thing for a turn based gameplay with sandbox like controls with two phase:
- Planning phase : you can collect/put resources from/to any structure and you can build everything you want with the resources that have been produced during the last turn.
- Production phase : You can only watch things doing their jobs, the time is very fast.
Re: game.speed is inconsistant
Look how it is done in the thight-spot campaign?! (scenario-packs)
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: game.speed is inconsistant
Hello, replays itself will not allow going back in time. (Entropy)
Going back one turn can be solved the same way it is in the tight spot, by inner saves (the save can have other save saved inside).
The 0 speed while having controls and UI working is something we should provide for sure, but not in 0.9.x (0.10 probably).
P.S. The turn-based mode seems to be interesting idea, something like tight spot with more than one turn.
Going back one turn can be solved the same way it is in the tight spot, by inner saves (the save can have other save saved inside).
The 0 speed while having controls and UI working is something we should provide for sure, but not in 0.9.x (0.10 probably).
P.S. The turn-based mode seems to be interesting idea, something like tight spot with more than one turn.
Re: game.speed is inconsistant
Limited the input to be higher than 0.1 for now.