AGS 4.0 - Alpha 23 for public test

Started by Crimson Wizard, Thu 01/06/2023 14:00:59

Previous topic - Next topic

Crimson Wizard

Quote from: Baguettator on Sat 23/08/2025 07:23:04If I save, then reload my game, I encounter that crash :

Yes, there's a bug in the engine that it either saves or restores overlays incorrectly.

Baguettator

OK ! Is there any temp build available ? Or the next update will come soon ?

Crimson Wizard

#422
Here's a latest build, with two recently reported bugs fixed:
- restoring a save with overlays
- typing "0" into color property should result in a transparent color.
(actually more, but I dont remember all of them now, I will have to write a proper changelog)

https://cirrus-ci.com/task/6415920467279872
(will be available in 20-30 minutes after me posting this)

But I must warn: this update contains a change to the room object visual position.
Some time ago we found that all this time (25 years) AGS had a mistake, and drawn object sprite 1 pixel higher than its x,y position. We fixed this mistake in ags4. But because of that some games may have objects slightly misaligned with the room backgrounds now. For that reason AGS will suggest to adjust all object positions in all rooms by 1 pixel, in order to keep its visual location relative to background.
If you dont need that, then you may skip this operation (there will be a very clear selection, hopefully hard to miss).

Still please make a project backup before using this update.

Baguettator

#423
Thanks Crimson !

Does this build fix the problem with GUIControls' size not correct when their text is "New Button" ? (we talked about it recently, you finally discovered the bug while testing my game)

EDIT : also have you any idea now, about the bug that occurs sometimes when the game crashes, the editor is "locked" as the game is still running ? (the button "run" is unavailable, only the "stop" and "pause" buttons in editor)

Crimson Wizard

Quote from: Baguettator on Sat 23/08/2025 12:24:13Does this build fix the problem with GUIControls' size not correct when their text is "New Button" ? (we talked about it recently, you finally discovered the bug while testing my game)

Here's the list of ags4-specific fixes I did so far:

* Fixed reading saves with walking characters made after 4.0.0.16
* Fixed reading saves with overlays made after 4.0.0.18
* Fixed setting Color property in the editor to 0 makes a black color instead of transparent
* Fixed non-standard-latin characters in room and room object/hotspot etc properties getting lost when closing and reloading a room
* Fixed buttons with non-clipped text have a wrong interaction rectangle


Also following fixes migrated from 3.6.* update branch, which may be worth mentioning here:

* Editor will adjust all selected button sizes if you change image for multiple buttons at once
* Editor will detect an existing event function if it has a comment on the same line as the function's declaration



I'll prepare the full changelog prior to releasing a proper update



Quote from: Baguettator on Sat 23/08/2025 12:24:13EDIT : also have you any idea now, about the bug that occurs sometimes when the game crashes, the editor is "locked" as the game is still running ? (the button "run" is unavailable, only the "stop" and "pause" buttons in editor)

I dont know, maybe not.

SMF spam blocked by CleanTalk