Hello everybody!!
Here is the code:
// Project: ert
// Created: 2020-05-18
SetErrorMode(2)
SetWindowTitle( "ert" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
SetVirtualResolution( 1024, 768 ) // 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
fant=CreateSprite(LoadImage("qazd.jpg"))
SetSpritePosition (fant,0,0):DrawSprite (fant)
Do
// If Timer()>15 Then Exit
Sync()
Loop
End
It produces this error - see the appendix
This is due to the fact that in the path to the resources the folders are named in Russian letters.
How to fix this error?
Users launch my game and complain because Does the game give an error if their paths are written in Russian?
Is it possible to configure agk to work with paths in any language?
Who will tell you how to solve this problem?