collapse

Author Topic: Help with character introduction.  (Read 397 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomonari

  • Initiate
  • **
  • Posts: 33
  • Last Login:April 22, 2008, 06:04:08 PM
Help with character introduction.
« on: December 03, 2007, 07:51:12 PM »
I'm really stuck! Can someone help me program a character introduction for MUGEN? I don't know how to get it to work, and also, I want to add a sound for it as well.



Offline Sludge

  • MUGEN Content Architect
  • *****
  • Posts: 110
  • Last Login:March 22, 2024, 06:44:27 PM
Re: Help with character introduction.
« Reply #1 on: December 04, 2007, 12:53:15 AM »
we need more information to help you. Such as what part are you stuck on? Making an intro is exactly like making a punch:

use a stateno, set the animation, assertspecial "intro", and when the animation is over just changestate to 0

Offline Tomonari

  • Initiate
  • **
  • Posts: 33
  • Last Login:April 22, 2008, 06:04:08 PM
Re: Help with character introduction.
« Reply #2 on: December 05, 2007, 05:20:29 PM »
Ok, the spriting part I got. It's just the coding part I need help on. I have a statenum., and edited the coding, but it didn't seem to work.........

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Help with character introduction.
« Reply #3 on: December 05, 2007, 10:51:28 PM »
Can you post you're code so I can check what have you done?? :-w


sig made by shullbocka

Offline Tomonari

  • Initiate
  • **
  • Posts: 33
  • Last Login:April 22, 2008, 06:04:08 PM
Re: Help with character introduction.
« Reply #4 on: December 06, 2007, 05:27:26 PM »
[Statedef 190]
type = s
ctrl = 0
anim = 190
velset = 0, 0, 0

[Statedef 190, SndPan]
type = SndPan
trigger = AnimElem = 2
value = S2, 1
volume = 100
channel = 1
abspan = 160     ;pan = 50
;ignorehitpause =
;persistant =

Ok, there is the crappy code. It'll probably need lots of editing........ *note: intro uses two sprites, both used twice.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Help with character introduction.
« Reply #5 on: December 06, 2007, 10:31:09 PM »
to make the sound use a playsnd

you need to add a changestate at the end of the code

and you may need to add a assertspecial    flag = intro


I hope that helps you


sig made by shullbocka

Offline Tomonari

  • Initiate
  • **
  • Posts: 33
  • Last Login:April 22, 2008, 06:04:08 PM
Re: Help with character introduction.
« Reply #6 on: December 07, 2007, 05:33:05 PM »
Ok..............I am such a noob at coding..............I don't know how to get it to work still..........

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

[BOR] _Avengers United Battle Force_ by O Ilusionista
[Today at 12:35:24 PM]


Eternal Lament Stage 1.1 & 1.0 by O Ilusionista
[Today at 12:34:54 PM]


MatreroG's Stages W.I.P. Concepts by MatreroG
[Today at 07:00:56 AM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by ExShadow
[November 02, 2024, 04:54:41 AM]


Spooky House(1.1 Only/AIGS) by Vegaz by LightFlare
[October 31, 2024, 11:31:36 AM]


Rooftop Skyline(1.1 Only/AIGS) by Vegaz by LightFlare
[October 21, 2024, 12:13:37 PM]


Secluded Base(1.1 Only/AIGS) by Vegaz by LightFlare
[October 17, 2024, 01:21:06 PM]


Ultimate Balrog + stage by ELECTRO
[October 17, 2024, 05:40:31 AM]


Classic VS : Balrog by ELECTRO
[October 08, 2024, 04:35:53 PM]


IMT Tutorials and Documentation gone? by tehdevil
[October 06, 2024, 04:25:52 AM]

* IMT Calendar

November 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