Releases: vchelaru/Gum
Releases · vchelaru/Gum
November 3, 2024
Gum Tool
- Fully generated code now creates 2-arg constructors.
- Fixed renaming some objects causing a crash due to variable references
- Fixed compile error in generated code setting Contained type
November_2_2024
Gum Tool
- New projects now have a default nineslice image
- Fixed crashes when referencing fonts in root folder
- Fixed crashes when viewing combined states
- Fixed variable references when qualifying full path variables in the same component/screen
- Lots of codegen improvements including:
- Assigning texture on a Sprite runtime
- Constructor generation for Screens
- Adding items to Screen
- CustomInit is now called in AfterFullCreation for generated code so that custom init can reference strongly typed objects
- Setting states now works even if there is no element tag
- Disabling plugin now properly disables codegen
- Added needed default using statement
Gum Runtimes
- Fixed outline thickness not being respected on fonts
- New RadioButton control in forms
- GumCommon now targets .NET Standard 2.1 so it works on Meadow (thanks @KallDrexx )
- Removed noisy "Breaking because..." output (thanks @legendaryfishtrap )
- Added cursor support from touch screen
- Added Cursor.CleraInputValues for clearing clicks and pushes manually, such as when making the TextBox gain focus
- ComboBox now closes its ListBox when clicking outside of the ListBox
- Added ModalRoot for adding modal popups
- General code cleanup (Silverlight, Windows8, UWP, and Xbox360)
- Added code for automatically associating Gum elements to their forms runtime types
- Added a standard set of forms runtime types
- Added better error messages when trying to perform cursor logic on an element that hasn't been added to managers.
- Improved ability to use generated objects with from-files
- Added checks for whether the cursor is over the game window, and whether the game is active
- Added text runtime TextOverflowHorizontalMode an LineHeightMultiplier
- Fixed RollOn being called every frame
- Added checks for whether PopupRoot and ModalRoot are removed from managers
Samples
- Added sample code to show how to create runtimes that are automatically associated with screens
- Added froms from-file project
- Added samples for custom listboxes
- Added animated character to samples
New Contributors
- @legendaryfishtrap made their first contribution in #220
- @Fabbbou made their first contribution in #238
Full Changelog: October_21_2024...November_2_2024
October_21_2024
Gum Tool
- Added support for searching for instances
- Added support for searching on instances by their Text property
- First pass at being able to create components from an instance thanks @akaadream
- Added better error reporting when missing a base type for a component
- Added support for hint text when displaying nullable bool values
- Fixed bug where duplicate instances could be created
- Added realtime warnings about duplicate component names thanks @akaadream
- Fixed tabs not properly sizing themselves after being hidden thanks @kaltinril
- Saving new project now shows up in recent files thanks @kaltinril
- Newly-created projects automatically load thanks @kaltinril
- Improved codegen for monogame projects, including new MonoGame dropdown value
Gum Runtimes
- Added new ComboBox Forms control
- Fixed case sensitive issues when loading shaders
- Added FormsUtilities.Cursor
- Added FormsUtilities.Keyboard
- Added sample project for font loading
- Huge improvements to font load times (100x faster) thanks @KallDrexx
- Added FnaGum project
- Added support for loading from a StreamByteDictionary to speed up load times on web projects (Kni)
- Improved error reporting when missing font files
- Added SingleThreadSynchronizationContext sample for async calls
- Added InteractiveGue.HandleRollOver
- RollOverBubbling is only raised when XChange or YChange are non-zero
- Loading .gumx project now pushes Standard values to all standard runtimes making it easier to load existing projects
- FrameworkElement.UpdateState is now public allowing refreshing of visuals anytime
- Added support for assigning BitmapFont through states
- Added new const values for expected instance names in forms
- Improved diagnostics when creating a Slider Forms object with missing references
- Fixed crash when loading fonts with no spaces thanks @mfigueirido
New Contributors
- @akaadream made their first contribution in #177
- @vicdotexe made their first contribution in #181
- @kaltinril made their first contribution in #209
- @mfigueirido made their first contribution in #215
Full Changelog: August_20_2024...October_21_2024
August 20, 2024
Gum UI Tool
- Fixed crash when setting base type on a Screen
- Fixed crash when setting the base type on a component
Gum Runtimes
- Added FormsUtilities class to simplify working with FRB Forms. Documentation reflects this new addition.
- Added Forms TextBox (MonoGame Gum)
- Added Forms Slider (MonoGame Gum)
- Added Forms Slider (MonoGame Gum)
- Added support for Gum in Kni (thanks @nkast ) including support for web!
- Default missing file behavior is now to throw exceptions to help with the most common type of errors.
- Added support for LineRectangle LineWidth
- Added MonoGameGum NineSliceRuntime support for CustomFrameTextureCoordinateWidth
- Added more informative error when setting Sprite's animation
- Added NonPremultipliedAddAlpha BlendState for render target rendering
New Contributors
Full Changelog: June_21_2024...August_20_2024
June 21, 2024
Gum UI Tool
- Fixed popups appearing when selecting standard elements with no project saved (#166 )
June 20, 2024
Gum UI Tool
- Fixed NineSlice rendering bug when smaller than the outside borders (tool and all runtimes)
- Events file is only saved if it differs, reducing file change and disk writes
- Gum code generator now supports from-file and also fully instantiating so it can help users write code who might be loading .gumx
- Fixed Vertical grid layout bug which was laying out horizontally (tool and all runtimes)
- Added check when assigning base instance to make sure it is not of the same type as the parent
- Resetting font size to default now properly renders the text instance and creates the correct font cache files
Gum Runtimes
- First pass at GumForms including Button, ListBox, ScrollView, CheckBox, and lots of under-the-hood changes to support this
- MonoGame Gum now runs on DirectX and Android. iOS hasn't been tested, but it may work as well.
- Standard types loaded from .gumx are now loaded in their specific types rather than base GraphicalUiElements
- Added InteractiveGui class to serve as a base for clickable UI objects in MonoGameGum (buttons, etc)
- Added BlendState (not just Blend) to most GraphicalUiElement implementations for monogame - this helps with rendering Gum to a render target.
- GumProjectSave.Load (no parameters) now throws exceptions making it easier to spot missing files.
- Fixed path issues on iOS and Android
- Fixed path issues on Linux/Mac
- Rendering in Skia canvas now properly respects camera center