collapse

Author Topic: Resizing animations  (Read 770 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

Virtual Bart Science Fair by Lord_Enemil
[June 15, 2024, 08:23:51 PM]


Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]

* IMT Calendar

June 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