Recent posts

#71
Hello everyone! :-D
As mentioned in the title, I am presently translating an AGS game to Polish. The translation process has been pretty straightforward so far... I am, however, unsure about one thing. Use of Polish quotation marks in AGS. Or rather: do they need to be ESCAPED in the translation file/script? Or can I just write them, let's say... normally/non-escaped?
P.S. Sorry if I stumbled into the wrong section of the forum! And thanks in advance for help!  ;)
#72
Quote from: Monsieur OUXX on Thu 17/07/2025 18:41:27I had this knee-jerk reflex from previous upgrades (a few years ago) when the autocomplete had to be updated manually and was missing stuff.

I cannot quite know what are you referring to here, because autocomplete is (and has been for as long as I remember) autogenerated from the script api header which has all the script types and commands declarations. If something is not in a script header, then these commands cannot be called from the script at all, and gaps in autocomplete is only a consequence.
#73
Quote from: Crimson Wizard on Thu 17/07/2025 18:02:26
Quote from: Monsieur OUXX on Thu 17/07/2025 16:55:45- Those new features do not appear in the autocomplete,

They do not appear in the autocomplete? That sounds as a bug.

I might have (definitely did) made a fool out of myself!
That was an assumption.

When I wrote that post, I was in the process of bulk-upgrading all my scripts to AGS 4 and I was "in the zone", not looking at details. I was not looking in detail because I had this knee-jerk reflex from previous upgrades (a few years ago) when the autocomplete had to be updated manually and was missing stuff.
But if you say it's all there, then it's all there! Thanks once again for spoon feeding the devs.

I don't fully regret asking, though, because the idea of looking at specific threads of specific features (with the "AGS 4" tag, which I never really paid attention to) is a great idea.

SOLVED!
#74
Quote from: Ghostlady on Thu 17/07/2025 17:46:11resolution to 1920 x 1080 and they said that it looked awful so they went back into Winsetup and changed it back to 640 X 480.

"Awful" how? I'd suggest to always clarify what people mean, with game screenshots (or a photo of a PC monitor if screenshot is difficult to take at the time). Sometimes "awful" is just a subjective opinion, that won't be shared by other players. Sometimes there are ways to fix the player's experience by changing some other options in winsetup such as scaling type (but it's *them* who should be doing that).

The recommended default settings for the default game config today is:
- Fullscreen mode: Desktop resolution.
- Fullscreen as borderless window: enabled (for easier switching in and out of the game).
- Fullscreen scale: Stretch, preserving aspect ratio

EDIT: looks like you have them mostly right, I'd suggest setting "Fullscreen as borderless window" in Default Setup in the Editor.

EDIT2: just in case: default config is set in "Default Setup" panel in the Editor. If you change any settings in winsetup itself, - that will only affect your computer, as winsetup saves a user config, not game's default config.
#75
Quote from: Monsieur OUXX on Thu 17/07/2025 16:55:45- Those new features do not appear in the autocomplete,

They do not appear in the autocomplete? That sounds as a bug, because they should. Which "Script API version" do you have selected in General Settings?
Which particular features have you tried?

Quote from: Monsieur OUXX on Thu 17/07/2025 16:55:45let alone in the CHM help file.

The dev team have just started writing a manual update for AGS 4.
I don't know if there's a online version of it available, but respective CHM file is currently available in the repo releases here:
https://github.com/adventuregamestudio/ags-manual/releases
it's called "ags4-help.chm".
AFAIK you must still rename it to "ags-help.chm" in order to call within the editor; we're discussing this issue atm.

Quote from: Monsieur OUXX on Thu 17/07/2025 16:55:45Right now I don't see any other way than browsing all the change logs in the forums, one by one?

That's still a main backup option.
But some features are explained in more detail in dedicated "Engine/Editor features" threads, these are marked as "AGS 4" in their titles.
#76
I just ran it with those settings, 1920 x 1200, moved the game over to a newer wide screen monitor. It did put the black bars along the sides but it didn't look bad at all. So I am not sure what happened with the tester.
#77
Here is the option in the Winsetup
#78
Quote from: Baguettator on Tue 15/07/2025 15:54:36Encountered something that seems a problem : while running my game through the editor, I double clicked on a listbox that had no onclick function related, and while editor was displaying an error message saying "you can't modify the script while the game is running", a new onclick function appeared in my global script, related to that listbox.

This was reported before, should definitely be fixed in all affected versions.

Quote from: Baguettator on Tue 15/07/2025 15:54:36Last thing, about fonts : is it planned to be able to just import 1 font, and manipulate that font in the editor and in the game too using scripts ? Like changing its size, perhaps its style too (bold, italic etc...). It could be so convenient... But perhaps it's too complicate for now to have things working like that.

In the latest AGS 4 you can import only 1 font file and create any number of fonts from it, each with different settings. Is that what you are referring to?

"Style" (bold, italic) cannot be changed though since that's a property of a font file afaik: at least in the fonts that I've seen bold and italic styles require a separate font file. I suppose there's some trick that text processors use when registering font families, but idk if it's worth doing in AGS. If that's really necessary I guess a similar behavior could be implemented in the AGS Editor, where AGS would import not just 1 font file, but multiple font files as a "category" and choose one depending on a style. That's not a big priority though, since you can do same thing by hand, and the result shall be about the same.

In regards to modifying fonts in script, there have not been exact plans, but I suppose that eventually this may be done some day. Also, translation files could have a way to define larger range of the font settings that they use (because currently they may only tell which font number to use as "Normal font" and "Speech font", but nothing else). If translation is added after the game was finished then it may be inconvenient to choose a font which is uses without recompiling the game package.
#79
The game's native resolution is 640x480, thrice that is 1920x1440, not 1920x1080. Not sure what exactly they ended up with, but I assume a non-integer scaling factor and black bars on the sides.

Anyway, you should never prevent people from changing the display settings.
#80
Here's my situation :
- I'm using AGS 4
- I know that there is a ton of new features in the "API" (i.e. the scripting language).

Problem:

- I know of those new features by reading the "Releases" subforum.
- Those new features do not appear in the autocomplete, let alone in the CHM help file.

QUESTION: Is there a simple workflow that I could adopt to navigate the new features?

It's an open question: Anything suggestion would help. Even something less-than-ideal is welcome.

Right now I don't see any other way than browsing all the change logs in the forums, one by one?
SMF spam blocked by CleanTalk