[AGS 4] changes in alpha channel related properties [SOLVED]

Started by Monsieur OUXX, Tue 16/07/2024 15:13:42

Previous topic - Next topic

Monsieur OUXX

AGS 4

- The last parameter of DynamicSprite.Create used to be hasAlphaChannel. Now, it's an int named "format".
- Object DialogOptionsRenderingInfo used to have a property HasAlphaChannel which it no longer has.

The help file of AGS 4 has not been updated yet and I don't know where to look in the forums in order to find out where exactly those changes were introduced (and explained).

A little help?
 

eri0o

I have very little free time lately with work and everything else but I've been working in writing the ags4 updates but this isn't done yet and there isn't a proper place for it yet.

For dynamic sprites the change is explained in this PR and by searching in the PRs there should be information on the existing changes.

https://github.com/adventuregamestudio/ags/pull/2455

For now my plan is to work in my own fork until I (or someone) have a good idea about where and how to update things

https://github.com/ericoporto/ags-manual-wiki/issues

https://github.com/adventuregamestudio/ags-manual/issues/242

As always, this is free work done on free time, so I can't really dedicate as much now.

Monsieur OUXX

#2
Quote from: eri0o on Tue 16/07/2024 17:02:10For dynamic sprites the change is explained in this PR https://github.com/adventuregamestudio/ags/pull/2455

OK it's a bit clearer now, but what I fail to understand is if the alpha channel is still a thing or if it has been entirely obsoleted.

EDIT: I can see from the file's history that the alpha channel has been removed in april 2023 and it has nthing to do with the newly-introduced "format". So, what? Every sprite has an alpha channel now?

EDIT 2 : OK, I found this : https://github.com/adventuregamestudio/ags/pull/1813
 

Monsieur OUXX

 

eri0o

@Monsieur OUXX , since the latest release of ags4, the int format parameter has now been replaced by a proper enum and it's actually working now.

SMF spam blocked by CleanTalk