Writing code for multi-platform

i tried all combinations… lol

GetFolderItem is deprecated, is that available on iOS?

SpecialFolder.Resources according to the documentation is only available for Android:

Mobile

Mobile has these properties:
    ApplicationSupport
    Caches
    Documents
    ExternalStorage (This property is supported for Android only.)
    Resources (This property is supported for Android only.)
    Temporary

how / where to access my resources?

Because implicit instance doesn’t exist on iOS.
You need a reference to your mobile screen, not just it’s name.

ah… ok… i’ll try

Var myGame As wdwGame
myGame.myCanvas.Refresh

I don’t create iOS apps but found this on the forum:
https://forum.xojo.com/t/static-reference-to-instance-method-again/81277/3

HTH :grin:

helped! thanks!

You need to create an instance of the window wdwGame in App then:

App.wdwGame = New wdwGame
App.wdwGame.phasePauseTimer.Period = 1000 ' 1 segundo
App.wdwGame.phasePauseTimer.RunMode = Timer.RunModes.Multiple