QuirkyCort / gears

Generic Educational Robotics Simulator
Other
65 stars 41 forks source link

Tip to improve FPS and bug Timer #86

Closed ikes-9521 closed 3 years ago

ikes-9521 commented 3 years ago

Hi,

I found out that zooming in all the way on the blocks and moving them out of view, improves the FPS. Consequently zooming out all the way decreases the FPS. Maybe a tip for people experiencing low FPS.

When I set the timer to something like 1:00 and to stop the timer and robots, when it reaches 0:59 it becomes red, but does not show 1:00. Then Gears freezes and I can't reset or move the view-port. The only thing still working is the blocks tab.

QuirkyCort commented 3 years ago

Thanks. I've never noticed the first issue before, but I've tested and confirmed the behavior. I've made some changes to stop rendering of the blockly panel and python panel when they are switched away. From my test, this solves the performance issue and the zooming out trick is no longer needed.

I've also fixed the timer issue.