Closed W84Soft closed 8 months ago
Thanks for the info , the interesting thing is I'm currently working on the next major update which aim's to improve the performance similar to the browser or better 🤞🏽 😁 🤞🏽
This has been resolved, please upgrade to the v2 beta
Hi, I'm new in NativeScript, I'm trying to port my 2d game engine to NativeScript Android app and I have some issues with performance. When I tried to add text with fps counter, my canvas is jumping between old draw and new draw (link with video down below). I tried older version nativescript/canvas and I saw that the performance is better, but when I minimize and open app my canvas is speeding up. My loop code looks like this, I have fps limiter maybe that's the problem, but in browser works very fine.
https://drive.google.com/file/d/16EXsUSlQ_3j7eNdx8JaW7ydjO2_L1awu/view?usp=sharing
Tested on version: 1.0.0 and 1.0.0-alpha.13 Android: 9 lineageos 16.0 on Xiaomi Redmi 4X 3/32gb @nativescript/core: 8.2.0 @nativescript/android: 8.2.2
EDIT: From version 1.0.0-alpha.18 function .fillText slowing down my app and from version 1.0.0-alpha.17 and down: after clicking back button and reopen couple of times, my app speeding up.