About apk performance?

Hello!

I’ve just starting playing with the Android for processing library: I’m quite excited about these new capabilities.

However, I have a few questions about performance.

I’ve done 2 tries:

  • Playing a simple animation (an ellipse moving from one side of the screen to the other)
  • Drawing a “tile map” from an array, using a nested for loop.

When I draw the tilemap, it significantly impacts my animation. I assume the nested for loops are extremely costly in terms of performance?
Even without drawing the tilemap, the animation is nowhere near as fluid as it should be.

For those of you that used Processing for Android, did you witnessed performance issues?

Ultimately, I’d love to use processing for Android to make simple android games. I’ve made a bunch already on PC, the latest being > https://www.youtube.com/watch?v=CwQcZTgMhH0

If anybody has experienced/researched the performance of Processing on Android, I’ll be thankful to get an idea of what to expect.

Since I’ve seen that animations could be a problem, particularly since I like to put my levels in arrays and for loops seem to be slow, I’ll be prototyping a game that doesn’t need to rely on fluid animations too much.

I’ll be “updating” a game I’ve done 2 years ago on arduino (and that I originally prototyped in Processing, then I collaborated with coders to port it in C++) > https://www.youtube.com/watch?v=p0Te3nRBXaI

Here is a video capture of what I have so far > https://www.youtube.com/watch?v=3190CBldcyU