# Formula Diagonal Plataform  (Read 11959 times)

Started by -Extasis-, November 06, 2013, 01:06:03 am

#### -Extasis-

##### Formula Diagonal Plataform
New #1  November 06, 2013, 01:06:03 am
• Tu tiempo paso, tu ya no brilla'♪♫
its simple

down
Code:
`((root,Pos x+root,Camerapos x)+690)/112*27.5`

up
Code:
`-((root,Pos x+root,Camerapos x)+690)/112*27.5`

I use a helper, the beginning of the battle with a posset
as used in all the systems I've done

I will explain

I have a variable from the helper, identifies the positions with the player
varible that gives the value of Offset Y

+690
is the left side of the platform is subtracted, "to reset the value to 0"

/112
is the size Y of the platform and I always see them as a triangle

*27.5

I Use a scale of 2.5 at that stage, you will have another value

video

good luck
yo confio en que vuelvas a ser mi princesa ♥ ♪♫
Last Edit: November 11, 2013, 05:13:04 pm by -Extasis-

#### Blackscale299

##### Re: Formula for diagonal plataform DrukenT method
#2  November 09, 2013, 01:47:34 am
• NvP!
wow amaizing work man !

#### Saikoro

##### Re: Formula for diagonal plataform DrukenT method
#3  November 09, 2013, 02:51:18 am
• Portrait Prodigy EX+
I know nothing about coding and I find this extremely impressive. Wow!!
All of your Mugen Portrait needs may be found HERE.

I'd like to report two robots on the MFG forums: One is EXShadow. The other is Saikoro.
There should be a Saikoro plugin for Photoshop.

#### Negative Edge

##### Re: Formula for diagonal plataform DrukenT method
#4  November 09, 2013, 09:24:43 am
Some protips:

Use an assert special to remove the character's shadow and code your own as explod that binds to your characters X and y movement:

if using 1.1

type = Explod
trigger1 = !numexplod(xxxx)
id = xxxx
space = stage
pos = (pos x+camerapos X+0),(ifelse(statetype = A,0(,pos y+0)))

spripriority = -3
ignorehitpause = 1

WinMugen or 1.0

type = Explod
trigger1 = !numexplod(xxxx)
id = xxxx
postype = p1
pos =(pos x+0),(ifelse(statetype = A,0(,pos y+0)))

spripriority = -3
ignorehitpause = 1

type = RemoveExplod
trigger1 = statetype = A
id = xxxx
ignorehitpause = 1

The +0 can be adjusted to position the shadow on your character and it will pin to your position when moving up and down angled platforms and will vanish when jumping, One final thing, you may wanna adjust the angle movement values bit more because your character is still moving close to the edge when in angled movement.

Other than that, keep at it! I love seeing people do out of the ordinary stuff like this!
Last Edit: November 09, 2013, 09:48:17 am by -SyN-

#### -Extasis-

##### Re: Formula for diagonal plataform DrukenT method
#5  November 09, 2013, 11:20:25 am
• Tu tiempo paso, tu ya no brilla'♪♫
thx all guys,everything is open source

Some protips:

Use an assert special to remove the character's shadow and code your own as explod that binds to your characters X and y movement:

The +0 can be adjusted to position the shadow on your character and it will pin to your position when moving up and down angled platforms and will vanish when jumping, One final thing, you may wanna adjust the angle movement values bit more because your character is still moving close to the edge when in angled movement.

Other than that, keep at it! I love seeing people do out of the ordinary stuff like this!
thanks for add, but it was only to create this platform diagonal, I will not do any adaptation to gouki
I was thinking about that shadow, but I do not really develop anything with it

maybe i do more things like this
yo confio en que vuelvas a ser mi princesa ♥ ♪♫