Fork me on GitHub
#quil
<
2016-04-27
>
dmh4307:04:13

I’m wondering if maybe I’m redrawing too much unnecessarily

dmh4307:04:54

The drawing functionality is in core.cljs and draw.cljs

dmh4308:04:55

Well this is embarrassing! I used chrome’s profiling tools, this issue has nothing to do with Quil simple_smile

dmh4308:04:13

But feel free to play my game and give me all kinds of feedback!

szymon_k11:04:26

simple_smile 👍 where was the problem though? (out of curiosity)

dmh4317:04:53

One of my functions is doing a lot of unnecessary work, I haven’t had time to track down exactly what it is though

dmh4317:04:27

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