Reduce tick rate and TPS to 20 for improved performance and consistency; update cache-busting version for client assets.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m51s
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
func main() {
|
||||
ebiten.SetWindowSize(ScreenWidth, ScreenHeight)
|
||||
ebiten.SetWindowTitle("Escape From Teacher")
|
||||
ebiten.SetTPS(60)
|
||||
ebiten.SetTPS(20)
|
||||
ebiten.SetVsyncEnabled(true)
|
||||
if err := ebiten.RunGame(NewGame()); err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user