scaling

Game Editor comments and discussion.

scaling

Postby sonicforvergame » Fri Feb 21, 2014 5:17 pm

Can this happens:

animation--->collision---->animation width and weight get bigger

Any way is fine i just need one way to do it
Kaizoku ni ore wa naru
User avatar
sonicforvergame
 
Posts: 422
Joined: Sat Sep 01, 2012 2:17 pm
Score: 10 Give a positive score

Re: scaling

Postby CrackedP0t » Fri Feb 21, 2014 5:39 pm

There are two options, neither ideal:
  1. Make a bunch of animations and sequences, each the same but a different size.
  2. Use a canvas actor for the actor, and use the draw_from() function to draw the actor
/人 ◕‿‿◕ 人\
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: scaling

Postby digiot » Fri Feb 21, 2014 5:44 pm

If the "weight" is just a typo, a simple ChangeAnimation would do it. But as you
know certainly, you have to provide the larger animation somewhere,
GE 1.4 won't scale it for you !
In the case, there really is weight involved, you need to fiddle about with x/yvelocity or
directional_velocity, AFAIK.
P.S.: What about your sound archive, any chance you put it into the resources ?

Cheers !
P.S.2: CrackedP0t was faster, but double may help double !
User avatar
digiot
 
Posts: 211
Joined: Sat Mar 17, 2012 2:29 pm
Score: 7 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest