My processing is too slow.

edited December 2013 in Programming Questions

I import and load images and play it. But it is too slow. I make mouse interaction, but it reacts too slow. How can I upgrade processing reaction speed?

Answers

  • Broadly speaking, do less stuff in draw(). Without seeing your code it's hard to give specific advice, but make sure anything that only needs to happens once (e.g. loading images or other assets) happens in setup().

    If you can post some code we can try and look at specific issues.

Sign In or Register to comment.