X Tutup
Skip to content

Releases: adventuregamestudio/ags

v4.0.0.26 (AGS 4.0 Alpha 30)

03 Feb 09:12

Choose a tag to compare

Pre-release

Contains all the additions from 3.6.3 Beta 4, 3.6.3 Beta 5, 3.6.3 Beta 6 and 3.6.3 Beta 7 (excepts ones related to backwards compatibility).

Own changes:

Editor:

  • When upgrading older projects, Editor will replace old-style linebreak ('[') in string properties (Label.Text and similar).
  • Fixed CursorEventIndexer property must not be displayed for the user.
  • Fixed script function suffixes generated for various GUI events.

Script API:

  • Added GraphicAnchorX, GraphicAnchorY, GraphicOffsetX and GraphicOffsetY properties to Character, Object and Overlay types.
  • Added Character.ViewAnchorX, ViewAnchorY, ViewOffsetX, ViewOffsetY readonly properties, that report current effective graphic anchor and offset (may be dictated either by the common GraphicAnchor and GraphicOffset properties, or LockView* functions).
  • Added Character.LockViewAnchored() function.
  • Character.LockViewAligned now accepts Alignment parameter instead of HorizontalAlignment.

Engine:

  • All the object interaction events triggered by a script function call will now run immediately, as opposed to being scheduled to run after the current script finishes. This refers to function calls such as ProcessClick and RunInteraction, and also to functions which trigger on_event callback, such as AddInventory.
  • Fixed AnimatedOverlay.CreateRoomAnimated() was creating a screen overlay instead.
  • Fixed Overlay.HasLightLevel property was not registered correctly, causing script linking errors.
  • Fixed Overlay.TintLuminance property return value.

v3.6.3.7 - Beta 7

03 Feb 02:02

Choose a tag to compare

v3.6.3.7 - Beta 7 Pre-release
Pre-release

This is a hotfix 3.6.3 Beta 7.

Engine:

  • Fixed Region events not triggering.

v3.6.3.6 - Beta 6

01 Feb 21:49

Choose a tag to compare

v3.6.3.6 - Beta 6 Pre-release
Pre-release

This is a very minor update, made early only because of some internal changes that are breaking if compared to the previous 3.6.3 betas.

Editor:

  • Added Baseline, BaselineOverridden, BlockingRectangle and Transparency properties to Characters.
  • Added BlockingRectangle, Solid and Transparency properties to Room Object.
  • In Room Editor Characters will be sorted among themselves in accordance to their starting Baseline (NOTE: Characters and Room Objects are still not sorted among each other).

v3.6.3.5 - Beta 5

18 Jan 15:31

Choose a tag to compare

v3.6.3.5 - Beta 5 Pre-release
Pre-release

Common:

  • Renamed Button.ShadowColor and Slider.ShadowColor properties to BorderShadeColor to better represent its meaning.
  • Fixed Button and Label text wrapping not respecting padding and border width settings.

Editor:

  • Fixed error occuring when multiple gui controls with different color settings are selected at once in the GUI Editor.
  • Fixed GUI Editor not letting resize a control up to the GUI's own size (resizing was clamped at 1 pixel offset from the gui border).

v3.6.3 - Beta 4

14 Jan 12:23

Choose a tag to compare

v3.6.3 - Beta 4 Pre-release
Pre-release

This is 3.6.3 Beta 4

Contains all fixes and additions from v3.6.2 Patch 6

Own changes:

Common:

  • Removed limit of Dialog's options per topic (was 30).

Editor:

  • On Color Finder panel added Web Color and comma-separated RGB color representation.
  • Merged previously paired "Color" and "Color Number" properties into the single "Color" property each. Color type properties will now display RGB representation in 16/32-bit games and a color number (palette index) in 8-bit games. They will always accept user input in any format (either color number of RGB).
  • Added new properties to GUI Controls: BackgroundColor, BorderColor, BorderWidth, ShowBorder, SolidBackground, PaddingX and PaddingY properties.
  • Added new properties to GUI Button: ColorStyle, MouseOverBackgroundColor, MouseOverBorderColor, MouseOverTextColor, PushedBackgroundColor, PushedBorderColor, PushedTextColor, ShadowColor.
  • Added new properties to GUI Slider: HandleColor, ShadowColor.
  • Added TextAlignment property to TextBox.
  • In GUI Editor allow to resize controls by dragging by any side.
  • In GUI Editor let set control's ZOrder property directly.
  • Do not auto-add up to 4 loops to Views assigned as Character's NormalView.

