Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Gideros 2026.4 released — Gideros Forum

Gideros 2026.4 released

hgy29hgy29 Maintainer
Hi Giderians,

A new release of Gideros is available, mainly a bug fix one.
Here are the changes:

Improvements
[export/win32] Allow selecting console mode instead of outputing both binaries
[export/win32] Can now pack assets in a GApp file

Fixes
[styles] Fix styled width/height/insets in setLayoutXXX functions
[export/apple] Fix incorrect screen size on player reload

Download it from here: http://giderosmobile.com/download
Tagged:
+1 -1 (+7 / -0 )Share on Facebook

Comments

  • MoKaLuxMoKaLux Member
    edited April 3
    it is also worth noting for ios users:
    - update ios SKAdNetworkItems keys

    as suggested by (at)John😉.
    https://forum.gideros.rocks/discussion/8847/admob-skadnetwork-values-are-out-of-date

    Viva Gideros!
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • XmanXman Member
    I found iOS project exported from release 2025.9 in landscape will not display correctly when running from Xcode 26.4 yesterday.
    I will try this release to check that issue.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • XmanXman Member
    edited April 15
    It seems it's not possible to export iOS support both landscape left and right, it will not rotate. Is it the new iOS system changed something for orientation?
  • XmanXman Member
    edited April 15
    Another issue: the value return by application:getDeviceSafeArea(true) is not correct if orientation only support landscape left and right. that cause landscape game in iOS will not display correctly if position items depending on this value.
  • hgy29hgy29 Maintainer
    @Xman, yes recent iOS introduced the support of multi windows and thus broke the direct relation there used to be between the app window and the screen. I tried my best to replicate the old behavior, but I have to admit it looks like tweaks. I tested it extensively though, and I thought I had all cases covered.

    The project graphics settings have changed too, so before I dig further, can you double check you set 'Orientation' to 'Landscape' and 'Autorotation' to 'Normal and upside-down' ?

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • XmanXman Member
    edited May 31
    set 'Orientation' to 'Landscape Left
    and 'Autorotation' to 'Normal
  • hgy29hgy29 Maintainer
    Xman said:

    set 'Orientation' to 'Landscape Left
    and 'Autorotation' to 'Normal

    The autorotation settings are:
    - Normal orientation: allow only the orientation set in "Orientation" field (call it 0°).
    - Normal and upside-down: allow two orientations, 0° and 180°
    - All orientations: allow 0°,90°,180° and 270° rotations
    - OS Fixed orientation: let the system decide, this is only meaningful for android and maps to the "nosensor" orienation mode.

    So if you want both landscape right and left, you should use "Normal and upside down" in Autorotation.

  • XmanXman Member
    Take the demo project Bird Animation for test. when set autorotation to Normal and upside-down or All orientations, the content will not rotate.
  • XmanXman Member
    edited June 1
    And the value returned by application:getLogicalBounds() or application:getDeviceSafeArea(true) is not correct as before.
    project setting 640 * 960, letterbox landscape left Normal and upside-down, run on iPhone 12 max, the return value is
    0 -719.3599853515625 960 1359.3599853515625

    in portrait project it is correct
    0 -88.8888931274414 640 1048.888916015625

    Also application:getLogicalTranslateY() is not correct.
  • XmanXman Member
    edited June 1
    And it will not run in fullscreen even add launch.storyboard. Also the status bar always show.
  • hgy29hgy29 Maintainer
    @Xman,
    I think I found the issue about autorotation in iOS, I managed to reproduce the problem and I have a fix for it, meanwhile there is a workaround in lua whis is to call application:setOrientation(application:getDeviceOrientation()) after EVENT_RESIZE whenever getDeviceOrientation() returns a landscape orientation different from current orientation.

    For your logicalbounds/safe area issues, it looks to me like your iphone started the app in portrait and you called the functions before ios/gideros changed the device orientation to the correct one. You could try to wait delay your init code a bit or recompute things after an EVENT_RESIZE event, or try to enable only landscape orientations in Xcode project / General settings.

    To enable fullscreen, include the 'require' plugin and tick the appropriate box (Support non rectangular (notch) screen shapes).

    And for the status bar, there is an application:set("statusBar",nil) call you can try, but I will investigate too since it should have been hidden by default in fullscreen mode.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    Just made some more tests about safe display area, and it turns out iOS doesn't report correct values on app start, screen layout is done asynchronously. Best option is to listen for EVENT_RESIZE and get safe area insets there

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • XmanXman Member
    the full screen and status bar issues are fixed by including the 'require'.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • XmanXman Member
    edited June 2
    try to enable only landscape orientations in Xcode project / General settings.

    It's already set only landscape left and right yesterday and it return the wrong value.
    the values get after first event of resize is not correct.
    And the following resize event comes much later.
    It's hard to set ui correctly on start up.
    When rotate the device, a rotate animation will play and the content will be upside down.



    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • XmanXman Member
    edited June 2
    think I found the issue about autorotation in iOS, I managed to reproduce the problem and I have a fix for it, meanwhile there is a workaround in lua whis is to call application:setOrientation(application:getDeviceOrientation()) after EVENT_RESIZE whenever getDeviceOrientation() returns a landscape orientation different from current orientation.

    It will report several events resized and getDeviceOrientation return portrait until you rotate the device event if my exported iOS project only checked landscape. After you rotate the device, the workaround works.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.