Recent posts

#71
GLBasic - en / Re: A HTML5/WebGL Journey
Last post by spacefractal - 2023-Sep-07
Just to been aware, you cant uses right click on a touch screen and currectly no way to detect it really. Im have tried, but its not a good one yet. So you should add a alternative to right click of course.
#72
GLBasic - en / Re: A HTML5/WebGL Journey
Last post by Qedo - 2023-Sep-06
Don't worry SF, perfect, tried and the right mouse works. Thank you :nw:
#73
GLBasic - en / Re: Android 13 Update
Last post by MrPlow - 2023-Sep-06
Hi Qedo,
Glad you liked it :D
It was done a good while ago...
but I am updating all my apps for better visibility in Playstore and to keep them running well...

My only issue is now getting the loadsound to load / sound files for android 7,8,9,10
#74
GLBasic - en / Re: A HTML5/WebGL Journey
Last post by spacefractal - 2023-Sep-05
not sure what its was happens. anyway the dropbox link is just updated to included the missing file. no idea why its was happens.

Sorry for that.
#75
GLBasic - en / Re: Android 13 Update
Last post by Qedo - 2023-Sep-05
tried it and it's very nice big, the only problem but maybe it's my problem is the management of the direction keys
Perhaps they are too far away and often have to look at the position of my finger in relation to theirs.I don't know.
I will continue to play it to practice. Well done :booze:
#76
GLBasic - en / Re: Android 13 Update
Last post by MrPlow - 2023-Sep-04
here is the app I recently updated - if you want to try it...

https://play.google.com/store/apps/details?id=com.gazzapper.classicarcade.spacegames
#77
GLBasic - en / Re: Android 13 Update
Last post by MrPlow - 2023-Sep-04
The nativelibs parts helped the app work from a Playstore install!!
#78
GLBasic - en / Re: Android 13 Update
Last post by MrPlow - 2023-Sep-04
Okay here are the changes I made

Androidmanifest.xml

if using admob
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />

then application changes

 <application
        android:isGame="true"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:allowBackup="true"
        android:hasFragileUserData="true"
        android:banner="@mipmap/banner"
        android:hardwareAccelerated="true"
        android:resizeableActivity="false"
        android:extractNativeLibs="true"
        >

then activity
 <activity android:name="SDLGlbasic"
            android:theme="@style/MyTheme"
            android:label="@string/app_name"
            android:screenOrientation="sensorPortrait"
            android:minAspectRatio="1.2"
            android:maxAspectRatio="2.4"
            android:exported="true"
            android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode">


//In app for using admob 19.4.0
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.2.0'
    // GLBASIC_USER_NOTE AdMob - implement dependency
     implementation 'com.google.android.gms:play-services-ads:19.4.0'
}

then in gradle.properties file

org.gradle.jvmargs=-Xmx1536m
android.bundle.enableUncompressedNativeLibs=false


#79
GLBasic - en / Re: Android 13 Update
Last post by MrPlow - 2023-Sep-04
Okay - new problem - not huge though... Android 7 - 10 are not finding/playing audio files
11,12,13 are... any ideas?
 
The getcurrdir command is finding "data/data/com.appname"  etc etc.
#80
GLBasic - en / Re: A HTML5/WebGL Journey
Last post by Qedo - 2023-Sep-04
Quote from: spacefractal on 2023-Feb-20to get right click working:
uses the new lib_glb_plus.js and replace the old one. that one does not needs any added changes to get it working, so you can uses MOUSESTATE with right click now (the posttool does that for you now).

SF where can I find the new lib_glb_plus?
Thanks