# MUGEN 1.1 Video tutorial on 3D Parallax Stage (Width Type) (Read 6244 times)

Started by beterhans, June 23, 2019, 06:17:53 PM

#### beterhans

##### MUGEN 1.1 Video tutorial on 3D Parallax Stage (Width Type)
#1  June 23, 2019, 06:17:53 PM
My Website down.....

#### Master Yoda

##### Re: MUGEN 1.1 Video tutorial on 3D Parallax Stage (Width Type)
#2  November 18, 2019, 12:36:08 AM
Interesting video.
Now when the sprite has no displacement (in x), how do you calculate the scaledelta parameter?

In the sff= 0, 0
In the def => start = 0, 440

[BG 3D_Wall_right]
type         = normal
spriteno      = 0, 1
start         = 0,440
delta      = 0.45217, 1
scalestart      = 1,1
scaledelta   =    ;value 1 = 1/0 * 1?

#### beterhans

##### Re: MUGEN 1.1 Video tutorial on 3D Parallax Stage (Width Type)
#3  November 18, 2019, 06:44:49 AM
Interesting video.
Now when the sprite has no displacement (in x), how do you calculate the scaledelta parameter?

In the sff= 0, 0
In the def => start = 0, 440

[BG 3D_Wall_right]
type         = normal
spriteno      = 0, 1
start         = 0,440
delta      = 0.45217, 1
scalestart      = 1,1
scaledelta   =    ;value 1 = 1/0 * 1?

I didn't get your point? can describe it more in detail?
My Website down.....

#### Master Yoda

##### Re: MUGEN 1.1 Video tutorial on 3D Parallax Stage (Width Type)
#4  November 18, 2019, 10:59:05 PM

Quote
;value 1 = 1/400 * scalestart (1 means double x in size pre 1px cam move); (Sprit x / distance to center / sprite x * scalestart) in short 1/distance to center * scalestart

[BG 3D_Wall_right]
type         = normal
spriteno      = 0, 1
start         = 400,440
delta         = 0.45217, 1
scalestart      = 1,1
scaledelta      = -0.0025,0
zoomdelta      = 1

My question was how does the scaledelta parameter calculate if the distance to the center is equal to zero?
In that case maybe the formula would not be applicable

[BG 3D_Wall_right]
type         = normal
spriteno      = 0, 1
start         = 0,440
delta         = 0.45217, 1