Menu

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.

Show posts Menu

Messages - MrPlow

#61
try remove that androidx dependancy - i dont use it at all?
i have it commented out...
#62
My output window shows:

NDK Resolution Outcome: Project settings: Gradle model version=5.1.1, NDK version=21.0.6113669
#63
also...
example of part of my app config...

android {
    compileSdkVersion 30
    defaultConfig {
        if (buildAsApplication) {
            // GLBASIC_USER_NOTE applicationId
            // Here, GLBasic will put your company and app name.
            // The string for the launcher icon is in
            // app/src/main/res/values/strings.xml
          //  applicationId "com.gazzappergames.centiplode.centipedeshooter"
            applicationId "com.gazzapper.pillarfight.shooter"
        }
        // GLBASIC_USER_NOTE versionCode, versionNumber, target SDK
        minSdkVersion 23
        targetSdkVersion 30

        // version to detect when installing. Must be incresed for each app-store build.
        versionCode 1

        // version as shown to the user
        versionName "1.01"

        externalNativeBuild {
            ndkBuild {
                arguments "APP_PLATFORM=android-23"
                abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
            }
        }
...
etc etc.


Remember to keep gradle 3.4.1
at least mine is still on 3.4.1
#64
API 31
Android SDK platform 31
Android SDK platform 30

been a while - but i managed to create apk just now

Make sure you asset icons are present for the res> folder

Create using AS - new asset options...
#65
I myself have this setup:

C:\Android\android-sdk

SDK 31.0.0
Android platform tools 29.0.6
SDK Tools 26.1.1

Says I dont have NDK installed - but not 100%
#66
Is this a new error - have you managed to create apk already before now?

#67
Thanks guys,

I'll try some of these suggestions - and will share my final solution...
it wont be earth-shattering or anything...just suitable to save data from TYPES and load data back into into TYPES.


#68
Another approach could be to save entire variable memory data?
Is that possible?

As game saving states is hard to implement for GLB - I think.
#69
Thanks - for it to work well, it would be great to save the data in a fixed structure to have assurance that the order is kept.

I am think mostly of the large arrays created as TYPEs...

With Each type object array, each item under the type would be saved so that the key/name of the item was known and could be easily verified when reloaded?

Perhaps if a fixed index of the items for the arrays is obtainable - that might work?

I will look into the dgb() thing too - I am unfamiliar with that right now...

#70
Hi All,

Been a while - I need to get back into my coding...
I am looking for a way to SAVE a TYPEs with all the entities etc.

Is there a handy way to do this or do I have to custom save for each specific TYPE, etc.

E,g,
TYPE
a%=5
b%=8
name$="Hans"
ENDTTYPE


So a method to iterate through the TYPE and save in format and load back?

I expect someone else might have cracked this before?

Any ideas?
#71
Wow - super job!

Really nice!
#72
Good idea!!
#73
Yes, that could be it too....for a new build I assumed this was just PNG image was not allowed on the Playstore listing...

The other Android Studio icon fix is easy - just do a New Image Asset on the side project bar...
#74
Wow, sorry I only seen this now...just to let you know - this did not get recognised as a png by my software...