I hope this is my method able to help them with this in their creations
;Sistem Control zoom
[State -2, Helper]
type = Helper
triggerall = id=56
triggerall = Numhelper(1010)=0
trigger1 = 1
helpertype = normal
name = "Zoom Derecha"
ID = 1010
stateno = 1010
pos = 0,0
postype = p1
ignorehitpause = 1
persistent = 0
[State -2, Helper]
type = Helper
triggerall = id=56
triggerall = Numhelper(1011)=0
trigger1 = 1
helpertype = normal
name = "Zoom izquierda"
ID = 1011
stateno = 1011
pos = 0,0
postype = p1
ignorehitpause = 1
persistent = 0
states
[Statedef 1010, State 1010]
type = S
movetype = I
physics = N
anim = 5400 :anim empy
;---------------------------------------------------------------------------------------------------------------------
;intro (effect zoom for intro)
[State 1010, VarSet] ;this identifies that motion apply
type = VarSet
triggerall = fvar(1)=0
trigger1 = Root,Var(50)=1
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=1
trigger1 = fvar(1)=[1,21] ;time to used for zooming
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=1
trigger1 = fvar(1)=[1,21];value of zoom
fv = 2
value = ifelse((fvar(1)=[1,6]),4,ifelse((fvar(1)=[6,11]),2,ifelse((fvar(1)=[11,21]),1,0)))
ignorehitpause = 1
;---------------------------------------------------------------------------------
[State 1010, PosSet]
type = PosSet;formula
trigger1 = 1
x = (-140+fvar(2))+Camerapos X-Playerid(57),Camerapos X
ignorehitpause = 1
[State 1010, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 1
movecamera = 1,1
ignorehitpause = 1
for 1011 is exactly the same only
in the posset used this
instead of adding, subtracting
[State 1011, PosSet]
type = PosSet
trigger1 = 1
x = (140-fvar(2))+Camerapos X-Playerid(57),Camerapos X
ignorehitpause = 1
to activate the movement
[State 0, VarSet]
type = VarSet
triggerall = var(50)=0
trigger1 = !time
v = 50
value = 1
for combos
State of hit,activation of the movement is to be executed
[State 210, VarSet]
type = VarSet
trigger1 = movehit=1
v = 50
value = 2
ignorehitpause = 1
persistent = 0
scrlts for helpers
;---------------------------------------------------------------------------------------------------------------------
;Golpe 210
[State 1010, VarSet]
type = VarSet
triggerall = fvar(1)=22 ;Initial size value, this is defined by the intro
trigger1 = Root,Var(50)=2;Var 50 = 2 motion Activated
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=2
trigger1 = fvar(1)=[1,9];time to use
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=2
trigger1 = fvar(1)=[1,9];zoom value using time
fv = 2
value = 2
ignorehitpause = 1
[State 1010, VarSet]
type = VarSet;to ensure the correct value for the next combo and can return to normal zoom
triggerall = Root,var(50)=2
trigger1 = playerid(56),anim=220&&playerid(56),time=[0,16]
fv = 3
value = ((64-fvar(2))/8)
[State 1010, VarSet]
type = VarSet
triggerall = Root,Var(50)=2
trigger1 = fvar(1)=10
fv = 1
value = -30 ;Use negative time, so sctrls, if not intercalated in
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=2
trigger1 = fvar(1)=[-30,-2]; 28ticks equals time
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=2
trigger1 = fvar(1)=[-9,-2] ;zoom returm
fv = 2
value = -2
ignorehitpause = 1
[State 1010, VarSet]
type = VarSet;reset to value assigned by the intro
triggerall = fvar(1)=-1
trigger1 = Root,Var(50)=-1
fv = 1
value = 22
ignorehitpause = 1
next combo
need use new value for 50
[State 220, VarSet]
type = VarSet
trigger1 = movehit=1
v = 50
value = 3
ignorehitpause = 1
persistent = 0
scrlts for helpers
;---------------------------------------------------------------------------------------------------------------------
;Golpe 220
[State 1010, VarSet]
type = VarSet
triggerall = fvar(1)=[-10,-1]: previous combo time
trigger1 = Root,Var(50)=3
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=[1,9] ; time
fv = 1
value = 1
ignorehitpause = 2
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=[1,9];zoom value the fvar(3) Automatic assigns it
fv = 2
value = fvar(3);
ignorehitpause = 1
[State 1010, VarSet]
type = VarSet
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=10;reset for new time to use
fv = 1
value = -70
ignorehitpause = 1
[State 1010, VarSet];reset value of the formula fails
type = VarSet
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=-70
fv = 2
value = 64
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=[-70,-41];ticks negative, is -70,-41 really is 29 ticks
fv = 1
value = 1
ignorehitpause = 1
[State 1010, VarAdd]
type = VarAdd
triggerall = Root,Var(50)=3
trigger1 = fvar(1)=[-47,-42]; zoom returm
fv = 2
value = -4
ignorehitpause = 1
[State 1010, VarSet]
type = VarSet;reset
triggerall = fvar(1)=-40
trigger1 = Root,Var(50)=-1
fv = 1
value = 22
ignorehitpause = 1
Reset
;reset var hits zoom
[State -2, VarSet]
type = VarSet
triggerall = var(50)=2||var(50)=3
trigger1 = helper(1010),Fvar(1)=-1&&var(50)=2
trigger2 = helper(1010),Fvar(1)=-40&&var(50)=3
v = 50
value = -1
ignorehitpause = 1
For you like the zoom with pos Y
this
1010
(-140+fvar(2))+(Camerapos X+CameraPos Y)-Playerid(57),Camerapos X+PlayerId(57),CameraPos Y
1011
(140-fvar(2))+(Camerapos X-CameraPos Y)-Playerid(57),Camerapos X-PlayerId(57),CameraPos Y
you can control speed, dividing the camerapos Y
(Camerapos Y/2)
testing stage
https://mega.co.nz/#!Vl80DKjK!OLEw0me-HiFkECXFFcer-keH_adh412EDqqlgAIcxL8
honestly, I will not explain everything, explain what you actually need to use
you have to at least know, using variables, I not explain it to newbies
if they want to work for player 2 is the id 57,you can add
if you do your zoom system, & was based on mine, please mention credits, thanks to all
in action
http://www.youtube.com/watch?v=15hygNmVd9I