Why is my fps broken | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Why is my fps broken

I was working on adding a second level (I know I did it the worst way possible) but then my fps started being weird. https://code.sololearn.com/Wh1cDbY7MU3n/?ref=app

18th Sep 2022, 4:57 AM
chase warren
1 ответ
+ 2
check line 103 and 167 ... you have ran two levels at the same time ... so 100 fps is actually 50 fps because you're rendering twice ...
18th Sep 2022, 6:34 AM
Prashanth Kumar
Prashanth Kumar - avatar