Skip to content

Commit 50e1d70

Browse files
committed
Changes.txt: proper list of changes for 4.0.0.18 update
1 parent 4fdb09b commit 50e1d70

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

Changes.txt

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ Editor:
3535
using it; but you may still enter RGBA value by hand.
3636
- In General Settings added "Script Compiler" option that lets to choose between old and new
3737
script compilers for your game (see "Scripting" section below for the new compiler's details).
38-
- In General Settings added "GUI common controls handle only left mouse button" option.
38+
- In General Settings added "GUI common controls handle only left mouse button" option that lets prevent
39+
RMB from activating gui controls, except those that have separate actions for left and right
40+
mouse buttons.
3941
- Added Custom Properties for: Audio Clips, Dialogs, GUI, GUI Controls, Regions, Walkable Areas.
4042
- Added Enabled and Visible properties to Characters, Enabled property to Room Objects.
4143
- Added BlendMode property for Characters, GUI and Room Objects.
@@ -45,6 +47,7 @@ Editor:
4547
- Added FaceDirectionRatio property to General Settings, Room and Walkable Areas.
4648
- Added readonly Length property for AudioClips, for the reference.
4749
- Added "Source FontFile" property to Fonts, this property lets assign a Font File to the Font.
50+
- Added XOffset and YOffset properties for the View Frames.
4851
- Redesigned Color Finder panel, now it lets to specify alpha color component, and convert
4952
between several different color representations.
5053
- Implemented "Watch Variables" panel which lets to watch values of the selected script variables
@@ -129,6 +132,7 @@ Script API:
129132
This means that you *must* specify alpha value when assigning a color number directly,
130133
otherwise the game will treat the color as fully transparent.
131134
- Added Joystick struct, meant to handle joystics and gamepads in script.
135+
- Added ShaderProgram and ShaderInstance structs, meant for the custom shaders support.
132136
- Added Touch and TouchPointer structs, meant to handle touch controls in script.
133137
- Added VideoPlayer struct, which provides means of playing non-blocking videos rendered onto
134138
a sprite that may be displayed on any game object.
@@ -146,11 +150,13 @@ Script API:
146150
- Added Button.GraphicFlip property.
147151
- Added Character.BlendMode, GUI.BlendMode, GUIControl.BlendMode, Object.BlendMode,
148152
Overlay.BlendMode.
153+
- Added Character.Shader, GUI.Shader, GUIControl.Shader, Object.Shader, Overlay.Shader,
154+
Camera.Shader, Viewport.Shader, Mouse.CursorShader, Screen.Shader.
149155
- Added Character.Enabled and Visible properties, added Object.Enabled property,
150156
Character.on is deprecated.
151157
- Added Character.UseRegionTint and Object.UseRegionTint, deprecated Character.IgnoreLighting.
152-
- Added Camera.Rotation, Character.GraphicRotation, GUI.Rotation, Object.GraphicRotation,
153-
Overlay.Rotation.
158+
- Added Camera.Rotation, Character.GraphicRotation, GUI.Rotation, GUIControl.Rotation,
159+
Object.GraphicRotation, Overlay.Rotation.
154160
- Added Game.GetColorFromRGBA() function that creates a color number for red, green, blue and
155161
alpha combination.
156162
- Added Game.FaceDirectionRatio, Room.FaceDirectionRatio, WalkableArea.FaceDirectionRatio
@@ -179,6 +185,7 @@ Script API:
179185
- Added Game.SpriteColorDepth[] readonly indexed property.
180186
- Added GUI.ScaleX and ScaleY properties, GUI.SetScale() function.
181187
- Added GUI.GUIToScreenPoint() and GUI.ScreenToGUIPoint() functions.
188+
- Added GUIControl.ScaleX and ScaleY properties, GUI.SetScale() function.
182189
- Added Math.Random(), Math.RandomFloat() and Math.Round() functions.
183190
- Added eRoundTowardsZero and eRoundAwayFromZero rounding styles for use in FloatToInt() and
184191
Math.Round() functions.
@@ -191,7 +198,9 @@ Script API:
191198
room's walkable areas.
192199
- Added StringSplitOptions enum, String.Join(), String.Split() and String.Trim() functions.
193200
- Expanded String.IndexOf() with new parameters: "StringCompareStyle", "index" and "count".
194-
- ViewFrame.Flipped property now returns eFlipDirection instead of bool.
201+
- ViewFrame.Flipped property is now settable and returns eFlipDirection instead of bool.
202+
- ViewFrame.Speed property is now settable.
203+
- Added ViewFrame.XOffset and YOffset properties.
195204
- Added optional width, height and layer parameters to SaveScreenShot().
196205
SaveScreenShot() now supports location tokens in file path.
197206
- Added new game-wide option OPT_GUICONTROLMOUSEBUT that defines whether common GUI controls
@@ -215,9 +224,18 @@ Engine:
215224
half-transparent. This refers to almost anything that may have a color: texts,
216225
GUI backgrounds, DrawingSurface's DrawingColor, and so forth. The exceptions are things
217226
that only make sense with opaque color: Tint settings, and screen Fade effects.
227+
- Support custom shaders, initialized through script API. Shaders are loaded and compiled from
228+
GLSL (for OpenGL) or HLSL (for Direct3D) shader scripts, and may be attached to game objects,
229+
camera, or the whole game view. Shaders may have user-defined constants, and have up to 3
230+
secondary textures on input.
231+
- Support compressing game saves using Deflate algorithm. Added config option "compress_saves"
232+
in "misc" section, disabled by default.
233+
- Always compress a screenshot in game save using Deflate algorithm.
218234
- Implemented more accurate Character movement. The movement direction is now more precise
219235
and diagonal movement speed no longer may exceed MovementSpeed setting.
220236
- Camera will not follow a disabled player character.
237+
- Consistent GUI translation: the values of textual properties will never be automatically
238+
translated on assignment or reading them, only the text displayed on screen will be translated.
221239
- Animated buttons now display flipped frames correctly.
222240
- AudioChannel.Position and PositionMs no longer return a very large value while skipping
223241
cutscene.

0 commit comments

Comments
 (0)