ivanmunguia / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Stop animations when game paused #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When game is paused, some things still animate:
 - grass, trees
 - water

Original issue reported on code.google.com by scrawl...@gmail.com on 13 Nov 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Suggested solution:

- Do NOT use setNamedAutoConstant("time", ACT_TIME)
- every frame, use setNamedConstantFromTime("time", 1), but only if game isn't 
paused

Original comment by scrawl...@gmail.com on 14 Nov 2011 at 1:11

GoogleCodeExporter commented 9 years ago
I think it's cool that they do, maybe we shouldn't stop it. You can actually 
see wind when paused, when driving it's not easy.

Original comment by Cry...@gmail.com on 14 Nov 2011 at 6:21

GoogleCodeExporter commented 9 years ago
I think I agree with CryHam. Only reason I can see for disabling it would be to 
conserve resources in order to make menu more fluid should the user have 
cranked the settings too high, but I don't think the wind is that demanding. 
Also, the suggested solution wouldn't even help at this as it would still 
calculate everything in the shaders, just with constant time.

Original comment by tapiovie...@gmail.com on 14 Nov 2011 at 7:42

GoogleCodeExporter commented 9 years ago
So, I'm closing, it's not an issue, it's undesired feature.

Original comment by Cry...@gmail.com on 15 Nov 2011 at 5:57