Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - MrPlow

Pages: [1] 2 3 ... 108
GLBasic - en / Re: How to check Vsync screen
« on: 2020-May-29 »
Same on both 506

GLBasic - en / Re: How to check Vsync screen
« on: 2020-May-29 »
506 Hz

Bug Reports / Re: Android Game Loop
« on: 2020-May-29 »
Having an FPS limit is also needed for mobile so that your app or game is not draining the device battery power.
If less fps then less computing power over time elapsed - isn't that how it works?

I don't want to put the fps too high for risk of the Android OS telling the user to "Uninstall" for power draining.

Bug Reports / Re: Android Game Loop
« on: 2020-May-28 »
Thanks so much! That solved my issue using vsync and fps of 90 did the trick - along with jigging my timer code :)

One other question - i omitted the appcompat:1.0.0 - and it didn't seem to affect anything but it does reduce build by 1mb so if not required - i would rather leave it out :)

Is there any practical reason for it?

Bug Reports / Re: Android Game Loop
« on: 2020-May-28 »
Thanks SF

Its a strange one alright - it could be a float thing - but I might try moving out the functions from within the type (using self.variables etc)
It could be that.

Generally the app works fine - just a small 1 sec slowdown every 5 or so.
It could be my device...Nexus 2 - old now only Android 6.0

I have to order myself a new test device :)

Bug Reports / Android Game Loop
« on: 2020-May-27 »
Hi Sf and Gernot

Not sure how much this is down to my testing device
But two versions of a similar game Ball Breaker game - one on older compile (using 12.308) and one using v16

They should play identical - but the v16 is showing some lag and twitchy ball movement.

I am testing multiple builds - tweaking as I go - but the issue is still there - something intermittant.

Bug Reports / Re: Android compile error
« on: 2020-May-23 »

Great stuff! At least that looks to be sorted. :)

Bug Reports / Re: Android compile error
« on: 2020-May-23 »
Admob error crash logcat

I cant be sure but looks like its related to

SDL main line 1503
        SDLGlbasic.nativeSetup(); //****GLBASIC****
        SDLActivity.nativeRunMain(library, function, arguments);

Bug Reports / Re: Android compile error
« on: 2020-May-22 »
Variable toggle?

do you mean

Code: (glbasic) [Select]
LOCAL backbutton%
backbutton = KEY(1)

if backbutton...

Bug Reports / Re: Android compile error
« on: 2020-May-22 »
I doubt it is the SDK version for Admob - as I was many years using very old SDKs without issue...

Bug Reports / Re: Android compile error
« on: 2020-May-22 »
I did the Javacall2$ fix already - i will try load and init the ads myself to see if I can fix.

Bug Reports / Re: Android compile error
« on: 2020-May-22 »
It was the GLB project folder name - the parent of the GLB code

Also, KEY(1) is not working for me now

Also ad show with javacall is crashing for me - is there something I need to add for new changes you made to interstitial ads to work?

Bug Reports / Re: Android compile error
« on: 2020-May-21 »
Okay, might have solved the problem for now...

Seems the Android build process does not like [spaces] in the parent project folder  =D

Bug Reports / Android compile error
« on: 2020-May-21 »
When compiling a new clean project
Build command failed.
Error while executing process C:\Android\android-sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\jni\ NDK_APPLICATION_MK=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\jni\ APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-23 NDK_OUT=C:/Users/Lenovo/Documents/GL_PROJECTS/GLBasic/NEWGAME/distribute/android_studio/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=C:\Users\Lenovo\Documents\GL_PROJECTS\GLBasic\NEWGAME\distribute\android_studio\app\build\intermediates\ndkBuild\release\lib APP_PLATFORM=android-18 APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}

usage: [GLOBAL_FLAGS] --module [MODULE_FLAGS] [--module [MODULE_FLAGS]...]
C:/Android/android-sdk/ndk-bundle/build//../build/core/ Android NDK: WARNING: There are no modules to build in this project!   
C:/Android/android-sdk/ndk-bundle/build//../build/core/ COLOR\distribute\android_studio\app\jni\ No such file or directory
make: *** No rule to make target 'COLOR\distribute\android_studio\app\jni\'.  Stop.

Okay thanks.

Also, just tried to build a new android project and the code is failing to compile...some error with or something...

Was there another GLB Android platform update this week or so?

Nevermind - got it working it was folder with spaces and dash in name that created the error

Pages: [1] 2 3 ... 108