github adventuregamestudio/ags v4.0.0.28
v4.0.0.28 (AGS 4.0 Alpha 32)

pre-release6 hours ago

This is mainly a bug fixing release.

Editor:

  • When run with a "/compile" command-line argument, Editor will automatically recreate sprite file from sources (if possible) without asking a question. This helps automatic game builds.
  • In script mark Overlay's factory methods as $AUTOCOMPLETENOINHERIT$, which prevents them from appearing in AnimatedOverlay's autocomplete.
  • Fixed Characters and InventoryItems loosing their ScriptModule property when upgrading from 3.x project.
  • Fixed Room and room objects's interactions not imported when upgrading from 3.x project.
  • Fixed GUI OnClick event property is not written into the compiled game.
  • Fixed Room's FaceDirectionRatio property not written into the compiled game.
  • Fixed room masks of certain peculiar sizes getting corrupted.
  • Fixed a project tree's item is activated without intent when user double clicks to open a folder, and project tree scrolls down so that a different item appears under mouse cursor.
  • Fixed AudioClip's label missing ID after clip is renamed in the project explorer.
  • Fixed unhandled exception in the "Change ID" dialog occuring if the item has ID greater than the total number of items. This situation may occur if the project file was modified by hand.
  • Fixed copy-pasted gui controls always get linked to a GlobalScript, and not a script module of their parent GUI.
  • Fixed that if a room editor is opened, and user changes one of the present Character's RealName, such Character becomes impossible to select in the room.
  • Fixed Walk-behind's baseline is not drawn in the room editor if Zoom is less than 100%.
  • Fixed game plugin's extra dependencies not found in the Compiled/Windows folder when game is run from the Editor.

Script API:

  • Added Overlay.AutoSize, Overlay.ScaleX, ScaleY properties and SetScale() function.

Engine:

  • Fixed object event tables ignoring the ScriptModule property set in game file.
  • Fixed GUI's ScaleX,Y properties written incorrectly in saves.
  • Fixed AnimatedOverlays not removed when the base overlay is removed, and not removed automatically on room unload / game restore, which would usually lead to program errors.
  • Fixed inventory cursor hotspot crosshair not being drawn properly.
  • Fixed a mistake in registering of the script exports, could lead to linking errors, in particular when loading scripts compiled by a 3.x compiler.
  • Fixed Dialog.Start() and Dialog.Stop() not working when called from dialog script.
  • Fixed a program crash occuring when restoring modified room masks from game's save.
  • Fixed a potential error occuring when a animating object or character was assigned a view's loop without any frames (possibly a regression since some previous patches).
  • Fixed ListBox.FillDirList() and File.GetFiles() not being able to find files in subdirectories, if a search pattern has relative parent path.
  • Fixed a mistake in ListBox.FillDirList() and File.GetFiles(), which could prevent files from different places (like from game package and game directory) to be merged in a single list when using $DATA$ location token.
  • Fixed ListBox.FillDirList() and File.GetFiles() listing files from within the game package with their relative parent paths. It is supposed to list only filenames, for consistency with the regular files on disk.
  • Fixed ListBox.FillDirList() and File.GetFiles() not sorting the filenames alphabetically properly if these names contain non-latin unicode characters.
  • Fixed ListBox.FillSaveGameList() always sorting saves by the filetime, disregarding the function parameters.
  • Fixed Dictionary and Set not sorting their items properly if the keys contain non-latin unicode characters.
  • Fixed a potential error that may occur when a temporary dynamic object is created inside the script function's parameter list, but there's a blocking action or a Wait call between when it's created and when it's passed into the function.
    Example case: "func( WaitAndReturnValue(), String.Format(...) )".
  • Fixed another rare case when a WAV file can get stuck in the end of the playback forever.
  • Fixed SetGameOption(OPT_PORTRAITSIDE) not always working correctly.

Don't miss a new ags release

NewReleases is sending notifications on new releases.