What is the correct filepath for Android?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    In my game I am loading the levels which are arrays... For some reason it is failing to load the file, I think I'm using the wrong file path.

    This is the type of filepath I'm using in the expression editor at the moment:
    DataStorageDirectory$( "Android object" ) + "\levels\Pack1\Beginner"

    I have tried using "/" instead and also removing the "\" at the beginning of the path. For some reason, it just won't load! Any help would be appreciated guys.

    Best regards,
    Jacob

  • Hey guys,

    Just to update anyone I found the solution. The correct filepath is:
    DataStorageDirectory$( "Android object" ) + "/levels/Pack1/Beginner"

    HOWEVER

    You need to use the file object to create the directories (folders) at Start of Frame at least once...

    Start of Frame:
    - File Object -> Create the directory : DataStorageDirectory$( "Android object" ) + "/levels/Pack1"

    Hope this helped someone.

    Best regards,
    Jacob

    EDIT: "Beginner" is the name of the array file, it could have been "Beginner.arr" or anything

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!