Script API:

  • Added new "maxDistance" parameter to AudioChannel.SetRoomLocation() function.
  • Added GUIButtonColorStyle enum, which defines the Button's dynamic coloring style.
  • Added Button.ColorStyle, MouseOverBackgroundColor, MouseOverBorderColor, MouseOverTextColor, PushedBackgroundColor, PushedBorderColor, PushedTextColor and ShadowColor properties.
  • Added Character.BlockingRectX, BlockingRectY, and Object.BlockingRectX, BlockingRectY.
  • Added Dialog.SetOptionText().
  • Added Game.Pause() and Resume() functions, and Game.IsPaused property. PauseGame(), UnPauseGame() and IsGamePaused() functions are deprecated.
  • Made GUI.PopupStyle property settable.
  • Added GUIControl.BackgroundColor, BorderColor, BorderWidth, SolidBackground, ShowBorder, PaddingX and PaddingY properties.
  • Added InventoryItem.CursorHotspotX, CursorHotspotY properties.
  • Added Mouse.GetModeHotspot().
  • Added Overlay.Text that lets assign an arbitrary overlay tag (description), but also returns a text used to create a textual overlay.
  • Added Slider.HandleColor and ShadowColor properties.
  • Added TextBox.TextAlignment property.

Engine:

  • Removed hard limit of Timers (was 20).
  • Room Region events will now be run consistently with the other game events, scheduled and executed at the end of the game update cycle (was run at the beginning of the game update). The purpose of this change is to make it easier to handle the order of events in game.
  • Corrected the order of update for the cursor graphic saved for the current location (see Mouse.SaveCursorUntilItLeaves()).

Compatibility:

  • Force-update GUI when a BackgroundGraphic is re-assigned with the same dynamic sprite's number, if we can tell that this dynamic sprite has given away its DrawingSurface and it has not been released yet. This fixes some old games that draw upon GUI background but forget to call DrawingSurface.Release() to properly update the sprite on screen.

v3.6.2 - P6 (3.6.2.16)

06 Jan 08:12

Choose a tag to compare

This is a 3.6.2 Patch 6.

Editor:

  • Save last size and position of the "Sprite Import" dialog.
  • Fixed potential memory corruption occuring when importing 4-bit sprites of odd sizes.
  • Fixed minor visual mismatches in GUI previews occuring for high-res games.
  • Fixed Font's ProjectFilename property value having two dots before extension.

Engine:

  • Support "--audiodriver" command line argument for explicitly selecting an audio driver.
  • Support "--script-log" command line argument, which creates a script execution log.
  • Fixed SetTextOverlay() script function ignoring new position parameters.
  • Fixed default Slider's handle drawn with 1 pixel offset mistake. (Regression after Patch 5)
  • Fixed multiline dialog options having unnecessary indentation at new lines in case there's already an indentation after option numbering or a "bullet" graphic.
  • Fixed extra black frame displayed after a OGV playback. (Regression since one of the earlier patches)

WinSetup:

  • Do not show "Accessibility" tab if all the option groups have been disabled by the default game config.

v3.6.1 - P13 (3.6.1.35)

06 Jan 08:11

Choose a tag to compare

This is a 3.6.1 Patch 13.

Editor:

  • Fixed minor visual mismatches in GUI previews occuring for high-res games.
  • Fixed Callstack panel not getting cleared when the game is shutdown, and clicking on its items could bring Editor into the wrong state.

Engine:

  • Fixed default Slider's handle drawn with 1 pixel offset mistake. (Regression after Patch 12)
  • Fixed Slider unexpectedly increasing MaxValue by 1 if it was assigned equal to MinValue.
  • Fixed multiline dialog options having unnecessary indentation at new lines in case there's already an indentation after option numbering or a "bullet" graphic.
  • Fixed Character's speech text's behavior being modified by a non-blocking voice clip run by a Game.PlayVoiceClip() call.
  • Fixed Game.PlayVoiceClip() not supporting narrator's voice.
  • Fixed SetTextOverlay() script function ignoring new position parameters.

