AGS 3.5.0 - Alpha 6This is a big update to GUI properties, both in the editor and script.
WARNING: makes changes to the game source format, please make a backup of your important game project before using this update!
Zip archive:
http://www.mediafire.com/file/31534tckncjped5/AGS-3.5.0-alpha6.zip/fileHas all content from AGS 3.4.1.15 (Patch 4).
Common features - Removed length limit on the Button and TextBox text.
Editor - Split GUI's Visibility property into PopupStyle and Visible properties.
NOTE: so instead of selecting "Normal GUI, initially on" and "initally off" you now choose "Normal GUI" then set Visible to whatever you need.
- Added Clickable, Enabled and Visible properties to GUI Controls.
- Fixed writing room with multiple backgrounds (regression).
Script API - Replaced Alignment enum with a new one which has eight values from TopLeft to BottomRight.
- Renamed old Alignment enum to HorizontalAlignment, intended for parameters that are only allowed to be Left, Center or Right.
NOTE: Alignment and HorizontalAlignment values are fully compatible, in the sense that you may use either. HorizontalAlignment is made mostly in sake of convenient autocomplete and backwards compatibility.
- Added new script class TextWindowGUI, which extends GUI class and is meant to access text-window specific properties: TextColor and TextPadding.
NOTE: you get TextWindowGUI* pointer using GUI.AsTextWindow property (this works similar to GUIControl.AsButton etc).
- Added new properties to GUI class: AsTextWindow (readonly), BackgroundColor, BorderColor, PopupStyle (readonly), PopupYPos.
- Added Button.TextAlignment and Label.TextAlignment.
- Added missing properties for ListBox: SelectedBackColor, SelectedTextColor, TextAlignment, TextColor.
- Replaced ListBox.HideBorder and HideArrows with ShowBorder and ShowArrows.
- Added TextBox.ShowBorder.
Engine: - Removed restriction preventing GUIs to be larger than the game's screen.
- Replaced number of fatal errors reported for incorrectly called script functions with a warning to the warnings.log instead. This is done either when arguments may be fixed automatically, or script command simply cannot be executed under current circumstances.
Linux: - Fixes Linux game launch script (fixes issues with itch.io client).
KNOWN ISSUES: Editor crashes on exit. This may be same bug eri0o reported a short while ago. The crash takes place only after game is saved and window closing and seem to not make it loose any changes.
Unfortunately, I forgot to investigate this issue, will try to do soon.