This is AGS 4.0 Alpha 22.
Contains all the new features and fixes from 3.6.2 release and 3.6.2 Patch 1 (excepts ones related to backwards compatibility).
Own changes:
Editor:
- Editor requires .NET Framework 4.7 to run.
- In General Settings added "GUI common controls handle only left mouse button" option that lets prevent RMB from activating gui controls, except those that have separate actions for left and right mouse buttons.
- Added XOffset and YOffset properties for the View Frames.
- Redesigned Color Finder panel, now it lets to specify alpha color component, and convert between several different color representations.
- Fixed error occuring when creating a new Font.
- Fixed error occuring when renaming a room.
Script API:
- Added ShaderProgram and ShaderInstance structs, meant for the custom shaders support.
- Added Character.Shader, GUI.Shader, GUIControl.Shader, Object.Shader, Overlay.Shader, Camera.Shader, Viewport.Shader, Mouse.CursorShader, Screen.Shader.
- Added Button.GraphicFlip property.
- Added GUIControl.Rotation.
- Added GUIControl.ScaleX and ScaleY properties, GUIControl.SetScale() function.
- ViewFrame.Flipped property is now settable and returns eFlipDirection instead of bool.
- ViewFrame.Speed property is now settable.
- Added ViewFrame.XOffset and YOffset properties.
Engine:
- Support custom shaders, initialized through script API. Shaders are loaded and compiled from GLSL (for OpenGL) or HLSL (for Direct3D) shader scripts, and may be attached to game objects, camera, or the whole game view. Shaders may have user-defined constants, and have up to 3 secondary textures on input.
- Support compressing game saves using Deflate algorithm. Added config option "compress_saves" in "misc" section, disabled by default.
- Always compress a screenshot in game save using Deflate algorithm.
- Consistent GUI translation: the values of textual properties will never be automatically translated on assignment or reading them, only the text displayed on screen will be translated.
- Fixed error occuring when either a screenshot is made, or Crossfade or Dissolve room transition is run.
- Fixed error which had a chance to occur when ordering a character to walk after recently restoring a save.
- Fixed character not making the first animation step before starting a move.