What is the settings for full screen

Started by Mohamed Boubekri, Mar 19, 2021, 04:38 PM

Previous topic - Next topic

Mohamed Boubekri

I want to show an image for full screen how ?
sprite_logo = GUISprite( "image.png", VectorScreen( sX * 0.2375, sY * 0.26 ) );
sprite_logo.Size = VectorScreen(200,200);
sprite_logo.Alpha = 255;
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

Mohamed Boubekri

Solved.
sX <- GUI.GetScreenSize().X;
sY <- GUI.GetScreenSize().Y;

sprite_logo = GUISprite( "image.png", VectorScreen( 0, 0 ) );
sprite_logo.Size = VectorScreen(sX,sY);
sprite_logo.Alpha = 255;
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].