So for a little background, I've built a rudimentary movement, interaction, and inventory script for a 2D game I'm working on. For meme value, I decided to export it out as an executable for a friend to take a look at.
However, when testing the build, I realized I was moving in the build, I move very slowly. Interactions etc are still instant, and Nvidia says I have at least 1000 frames/s, so it definitely isn't hardware slowing it down. I optimized an Update function but even then there wasn't any improvement.
When I bumped up the movementSpeed variable on my unit, from 5 to 100, it seemed to work better, as in the speed at 100 on the build, matched the speed at 5 on the editor. However, it occasionally will glitch and my character will shoot across the map.
If you have any suggestions or need any thing in order to diagnose this I would be glad to help.
↧