Hello all Ags'er I am using the new version 3.5.0 Patch 2 and I was wonder to know how has this line of code been replaced with the new version?
system.viewport_width
Argh, this is going to be infinite problem now :(
E.g. https://www.adventuregamestudio.co.uk/forums/index.php?topic=58308.0
https://www.adventuregamestudio.co.uk/forums/index.php?topic=58286.0
I would like to know how may we improve this situation to let people find it out faster.
Currently you may find a hint if you look in the manual on corresponding command page, it should mention that the property is deprecated and what to use instead.
Also, "Upgrading to AGS 3.5.0" article has a table of correspondence between old and new functions.
Thanks CW for the quick answer though I am sorry for the inconvenience, I should have been looking better into the manual. Anyway Screen.Width seems to be working as intended, still thanks a lot for the answer and suggestions.
I have a thought that it might be possible to report replacement in error message when you compile script, but idk if it is easy to implement. I will investigate this when get some spare time.
It would be definitely a good idea to me, however if that's too complicated to implement I would avoid doing it, after all there is always the manual but this idea is very nice.