I’m wondering if maybe I’m redrawing too much unnecessarily
@szymon_k: Here is the repo I’m working on https://github.com/dmh43/Pain-Tetris
The drawing functionality is in core.cljs and draw.cljs
Well this is embarrassing! I used chrome’s profiling tools, this issue has nothing to do with Quil :simple_smile:
But feel free to play my game and give me all kinds of feedback!
:simple_smile: 👍 where was the problem though? (out of curiosity)
One of my functions is doing a lot of unnecessary work, I haven’t had time to track down exactly what it is though
But I think somehow the calculation gets more and more expensive as more pieces are added to the game, which made me think it was an issue with how I was drawing the pieces