ZGEAndroid-debug is a bit slow
Moderator: Moderators
ZGEAndroid-debug is a bit slow
hi
i've noticed some lag (not big) , the animations isn't smooth like in windows , i posted because i've some games run super smooth on my phone .
could this be a lack of performance by free pascal ?
btw : my phone is galaxy S1 advance
thanks
i've noticed some lag (not big) , the animations isn't smooth like in windows , i posted because i've some games run super smooth on my phone .
could this be a lack of performance by free pascal ?
btw : my phone is galaxy S1 advance
thanks
Do you mean Android?
I was about to ask how to change the API Target, since ZGE (CMD) comes with the following error while trying to compile debug.apk
Also, using ZGE-debug.apk and zzdc.dat crashes with my project under Android 4.3.1
Here is my project:
I was about to ask how to change the API Target, since ZGE (CMD) comes with the following error while trying to compile debug.apk
Also, using ZGE-debug.apk and zzdc.dat crashes with my project under Android 4.3.1
Here is my project:
- Attachments
-
- zge.png (38.82 KiB) Viewed 12252 times
Last edited by jonaspm on Sat Dec 21, 2013 9:13 pm, edited 1 time in total.
Hi jonaspm, the reason for compilation error is probably that your Android SDK does not have Adroid 8 installed. Just open the Android SDK Manager.exe and install the Android 2.2 (API 8 ) SDK Platform. Then, you will be able to compile for android-8.
Regarding to performance: of course ARM processors are not as powerful as usual PCs and GPUs on your desktop/notebook machines. To create a well-performed game for Android requires usually certain tuning. Try to reduce amount of models and rendered objects, make optimal algorithms, use OpenGL features of GPU as much as possible, rather than computation in ZGE expressions, etc.
Regarding to performance: of course ARM processors are not as powerful as usual PCs and GPUs on your desktop/notebook machines. To create a well-performed game for Android requires usually certain tuning. Try to reduce amount of models and rendered objects, make optimal algorithms, use OpenGL features of GPU as much as possible, rather than computation in ZGE expressions, etc.
Sure jonaspm, you can do it in generated AndroidManifest.xml; <uses-sdk android:minSdkVersion="8" />. Just use another number and recompile ZGE application. However, it makes no sense if you generate only from ZGE. This version is a minimal version of Android API to support. Because ZGE generates for android-8, it works also for all higher versions. The difference would be if you used some external libraries which require higher API level.jonaspm wrote:I would like to change it to 10 or 14