v4.0.0.25 (AGS 4.0 Alpha 29)

06 Dec 12:16

Choose a tag to compare

Pre-release

A hotfix update following 4.0.0.24 (Alpha 28).

Editor:

  • Fixed Room events not written correctly to the compiled room file.
  • Fixed Hotspot's OnMouseMove event generates script function with the wrong name.

Engine:

  • Fixed AnimatedOverlays not applying flip state from the view frames.
  • Fixed script interpreter's mistake which could lead to "this" pointer in a member function loosing its value if there's a blocking action run inside the function.

v4.0.0.24 (AGS 4.0 Alpha 28)

26 Nov 02:19

Choose a tag to compare

Pre-release

Contains all the additions from 3.6.3 Beta 2 and 3.6.3 Beta 3 (excepts ones related to backwards compatibility).

Own changes:

Editor:

  • Object and hotspot events are now visibly divided into common events and "cursor events". Cursor events are no longer hardcoded, but generated following new Cursor settings.
  • Added CreateEvent, EventLabel and EventFunctionName properties to Cursors. If CreateEvent is set to true, then Editor will generate event for it, EventLabel is used as a "display name" for such event, and EventFunctionName is used as a script function suffix.
  • Added StandardRole property to Cursors. This property defines which of the built-in roles this cursor represents in game (or none). The existing roles are: Walk, Look, Interact, Use inventory, Pointer and Wait; these are modes that have predefined behavior in the engine.
  • Added OnFrameEvent event to Buttons, Characters and Room Objects.
  • Added EventName property for ViewFrame, which is an arbitrary string value. This value does not correspond to real script events, but is treated as a custom "event tag". The View Editor will display a "lightning" icon idicating frames with "event names". At runtime, whenever any animating object hits such frame, engine fires a special "OnFrameEvent" event for that object.
  • Removed "Other click on" event from Inventory Items, as items have full range of cursor events now, just like hotspots and objects.

Compiler:

  • Fixed UTF-8 character literals not parsed by the new compiler.
  • Fixed being able to declare a local variable inside a 'for' loop having same name as the variable declared in a 'for' header.

Scripting:

  • Allow to explicitly call parent struct's constructor from a child struct's constructor. This is a forced temporary measure, because at the moment there's no mechanism of automatic call of the parent type constructors.

Script API:

  • Added AnimatedOverlay struct, which is a child type of Overlay, which has Animate command, and readonly properties which describe current animation, similar to other animateable objects (View, Loop, Frame, etc). As Overlays have specific use cases in games (may be part of UI), AnimateOverlay has additional parameter "PauseWithGame", which determines whether this overlay's animation will be paused when the game is paused, or not.
  • Added Button.RunFrameEvent(), Character.RunFrameEvent() and Object.RunFrameEvent() functions, that trigger "OnFrameEvent" event function for corresponding object.
  • Expanded LocationType enum with eLocationInvItem.
  • "unhandled_event" script function now accepts LocationType and real cursor mode as parameters, instead of arbitarily chosen indexes.

Engine:

  • Fixed String.IndexOf function issuing a unnecessary warning if it's called for the empty string with start index parameter = 0.

v4.0.0.23 (AGS 4.0 Alpha 27)

21 Nov 19:31

Choose a tag to compare

Pre-release

Another hotfix update.

Editor:

  • Fixed Callstack panel not getting cleared when the game is shutdown, and clicking on its items could bring Editor into the wrong state.
  • Fixed crash occuring under some conditions when the Editor is trying to display a tooltip with the struct's member in script.
  • Fixed Autocomplete not displaying members of dynamic array's elements (was displaying dynamic array's "Length" property instead).
  • Fixed Autocomplete mistakes related to multidimensional arrays in script.
  • Fixed Autocomplete displaying generated types (dynamic array types), which it should not show to the user.
  • Fixed Autocomplete not displaying parent type's extender methods for child types.
  • Fixed script tooltip displaying extra pair of brackets for dynamic array variables.

Engine:

  • Fixed potential crash caused by Character.AddWaypoint().
X Tutup