Page 1 of 1

Resizing Sprites in Game Editor

PostPosted: Thu Jan 09, 2014 3:54 am
by CrackedP0t
Is there any way to easily resize sprites within Game Editor?

Re: Resizing Sprites in Game Editor

PostPosted: Thu Jan 09, 2014 4:29 am
by DarkParadox
At the moment, there's really only one way to do this, and it's not really an optimal solution. But, if you're just looking for a way to draw and actor larger, it should suffice. The draw_from function allows you to draw an actor on a canvas, including scaling it up or down.
Code: Select all
draw_from("Actor_Name", 0,0, 1);

Where the 0's are X and Y position on the canvas (relative to its top left corner) and 1 is the scale.

If you insert the function through the script editor's variable/functions menu there's a handy GUI as well.

Also, the 1.5 version of Game-Editor that's in development uses the OpenGL renderer and supports normal scaling through the actor panel, but it's very incomplete and I wouldn't suggest using it right now.

Re: Resizing Sprites in Game Editor

PostPosted: Thu Jan 09, 2014 10:38 pm
by CrackedP0t
Alright, thanks.