here an example of self push i tested at android. its maybe useful if you limited the your turn time.
SetWindowTitle( "Hello Push" )
SetWindowSize( 1000, 1000, 0 )
SetWindowAllowResize( 1 )
SetVirtualResolution( 100, 100 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 ) // since version 2.0.22 we can use nicer default fonts
Main()
End
Function Main()
button=1
AddVirtualButton(button,15,15,25)
SetVirtualButtonText(button,"Push")
do
if GetVirtualButtonPressed(button)
iID=1
datetime=GetUnixTime() + 60
szMessage$="Click Me"
SetLocalNotification( iID, datetime, szMessage$ )
MinimizeApp()
endif
Print("Hello Push")
Print( ScreenFPS() )
Sync()
loop
EndFunction
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.11.2) Radeon R7 265 : Mac mini OS High Sierra (10.13)