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

Gideros 2024.1 Released

A bit late, but I wish you all an happy new year!

First 2024 release of Gideros is available. No big changes, but I hope this new version will help ZBS users since I somehow managed to implement the missing lua debug calls needed by mobdebug. It worked during my tests, but I am not a real ZBS user so maybe I missed a few points.
It is also fixes debugging support on iOS and maybe other platforms.

Full change log:

[plugin/share] Add file import/export capabilities
[core/debugging] Avoid losing debugging context on some (most ?) platforms
[core/luau] Implement debugging support for mobdebug/ZBS
[bridge/deamon] Add more functionalities

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

Comments

  • MoKaLuxMoKaLux Member
    edited January 15
    Thank you captain.
    hgy29 said:

    No big changes,...

    Because Gideros is imho perfect :)

    PS: thank you for fixing code completion o:)
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
    +1 -1 (+1 / -0 )Share on Facebook
  • @hgy29 @rrraptor, i have found a rendering problem which is most probably related to imgui.
    see the two pics, first using v2023.9.1 and the other using 2023.10 (later versions look the same).
    you can notice that in the 'tools' window the icons are not showing but there are other problems too (see in the bottom menu to the left again the toolbox icons have issues but also the background of the window is not the right color).
    perhaps some syntax have changed in imgui, e.g. for scaledImageButton. on the other hand i do use the same scaledImageButtonPadded function for all the other menu buttons too and there they are rendering fine.





    the relevant code part:
      imgui:beginChild("Toolbox", 96,26,nil,  ImGui.WindowFlags_NoNavFocus|ImGui.WindowFlags_NoNav|ImGui.WindowFlags_NoSavedSettings|ImGui.WindowFlags_NoResize)
          imgui:spacing()
          imgui:indent()
     
          local toPop5=false
          if tool_curr=="pen" then 
            imgui:pushStyleColor(ImGui.Col_Button, 0xa0a0a0, 1.00)   
            imgui:pushStyleColor(ImGui.Col_ButtonHovered, 0xa0a0a0, 1.00)
            toPop5=true 
          end      
          if imgui:scaledImageButtonPadded("toolPen",self.texturePen, 19, 19, ImGui.ImageScaleMode_FitHeight,false,0,0.5,0.5,0,0, 0xffffff, 1, 0, 0,  0,0,0,0) then                
            if tool_curr=="picker" then  drawScene:toggleColorPicker()  end 
            tool_curr="pen"   
            drawScene:updateOverlays() 
          end                      
     
          if toPop5 then  imgui:popStyleColor(2) imgui:drawLineDown() end            
          if tool_curr=="picker" then imgui:drawLineDown(0x606060) end      
          imgui:showHelpText("pen")        
          imgui:sameLine()
     
          toPop5=false
          if tool_curr=="picker" then 
            imgui:pushStyleColor(ImGui.Col_Button, 0xa0a0a0, 1.00)   
            imgui:pushStyleColor(ImGui.Col_ButtonHovered, 0xa0a0a0, 1.00)
            toPop5=true 
          end      
          if imgui:scaledImageButtonPadded("toolPicker",self.texturePicker, 19, 19, ImGui.ImageScaleMode_FitHeight,false,0,0.5,0.5,0,0, 0xffffff, 1, 0, 0,  0,0,0,0) then    
            if tool_curr~="picker" then drawScene:toggleColorPicker() end  
            tool_curr="picker" 
            drawScene:updateOverlays() 
          end              
          if toPop5 then imgui:popStyleColor(2) end
          imgui:showHelpText("color picker")
          imgui:sameLine()
     
          toPop5=false
          if tool_curr=="symmedit" then 
            imgui:pushStyleColor(ImGui.Col_Button, 0xa0a0a0, 1.00)   
            imgui:pushStyleColor(ImGui.Col_ButtonHovered, 0xa0a0a0, 1.00)
            toPop5=true 
          end      
          if imgui:scaledImageButtonPadded("toolSymmedit",self.textureSymmEdit, 19, 19, ImGui.ImageScaleMode_FitHeight,false,0,0.5,0.5,0,0, 0xffffff, 1, 0, 0,  0,0,0,0) then    
            if tool_curr=="picker" then  drawScene:toggleColorPicker() end   
            tool_curr="symmedit" 
            drawScene:updateOverlays() 
          end
          if toPop5 then imgui:popStyleColor(2) imgui:drawLineDown() end
          imgui:showHelpText("symmetry center editor")
          imgui:sameLine()
     
          toPop5=false
          if tool_curr=="move" then 
            imgui:pushStyleColor(ImGui.Col_Button, 0xa0a0a0, 1.00)   
            imgui:pushStyleColor(ImGui.Col_ButtonHovered, 0xa0a0a0, 1.00)
            toPop5=true 
          end      
          if imgui:scaledImageButtonPadded("toolMove",self.textureMove, 19, 19, ImGui.ImageScaleMode_FitHeight,false,0,0.5,0.5,0,0, 0xffffff, 1, 0, 0,  0,0,0,0) then    
            if tool_curr=="picker" then  drawScene:toggleColorPicker() end
            tool_curr="move" 
            drawScene:updateOverlays() 
          end
          if toPop5 then imgui:popStyleColor(2) imgui:drawLineDown() end
          imgui:showHelpText("pan/move")
          imgui:endChild()
          imgui:sameLine()
          imgui:dummy(5,19)  
     
     
     
     
    -----------------------
     
     
     
     
     
     
     
     
     
    function ImGui:scaledImageButtonPadded(...)    
      local arg={...}
      arg[18]=arg[18] or 0
      arg[19]=arg[19] or 0
      arg[3]=arg[3]-2*arg[18]
      arg[4]=arg[4]-2*arg[19]
      self:pushStyleVar(ImGui.StyleVar_FramePadding,arg[18],arg[19])
      arg[18]=nil arg[19]=nil          
      result=self:scaledImageButton(unpack(arg))
      self:popStyleVar()  
      return result
    end
     
     
     
     
     
     
    function ImGui:drawLineDown(col)
      col=col or 0xa0a0a0
      local drawList=self:getForegroundDrawList()
      local minX, minY = self:getItemRectMin()
      local maxX, maxY = self:getItemRectMax()      	
      drawList:addRectFilled(minX+8.5, maxY, maxX-8.5, maxY+7, col)  
    end
  • @hgy29 , any guess about this rendering error? meanwhile i use v2023.9.1 and your new lua.dll for debugging.
  • hgy29hgy29 Maintainer
    According to the git repository, imgui sources haven't changed between 2023.9.1 and 2023.10, so that must be something in gideros, and the only change that could be relevant is this one: https://github.com/gideros/gideros/commit/f4c92c3cc8da76962a1c7926a58164f6f9ee84f5

    However this change only raised a caching threshold, so if thats related, the issue was previously already there but maybe less visible
  • hgy29hgy29 Maintainer
    Thinking of it, 2023.10 should have actually improved the rendering, I doubt this change is the issue. @keszegh, would you mind sending me a demo project to diagnose the issue here ?
  • hgy29 said:

    Thinking of it, 2023.10 should have actually improved the rendering, I doubt this change is the issue. @keszegh, would you mind sending me a demo project to diagnose the issue here ?

    sent in pm. ty
Sign In or Register to comment.