Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Gideros 2023.4 Released — Gideros Forum

Gideros 2023.4 Released

hgy29hgy29 Maintainer
edited May 2023 in Announcements
Another release of Gideros is ready. This is mostly a bug fix release, no big changes but a few improvements:

Improvements

[core/gfx] Provision for MSAA in OpenGL
[export/html5] Handle get/set screenSize and windowTitle
[export/uwp] Handle get screenSize
[lua] update sources for latest luau
[export/uwp] Enable mipmapping
[gfx/path2d] Line position is now sent to the shaders
[export/android] Allow to add flags to permissions in manifest
[gfx/paths] Allow longer lines by using 32bit indices instead of 16bit
[android] Add recommanded way to detect TV's

Fixes

[export/android] Locate Java in Android Studio Electric Eel
[export/uwp] Fix particle rotation
[export/win32] set user-agent in html requests
[export/win32] don't assume cwd is executable path
[export/win32] Fix scaling / DPI handling
[export/uwp] Fix modifiers not correctly reported in key events
[player] Optimize print to studio
[export/ios] Fix DPI reporting for newer phones

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

Comments

  • hgy29hgy29 Maintainer
    keszegh said:

    please explain msaa usage

    It is for testing purpose on QT player: you enable it by eiditing the GiderosPlayer.ini file (located under /AppData/Roaming/GiderosMobile), and adding a msaa= key, where is the msaa level (0 to disable)

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • thank you captain hgy29 for this new release <3
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • hgy29 said:

    keszegh said:

    please explain msaa usage

    It is for testing purpose on QT player: you enable it by eiditing the GiderosPlayer.ini file (located under /AppData/Roaming/GiderosMobile), and adding a msaa= key, where is the msaa level (0 to disable)
    thanks. do you have some screenshots/test app showing the difference? in my app i did not notice any visible difference when setting msaa=2, so i'm not sure if it worked or not.
  • hgy29hgy29 Maintainer
    Actually I’d didn’t spot much difference myself, but I didn’t go too far with the experiment. Typical masa values are 4, 8 or 16 btw.

    Likes: keszegh

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29hgy29 Maintainer
    Yes, it should aa everything
  • piepie Member
    edited April 2023
    [export/ios] Fix DPI reporting for newer phones

    Is there a way in which we could tell the dpi of a phone screen?
    I just stumbled upon the "android navigation bar issue" and I'd like to avoid having interactive content there. I can go for a magic number but I'd like to check if what is stated here still applies: https://forums.solar2d.com/t/height-of-android-navigation-bar-solved/353073

    Silly me it's here: https://wiki.gideros.rocks/index.php/Application:getScreenDensity
  • MoKaLuxMoKaLux Member
    edited April 2023
    I have some error on win32 build which doesn't happen with Gideros Player (Qt?):
    *visit(EnterFrameEvent* v)* stack NOT ok begin:0 end:3 delta:0
    *CppLuaBridge::luaEvent* stack NOT ok begin:0 end:3 delta:0
    *enterFrame* stack NOT ok begin:0 end:3 delta:0
    [string "scenes/levelY.lua"]:318: invalid argument #2 to 'setTextureRegion' (TextureRegion expected, got nil)
    stack traceback:
            [string "scenes/levelY.lua"]:318: in function onEnterFrame
    -- EDIT --

    NEVERMIND I FOUND MY ERROR ;)
    When using win32 export make sure to set all your folder paths to \\ instead of /

    In my case I inserted an image from my asset gfx folder (right click image - Insert Into Document) and I got "gfx/adventurer-Sheet.png". For win32 export make sure to change it to "gfx\\adventurer-Sheet.png" o:)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • hgy29hgy29 Maintainer
    MoKaLux said:


    When using win32 export make sure to set all your folder paths to \\ instead of /

    That shouldn't be necessary in gideros calls, only if you use os.system()

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29 I had a strange case when I needed this otherwise I had the error quoted above ;)

    Gideros 2023.4 got featured on https://gcup.ru/news/chto_novogo_v_gideros_2023_4/2023-04-10-13464

    I like this site :)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • good news, html export seems to be fixed :)
    Viva Gideros <3

    Likes: SinisterSoft

    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+1 / -0 )Share on Facebook
  • rrraptorrrraptor Member
    edited April 2023
    Decided to update ImGui :smile:


    Added new functions:
    ImGui:shortcut(keyChord [, owner_id = 0, ImGuiInputFlags = 0])
    ImGui:setShortcutRouting(keyChord [, owner_id = 0, ImGuiInputFlags = 0])
    -- keyChord: an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values (ImGuiKey | ImGuiMod_XXX)
    but I dont know how to use it properly... But I know that it can be used to easily turn off CTRL+TAB combo:
    ImGui:setShortcutRouting(ImGui.Mod_Ctrl | ImGui.Key_Tab, ImGui.KeyOwner_None) -- after newFrame call
    Plus new widget (text + separator, on the screenshot: "General" text)
    ImGui:separatorText(label)
    IO: Added io.AddMouseSourceEvent() and ImGuiMouseSource enum. This is to allow backend to specify actual event source between Mouse/TouchScreen/Pen.

    So I added this for mouse & touch, but not for "Pen" because I dont know how to check if it is tablet input...

    And a lot of fixes/improvements.

    Ive uploaded WIP versionn to github: https://github.com/MultiPain/Gideros_ImGui/blob/master/imgui_beta.dll
    require "ImGui_beta"
    +1 -1 (+5 / -0 )Share on Facebook
  • awesome rrraptor <3
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • MoKaLuxMoKaLux Member
    first time Gideros Studio crashes on me :o I was printing logs (enterframe, ECS) and then Gideros Studio became unresponsive and I had to force close it :)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • rrraptorrrraptor Member
    edited May 2023
    Created a pull request: https://github.com/gideros/gideros/pull/551

    Changelog:
    • Renamed ImGui:captureMouseFromApp() and ImGui:captureKeyboardFromApp() to ImGui:setNextFrameWantCaptureMouse() and ImGui:setNextFrameWantCaptureKeyboard()
    • Renamed ImGui:pushAllowKeyboardFocus()/ImGui:popAllowKeyboardFocus() to ImGui:pushTabStop()/ImGui:popTabStop()
    • Added IO:setAppAcceptingEvents([accepting_events = true])
    • Added ImGui.HoveredFlags_NoNavOverride flag to ImGui:isItemHovered(flags) & ImGui:isWindowHovered(flags)
    • Added ImGui:setNextWindowScroll(x, y)
    • Added ImGui.InputTextFlags_EscapeClearsAll flag for "inputText" widget (first press on Escape clears text if any, second press deactivate the InputText())
    • Added "isItemHovered" flags: ImGui.HoveredFlags_DelayNormal & ImGui.HoveredFlags_DelayShort, allowing to introduce a shared delay for tooltip idioms
    • Added "isItemHovered" flag: ImGui.HoveredFlags_NoSharedDelay to disable sharing delays between items, so moving from one item to a nearby one will requires delay to elapse again.
    • Added ImGui:getItemID() It is not often expected that you would use this, but it is useful for ImGui:shortcut() and upcoming owner-aware input functions which wants to be implemented with public API.
    • Added ImGui:shortcut(keyChord [, owner_id = 0, ImGuiInputFlags = 0]) (keyChord: an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values (ImGuiKey | ImGuiMod_XXX))
    • Added ImGui:setShortcutRouting(keyChord [, owner_id = 0, ImGuiInputFlags = 0]) (disable CTRL + TAB combo: ImGui:setShortcutRouting(ImGui.Mod_Ctrl | ImGui.Key_Tab, ImGui.KeyOwner_None))
    • Added mouse key aliases: ImGui.Key_MouseLeft, ImGui.Key_MouseRight, ImGui.Key_MouseMiddle, ImGui.Key_MouseX1, ImGui.Key_MouseX2, ImGui.Key_MouseWheelX, ImGui.Key_MouseWheelY
    • Added ImGui.ItemFlags_NoTabStop to use with ImGui:pushItemFlag(flag, bool)
    • Added ImGui:setItemKeyOwner(keyCode [, ImGuiInputFlags = 0])

    • Added ImGui:setKeyOwner(keyCode, owner_id, [, ImGuiInputFlags = 0])
    • Added new widget ImGui:separatorText(label)
    • Added new styles:
      • Style:setSeparatorTextBorderSize(number)
      • number = Style:getSeparatorTextBorderSize()

      • Style:setSeparatorTextAlign(x, y)
      • x, y = Style:getSeparatorTextAlign()

      • Style:setSeparatorTextPadding(x, y)
      • x, y = Style:getSeparatorTextPadding()

      • Enums for push/popStyle: ImGui.StyleVar_SeparatorTextBorderSize, ImGui.StyleVar_SeparatorTextAlign, ImGui.StyleVar_SeparatorTextPadding to use with ImGui:pushStyleVar()
    • Added hold gesture (touch only) to trigger right mouse button. Off by default, to enable/disable use:
      • ImGui:setTouchGesturesEnabled(bool)
      • bool = ImGui:isTouchGesturesEnabled()
    • Changed ImGui:imageButton(texture, w, h [, padding = -1, tint_color = 0xffffff, tint_alpha = 1, border_color = 0xffffff, border_alpha = 0]) to ImGui:imageButton(str_id, texture, w, h [, tint_color = 0xffffff, tint_alpha = 1, border_color = 0xffffff, border_alpha = 0])
    • Removed ImGui:openPopupContextItem()

    Likes: keszegh, MoKaLux

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