Resizing Sprites in Game Editor

Talk about making games.

Resizing Sprites in Game Editor

Postby CrackedP0t » Thu Jan 09, 2014 3:54 am

Is there any way to easily resize sprites within Game Editor?
/人 ◕‿‿◕ 人\
Fang Pictures, my game development company:
http://fangpictures.comuf.com
User avatar
CrackedP0t
 
Posts: 157
Joined: Mon Dec 30, 2013 5:49 pm
Location: Crested Butte, CO (The US of A)
Score: 8 Give a positive score

Re: Resizing Sprites in Game Editor

Postby DarkParadox » Thu Jan 09, 2014 4:29 am

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.
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: Resizing Sprites in Game Editor

Postby CrackedP0t » Thu Jan 09, 2014 10:38 pm

Alright, thanks.
/人 ◕‿‿◕ 人\
Fang Pictures, my game development company:
http://fangpictures.comuf.com
User avatar
CrackedP0t
 
Posts: 157
Joined: Mon Dec 30, 2013 5:49 pm
Location: Crested Butte, CO (The US of A)
Score: 8 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest