YesNoOk
avatar

Is there a way to call a stages p1 starting x position? (Read 15835 times)

Started by MarioManX1983, September 25, 2021, 11:54:25 PM
Share this topic:
Is there a way to call a stages p1 starting x position?
#1  September 25, 2021, 11:54:25 PM
  • *
  • Expert Noob
  • I am a lover and a fighter!
    • USA
I am trying to make an intro where the character walks into screen and stops at the position that they normally would be at the start of the round.

I understand that this has to do with the "[PlayerInfo] p1startx =" in the stages .def file and I was thinking I could use the "p1startx =" value as a trigger in the following VelSet.

Spoiler, click to toggle visibilty

The *** is where the trigger will go. So that this VelSet will make the character walk forward until they reach the stages starting x position. So is there any way to call a stages [PlayerInfo] / p1startx ?
May you always win every round, both in MUGEN and Life. :)
Re: Is there a way to call a stages p1 starting x position?
#2  September 26, 2021, 01:22:25 AM
  • ******
  • just a league, international
    • USA
    • network.mugenguild.com/jmorphman
Unfortunately no. The best way to approach this is to save the starting position (i.e., P1's position right at the start of the match) using a variable and then keep that stored for as long as you need it.

EDIT: for these types of intros, some people like to just make the character invisible, and then use a helper or an explod to simulate the character moving around before returning to their start position. That way, you'd always know the start position (because the character is still there, standing invisibly), and can move around the helper or explod easily without ever having to worry that you might end up placing the character off from where they're supposed to be.

I've never actually used this method before but it seems way more sound than moving the actual character around (which is how I've always done it)
Last Edit: September 26, 2021, 01:36:35 AM by Jmorphman
Re: Is there a way to call a stages p1 starting x position?
#3  September 26, 2021, 01:35:11 AM
  • *****
  • Resident Tosspot
  • Pftheh
    • UK
    • plasmoidthunder.neocities.org
It's usually best to have the character be invisible and instead have a Helper or Explod move to that position.

Oh, I want a diagram. I fucking love diagrams.
Re: Is there a way to call a stages p1 starting x position?
#4  October 01, 2021, 08:27:05 PM
  • *
  • Expert Noob
  • I am a lover and a fighter!
    • USA
Thank you both for your advice. I will try your suggestions.
May you always win every round, both in MUGEN and Life. :)