This is AGS 4.0 Alpha 20.
Contains all the new features and fixes from 3.6.2 RC2 (excepts ones related to backwards compatibility).
Own changes:
Editor:
- Added BlendMode and Transparency property for GUI Controls.
Scripting:
- Support for dynamic pointer cast: use syntax "pointer as Type" to cast the pointer to either a parent or child type (upcast and downcast respectively).
Script API:
- Added Touch and TouchPointer structs, meant to handle touch controls in script.
- Added MotionPath struct, which lets to read existing game object's motion plan, or create your own and use it as a reference when moving a custom object.
- Added GUIControl.BlendMode property that lets to select BlendMode for any GUI control.
- Added new Blend Modes: eBlendCopy, eBlendCopyRGB and eBlendCopyAlpha.
- Added Character.MotionPath and Object.MotionPath properties that let to get active character's or object's movement plan.
- Added Math.Random(), Math.RandomFloat() and Math.Round() functions.
- Added eRoundTowardsZero and eRoundAwayFromZero rounding styles for use in FloatToInt() and Math.Round() functions.
Engine:
- Support touch input directly, without touch-to-mouse emulation.
- Fixes launching games compiled in Release mode.
- Fixed restoring game saves which contain zero-length dynamic array.
- Fixed goto-dialog and stop commands in dialog script always returning to dialog 0.
- Fixed Dialog.Start() and StopDialog() failing to work in dialog script.