We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm tying to create a HUD for a game, and as part of that, I would like to have arcs representing shields, armor etc. However when I attempt to use arc(), the frame rate drops to around 10, but when I disable them, I get around 35. Has anyone else experienced this or found a fix? I've thought about using curves, but they seem to be a lot of trouble and would make the coding much more complex as they are not meant to be circular sections like arcs. Any suggestions or help would be greatly appreciated! --My phone is running Marshmallow 6.0.1 and I'm using Processing 3.1.1--
Answers
Take a look at this discussion:
https://github.com/processing/processing-android/issues/203
in particular this comment:
https://github.com/processing/processing-android/issues/203#issuecomment-205814558
Thank you! I guess I'll still use the PGraphics then copy over the empty part of the bar from off screen, so that it doesn't have to continually draw the arcs.