Hi, 2 questions:
1) I got one sprite that's a bit too small but I don't want to reupload/recreate sprite, just wanna scale it. Trying to follow the example of 'character.scaling' but no luck.
guard.ManualScaling = true;
guard.Scaling = 50;
Gives me a parse error: unexpected "guard"
2) I'm using continuous scaling at the moment, but is there a way I could also scale the characters in the editing window before I click play? Because right now they're taking up a huge amount of space.
https://ibb.co/c6jb42m
Quote from: Alice24 on Sat 03/02/2024 14:17:431) I got one sprite that's a bit too small but I don't want to reupload/recreate sprite, just wanna scale it. Trying to follow the example of 'character.scaling' but no luck.
guard.ManualScaling = true;
guard.Scaling = 50;
Gives me a parse error: unexpected "guard"
This is not a issue with scaling, but likely you put this code in an incorrect place. All the commands in AGS script must be placed inside some function. For example, you could do this in "game_start" if you want to set this up only once for the rest of the game, or particular room's event "before fade-in" which is called when room is loaded.
Quote from: Alice24 on Sat 03/02/2024 14:17:432) I'm using continuous scaling at the moment, but is there a way I could also scale the characters in the editing window before I click play? Because right now they're taking up a huge amount of space.
https://ibb.co/c6jb42m
No, unfortunately, Editor does not scale characters at the moment.
Thanks! Issue fixed :-D
As for number 2- darn, hopefully it will be addressed in a future update! Really enjoying this engine so far!