collapse

Author Topic: Resizing animations  (Read 702 times)

0 Members and 1 Guest are viewing this topic.

Offline shastab24

  • Initiate
  • **
  • Posts: 98
  • Country: United States us
  • Last Login:March 10, 2024, 04:31:10 AM
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 : Athena by ELECTRO
[May 10, 2024, 02:44:09 PM]


Ballroom Hallway (1.1 Only/AIGS) by Vegaz by LightFlare
[May 09, 2024, 11:53:48 AM]


Neon Light Force Demo by kyoman
[May 08, 2024, 12:50:05 PM]


D2TD VS Showcase Thread by D2TD
[May 05, 2024, 10:08:50 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[April 21, 2024, 12:09:20 PM]


Ultimate E. Honda + stage by ELECTRO
[April 18, 2024, 09:47:24 PM]


Sunset Beach (1.1 Only/AIGS) by Vegaz by LightFlare
[April 16, 2024, 06:55:00 PM]


Wonder Twins 2.0 by brucewayne74, Shining and Skhsato123 by brucewayne74
[April 05, 2024, 06:07:48 PM]


X-Men Training Room (Bright & Dark) Stage 1.1 & 1.0 by MatreroG
[April 05, 2024, 10:55:29 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[April 01, 2024, 11:03:03 PM]

* IMT Calendar

May 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 31

SimplePortal 2.3.5 © 2008-2012, SimplePortal