Thanks SamuGames ... for support !
I had to reformulate this code .... it was a little confusing and was not what I was looking for! as in the example above, in fact the player moves only in the X axis and Y axis ... the map that moves!
then to solve my problem, I removed the variables JoystickX and JoystickY ...
my code was as follows:
rem setWindowTittle this command, use only if you want !!
// SetWindowTitle ("Project 1")
SetWindowSize (800, 640, 0)
// Set Display properties
SetOrientationAllowed (1, 1, 1, 1)
AddVirtualJoystick (1,80,550,150)
LoadImage (1 "MySPRITE.png")
CreateSprite (1: 1)
SetSpriteSize (1, 50, -1)
SetVirtualResolution (800, 640)
of
SetSpritePosition (1 GetSpriteX (1) + (GetVirtualJoystickX (1) 5.0 *) GetSpriteY (1) + (GetVirtualJoystickY (1) * 5.0))
sync ()
loop
//endscript
PrintC("Hello EveryOne !&quot