I’m trying to figure out why the Frames Per Second drops from 40 to 20ish as soon as I begin to use the touch device on my android tablet…I’ve been researching any workarounds, and from another thread, I noticed a quote:
PlayCanvas touch implementation seems to trigger garbage collection quite frequently
Just wondering if there is possible solutions/optimizations to this touch problem.
I’m getting a very odd display with lots of simple rectangular boxes in addition to the characters. I can drag on translucent white box in the lower left, and that controls the movement of bearded character with a sword. When I do this, the fps stays at about 60 fps. I have a relatively low powered Moto G5+ that I’m trying this on. On an older Lenovo tablet I never get to 12 fps, so can’t test the drag on that device.
BTW, on our little snowglobe app I found that dragging actually tended to improve frame rate on marginal devices (my Moto G5+). This is probably because the biggest drain on resources is the physics simulation of the snowflakes.
As of now I have added the gamePad add-on in the settings and am using the buttons of my iPega controller that is attached via bluetooth. This is why you couldn’t see the joystick controlling on the screen as wturber clearly explained on this thread because after adding the gamePad I have disabled the 2d Screen that contains the joystick image. When I do this, the frame rate doesn’t get affected because I’m using another hardware for input into the game…for now that is a quick fix to my real world problem
Please don’t close this thread because I will still want to fix this issue without the gamePad