YesNoOk
avatar

Intros that involve Player 2? (Read 2490 times)

Started by altoiddealer, November 27, 2013, 05:52:44 am
Share this topic:
Intros that involve Player 2?
#1  November 27, 2013, 05:52:44 am
  • **
    • USA
    • altoiddealer@gmail.com
I'm working on a custom sprited character, Jailbot, from the cartoon series Superjail!

I'm still in the spriting phase and have yet to study the coding aspect.  However, I have a "unique" idea that I don't believe is possible, but I really want to have this clarified before I entertain the idea any longer.

Two of Warner's characters, Peter Griffin & Homer, each have a custom intro coded for when they fight each other: Homer always kicks Peter across the screen when they fight.

My Question:  Is it possible to delay an opposing random fighter's intro to make them first walk on-screen, perform their "throw" animation, then walk back off, before resume their intro?

For this particular intro that I have in mind, I would like the opposing fighter to throw a rock at Jailbot.

Has this been done? Is it possible?

Thanks!
Last Edit: November 28, 2013, 12:14:57 am by altoiddealer
Re: Intros that involve Player 2?
#2  November 27, 2013, 03:56:37 pm
  • *****
  • Mega Klinklang confirmed
    • USA
    • ricepigeon.webs.com

  • Online
Its been done and is certainly possible, but it would require synchronizing both characters' intros. AFAIK, theres no way to actually interrupt a character's intro without coding the intro into both characters and using name triggers.

<<-- Updated 09/14/14

You limit yourself so badly when you try to avoid variables. When you get over your fear of the "complexity" of variables, you will find yourself in a better place: A beautiful world where coding is actually fun.
Re: Intros that involve Player 2?
#3  November 28, 2013, 12:12:26 am
  • **
    • USA
    • altoiddealer@gmail.com
Thanks for the reply!  This intro I have in mind can also work with an NPC... so when Jailbot's almost completed, I'll just code it both ways and see if anyone is interested in having their character toss a rock at him :)

I'll keep the question on the table, though, in case someone knows some workaround to do this.
Re: Intros that involve Player 2?
#4  December 03, 2013, 10:53:55 pm
  • ****
  • - Might get annyoing from time to time.
    • Poland
    • humanshideout.webs.com/
I did it once, pretty easy:

Code:
[State 190, ChangeState]
type = ChangeState
trigger1 = Enemy, Name = "RyuKOP" && Enemy, AuthorName = "Human"
value = 192

trigger - if enemy name and author is x and y then state goes to z, if you use this in both characters working at each other it will synchronize them (as they start at the same moment.