Difference between revisions of "RegisterForUpdateGameTime - Form"

→‎Notes: added note
imported>Fg109
imported>Fg109
(→‎Notes: added note)
Line 33: Line 33:
</source>
</source>
Then you should use [[RegisterForSingleUpdateGameTime - Form|RegisterForSingleUpdateGameTime]] instead
Then you should use [[RegisterForSingleUpdateGameTime - Form|RegisterForSingleUpdateGameTime]] instead
*Using this function could cause your game to freeze under any of the following conditions:
**afInterval is less than some number between 0.0244 and 0.0238. (1.0 / 41.0 and 1.0 / 42.0)
**afInterval is expressed as X / Y where X and Y are both integers (no decimal points) and evaluate to less than 1.


== See Also ==
== See Also ==
Anonymous user