Page 1 of 1
[0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 9:09 am
by Dysoch
After using game.speed=1000 and you either die or go to menu, the entire game is 1000x faster. Even in map editor, when you move the camera, it goes super fast (easily 1000 coords per key pressed)(does this with all speeds)
I think it should be auto returned to normal after going back to screen or after you die.
And i think the console should be accessable in the map-editor.
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 11:30 am
by ficolas
I dont think you are suposed to run the game so fast if you dont have a nasa computer...
Even in 5x my game haves some problems (fps)
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 12:07 pm
by Dysoch
ficolas wrote:I dont think you are suposed to run the game so fast if you dont have a nasa computer...
Even in 5x my game haves some problems (fps)
Got an pretty good machine, can run 1000 gamespeed without lag, i use it for testing the events.
But only it stays on, even after you go to main menu or die. Then it should be auto-reverted to 1.
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 12:16 pm
by ficolas
You can allways set it by yourself in the lua code.
For example:
Code: Select all
if initiation==nil then
game.speed=1
initiation=true
end
And do you know that 1000x is 16'6 minutes per second? Or 60000 game ticks per second! Thats sooo much.
Also if you are doing it in a world with some pollution creepers will attack and u will die. (that may be the cause of deaths)
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 12:31 pm
by Dysoch
I know its 16 minutes per second. I am used that for testing the breakdown events. It caused alot of death (but it was a test after all)
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 12:32 pm
by ficolas
Just wondering... what are your pc specs?
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 1:04 pm
by kovarex
It heavily depends on the script and map, I believe, that on small map with just few entities with simple script, the 1000 speed can be possible.
Re: [0.7.5]game.speed bug
Posted: Sun Nov 10, 2013 1:20 pm
by Dysoch
ficolas wrote:Just wondering... what are your pc specs?
Amd fx 8-core processor,
32 gb 2300 hz ram,
3 gb geforce nvidia dd5
I know, its a beast
Re: [0.7.5]game.speed bug
Posted: Tue Dec 03, 2013 1:51 pm
by kovarex
The timer is now reset to default when you exit the game, so the speed of the map editor will not be affected by the speed of game played for the last time, so I move this to fixed for the next release.