Hey all!
I recently coded a game on Processing Android. It is riddled with animated objects and arraylists of them. It seems to run smoothly on my Samsung Galaxy J3, but when ran on an old Samsung tablet, the game crashes. I have narrowed down the reason to all the arraylists - if I set them to only 2-3 objects each, it is still laggy, but it doesn't crash. If I add more, it crashes after a few seconds.
I am using a P2D render for all of the game. Could that be an issue? Do I need a JAVA2D render for the calculations?