collapse

Author Topic: Teleportation Move Help  (Read 361 times)

0 Members and 1 Guest are viewing this topic.

Offline Crabnek

  • Old Ghost
  • Contributor
  • ****
  • Posts: 486
  • Country: United States us
  • Last Login:October 23, 2023, 12:50:45 AM
  • I still poke in every now and then.
    • Crabnek
    • Skype - cosmosmeat
    • Infinity
Teleportation Move Help
« on: February 15, 2008, 07:45:06 PM »
I'd like to know if I can get any assistance in the coding of a teleportation move.

I don't mean like an Ashura(sp?) Warp such as Akuma and the evil shotos, I mean like in the Worm character (where he presses the button, disappears, and reappears a bit closer or farther from the opponent). Seeing as how I don't have the character to examine the code or any examples from any tutorials whatsoever, I was wondering if somebody could give me some help.



Offline Luis/Dshiznet

  • Infinity Regular
  • ****
  • Posts: 1277
  • Last Login:September 16, 2009, 04:58:10 PM
  • Aaron-sama
    • My myspace
    • Email
Re: Teleportation Move Help
« Reply #1 on: February 15, 2008, 08:49:04 PM »
theres a tutorial on how to do this on youtube
just youtube fighter factory and ull find the creator.

oh, and i think all u have to do is add a posadd.

Offline Error Macro

  • Never finishes anything
  • MUGEN Content Architect
  • *****
  • Posts: 1861
  • Country: United States us
  • Last Login:May 30, 2022, 05:37:56 AM
    • :)
    • Email
Re: Teleportation Move Help
« Reply #2 on: February 15, 2008, 11:05:11 PM »
theres a tutorial on how to do this on youtube
just youtube fighter factory and ull find the creator.

oh, and i think all u have to do is add a posadd.
Correct.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Teleportation Move Help
« Reply #3 on: February 16, 2008, 08:48:58 AM »
as they told you use a posadd ;)

I made it like these on my char... I made with three statedef.. first start teleporting... second the teleport use an invicible anim, and then the char appears again ;)

If you need more info just let me know and I post my code :)


sig made by shullbocka

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: Teleportation Move Help
« Reply #4 on: February 16, 2008, 09:12:29 AM »
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Crabnek

  • Old Ghost
  • Contributor
  • ****
  • Posts: 486
  • Country: United States us
  • Last Login:October 23, 2023, 12:50:45 AM
  • I still poke in every now and then.
    • Crabnek
    • Skype - cosmosmeat
    • Infinity
Re: Teleportation Move Help
« Reply #5 on: February 16, 2008, 12:51:36 PM »
as they told you use a posadd ;)

I made it like these on my char... I made with three statedef.. first start teleporting... second the teleport use an invicible anim, and then the char appears again ;)

If you need more info just let me know and I post my code :)

Could you?

Because I tried what it said in the video but I keep doing things wrong somehow, even though I'm sure I've been doing things correctly.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Teleportation Move Help
« Reply #6 on: February 16, 2008, 10:34:17 PM »
You could make the code using 2 or 3 statedef.. oln these code I have used only 2 (these depends on the anims that you are using)

[Statedef 1230]
type    = S
movetype= A
physics = S
ctrl = 0
velset = 0,0
anim = 1230 ; start telleport
sprpriority = 2

[State 1230, 1]
type = PlaySnd
trigger1 = Time = 2
value = 1230, 0


;use these to not get hit or dont add clsn2 ;)
[State 1230, NotHitBy]
type = NotHitBy
trigger1 = animelem = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
time = 40
;ignorehitpause =
;persistent =


[State 1230,3 ]
type = ChangeState
trigger1 = AnimTime = 0
value = 1231
ctrl = 0

[Statedef 1231]
type    = S
movetype= A
physics = S
ctrl = 0
velset = 0,0
anim = 1232;ending the teleport on these case the first three sprites of the anim are invicible the rest is the end of the teleport
sprpriority = 2

[State 1231, 1]
type = PosAdd
trigger1 = time = 0; at the beggining of the state when the invicible anims are active
x = 295 ;how much does the char is going to move

[State 1231, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1



You only need to modify the values :thumbsup:


sig made by shullbocka

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