If you export a game for android, the android status bar and the control bar are still visible.
I know we discussed this problem in another issue https://github.com/4ian/GDevelop/pull/590 but it seems that it's only needed to add this to the cordova config file :
<preference name="Fullscreen" value="true"/>
Can we hope for a fix anytime soon ? The "false" fullscreen make the game canva resized/scaled down, and it created a lot of aliasing on texts.
It's true that as GDevelop is aimed at making games, going fullscreen makes sense.
(Here fullscreen means hiding the Android status bar)
The "false" fullscreen make the game canva resized/scaled down, and it created a lot of aliasing on texts.
What do you mean by false fullscreen? As far as I know the status bar is never hidden right?
Games build for android with Gdevelop always have a visible status bar, but 99% of the games on the playstore have hidden status bar.
Lil bub's Hello Earth for example is totally fullscreen, control and status bars are hidden when the game launch on android, wich is great on small screen devices, and basically what i report here : games builds with GD5 should act like lil BUB's does : hidden control bar, hidden status bar.
If the game is in landscape mode, it's really a pity on a smartphone under 5". Loosing few pixels on the top of the device make the canva also adapt on width, so even if you targeted a "native resolution" for a device, the game render is resized due to android control/status bars.
It's less problematic if the game is in portrait mode, but i guess most of the games (especially with controls, like platformers) are in landscape mode.
Another argument, for bigger screen devices on android and idfferent kind of game : i'm making a point'n'click adventure game right now, very "visual", and it runs perfectly smooth on tablets.. But control and status bar breaks the immersion according to my testers, and the same question comes again and again " why don't you hide these bars like all other game do ?".
Ok I'll take a look at this.
Might also use https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-statusbar/
Kink,
If you are using cordova and then Xcode to create your app, you might try a few of these solutions as mentioned on stack overflow. I’ve never hidden the status bar, but I’ve changed the background color to match my app. Anyway, just trying to help out. Here’s the link. I haven’t tried these various suggestions, but they sound appropriate and easy enough to implement:
https://stackoverflow.com/questions/12661031/how-to-hide-a-status-bar-in-ios https://stackoverflow.com/questions/12661031/how-to-hide-a-status-bar-in-ios
-R
On Nov 13, 2018, at 1:24 PM, Florian Rival notifications@github.com wrote:
Ok I'll take a look at this.
Might also use https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-statusbar/ https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-statusbar/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/4ian/GDevelop/issues/741#issuecomment-438442424, or mute the thread https://github.com/notifications/unsubscribe-auth/AkhlbuENcZlC_ya1A3bORS99Od_gPP2pks5uuziIgaJpZM4YafxM.
4ian, will you be able to update the one click export to enable fullscreen?
The changes will either be in the config.xml of the generated Cordova file and/or as a Cordova plugin (also in the Config.xml) used inside the game engine. In both case, the one click export will properly use it (it's part of the game source, no update to the build service). This will need to download the latest version of GDevelop though, as it will surely be an option in the properties of the game.
When might this be in the master so I could compile and test? 🤔
I don't know surely this week but not sure when. Note that you might do it yourself:
GDJS/Runtime/Cordova/config.xml<preference name="Fullscreen" value="true"/>node import-GDJS-Runtime.js in newIDE/app/scripts.This being said I'm not sure build service will work for development version as it might requires credentials to connect to the webservice.
Great news ! Thanks, this issue is mentionned really often last days on forum and discord.
Happy to wait for update dev seems to have build issues I never get with release 🤔
Fullscreen will be there in next version, done in 9fe379d073711ea7e342f17b8c2787e8dcfc3607 :)
Nice! when will the next version be released? :) Can't wait for it
Most helpful comment
Great news ! Thanks, this issue is mentionned really often last days on forum and discord.