ImGui_GM v1.0.9


hello! v1.0.9 of imgui_gm changes how imgui is rendered in your game! imgui is now rendered 1:1 with the window size, rather than the GUI layer. this might be a bit of an odd change, but i felt like it's more suitable for imgui's use cases


Added:

  • Updated rendering to scale 1:1 with the window, ignoring the application surface and GUI layer
  • Internal "ImGui.__Scale" variable, along with "ImGui.__Surface"
    • __Surface is an internal surface used as the target for rendering ImGui's draw data. This surface is automatically resized to the window and managed by the ImGui.__Update method.
    • __Scale controls the overall scale of the surface being drawn, it is also used when calculating the mouse position for ImGui

Fixed:

  • Mouse position for ImGui is now properly calculated (thanks Carson for bringing this to my attention!)

Known Issues/Notes:

  • Transparency for sprites is cropped when drawn in ImGui
  • This update adjusts the GUI layer size & scaling, let me know if there's any issues with this (ie: scale not being restored when rendering ImGui)

Files

imgui_gm_v1_0_9.yymps 2.3 MB
Feb 08, 2023

Get imgui_gm

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.