collapse

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

[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]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]

* 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