Custom scenes for mobile devices

Hi, I would like to prepare two different scenes on my game: I make sure that if a touchscreen is detected the scene changes to “mobile_version” instead if it is a PC remains on “standard_scene”. I would like to ensure that the size of the scene is reduced to the mobile scene for the device on which it is executed. It can be done? If yes, how can I do?

Add a condition to detect is mobile
then when the button or text is pressed go to one or other scene, maybe check with some variable like Scene variable is_Mobile = False/True

So the events should look like


And the scenes

[Edit] Keep in mind the warning of “Is Mobile condition”

Example
https://games.gdevelop-app.com/game-77a33764-3a4c-4533-9df6-1092539397ef/index.html
Source: https://drive.google.com/file/d/15EE6E6h5M5OZHcyr48xkSfFwJG-kRynN/view?usp=sharing

1 Like