collapse

Author Topic: Resizing animations  (Read 868 times)

0 Members and 1 Guest are viewing this topic.

Offline shastab24

  • Initiate
  • **
  • Posts: 98
  • Country: United States us
  • Last Login:August 31, 2024, 10:56:03 PM
Resizing animations
« on: May 17, 2015, 02:23:22 AM »
I was wondering how one would code an animation to be a different size.  I see that Dr. Manhattan does this (in a move where he becomes giant and punches the ground) and was wondering how it's done.  I ask because it seems like it could be a route to go for putting character names at the life bars of low-res characters that's not changing the resolution of the entire character.  After all, as it stands, resizing to as small as low-res characters require makes some of the names darn near unreadable, if you do it through something like GIMP (which I use).



Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Resizing animations
« Reply #1 on: May 19, 2015, 05:03:53 AM »
Using angledraw you can assign a scale to sprites. By using a variable that increments you can assign an over time increase.

Lets make some stuff up. This will scale your character to double his size over 2 seconds

type = varset
trigger1 = time = 0
fvar(0) = 1.0

type = varadd
trigger1 = time > 0
fv = 0
value = 0.05

type = angledraw
trigger1 = 1
scale = fvar(0), fvar(0)

Simplistic and you'll need to fiddle. Also has no maximum scale applied. Play round. Clsn boxes will NOT scale when you do this, you'll need to guess them in the air file for when you need them.

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Classic VS : Balrog by ELECTRO
[September 25, 2024, 11:44:58 PM]


Justice League Seattle Stage by Vegaz by LightFlare
[September 23, 2024, 12:14:06 PM]


Ancient Gears Stage 1.1 & 1.0 by MatreroG
[September 20, 2024, 11:59:18 AM]


Justice League Metropolis Stage by Vegaz by LightFlare
[September 16, 2024, 11:57:49 AM]


Ultimate Mai Shiranui (FF2 & FF3) by nickfurry
[September 15, 2024, 02:27:53 AM]


thunderstrike eric masterson by Blagoy
[September 12, 2024, 02:41:33 PM]


Justice League Gotham Stage by Vegaz by LightFlare
[September 11, 2024, 09:41:42 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[September 07, 2024, 03:06:46 AM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[September 06, 2024, 01:27:09 PM]


Justice League Flash Stage by Vegaz by LightFlare
[September 03, 2024, 10:30:40 AM]

* IMT Calendar

September 2024
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 [26] 27 28
29 30

SimplePortal 2.3.5 © 2008-2012, SimplePortal