TBGE is a really badly coded game (sorry if that was harsh), causing some of those issues.
Note: I used my VERY ETHICAL
.HTML
to.WICK
exporter to analyse the project’s code.
Everything has a Update
method!
This makes EVERY SINGLE OBJECT do something regardless if:
- Something’s close
- Something eventful happened
- Etc.
This gigantic amount of code being ran every tick (1/45 of a second, 0.022222222222222223
seconds) causes input lag
This amount of code in each of the 25 clips being ran every tick in just the first level is bad.