itch.io is community of indie game creators and players

Devlogs

Speed to Fast

UFO Unity
A browser game made in HTML5

I tried compiling the game and it worked but the problem I encounter was the game ran too fast.

Check out the YouTube for the speed.

This issue can be fixed thanks to anold post from 2013 on the Unity3d Answer Forums

https://answers.unity.com/questions/587571/standalone-builds-run-very-fast-on-so...

This has to do with the small piece of code where its updating everyframe instead of 1 frame per second.

The remedy is to update the it to Time Flow Update rather than Frame Update. This is what I roughly get though I am not hardware code guy.

You can move the code to FixedFrameUpdate() or use Time.DeltaTime in codes

After applying the codes the game runs somotly now. (Jump to 2:00 for the livestream)



Leave a comment