3.5 upgrade and now ViewpointHeight errors

Started by morph100, Fri 28/02/2020 15:28:46

Previous topic - Next topic

morph100

Upgraded to 3.5 and now I've got errors in DialogScript.asc about ViewPortHeight and ViewportWidth which according to the release notes are no longer used in favour of screen properties but Ive no idea what to change them to?

This is from my Tumbleweed scripts

Cassiebsg

There are those who believe that life here began out there...

morph100

Quote from: Cassiebsg on Fri 28/02/2020 15:39:08
Viewports have changed how they work.
See here for more info: https://github.com/adventuregamestudio/ags-manual/wiki/UpgradeTo35

Amazing, I had a fair few to find and replace but that link covered them all!

Crimson Wizard

#3
The offline manual that comes with AGS also contains "Upgrade to XXX" topics, found under the "Getting Started" folder in contents, they cover major differences for several versions, in case you upgrade from much older AGS.

Also you can always set "Script compatibility level" (in General Settings) to your previous version, and that should enable old functions.

SMF spam blocked by CleanTalk