nstgeorge / VEKTA

A space exploration game created in Processing 3 with orbital mechanics
MIT License
1 stars 1 forks source link

Fix performance issues on certain machines #59

Closed nstgeorge closed 3 years ago

nstgeorge commented 3 years ago

As of right now, my desktop is the only computer tested that's having significant performance issues. Here are my quick specs (even though I'll be the one working on this, might as well have it here for future reference):

Windows 10 Pro 2004 (Build 19041.450) Ryzen 5 3600 RTX 2060 16 GB DDR4 RAM

When the game starts, the frame rate rapidly drops from 60 fps to around 10-12 within seconds. The culprit appears to be hiding in the object drawing portion of the update loop.

nstgeorge commented 3 years ago

I've narrowed it down to something in the drawTrail function. Not quite sure yet what it is, I'll look into it more in the morning.

nstgeorge commented 3 years ago

This was a local issue, problem has been solved.