kofsky吧 关注:1,722贴子:56,829
  • 11回复贴,共1

屏幕校正教程

只看楼主收藏回复

此文章给于新手学习 熟手们请勿喷
屏幕校正
BY :佐手の天下
代码复制到 -3或者-2里面
=================================================================================
[State 0, Helper]
type = Helper
triggerall = StateNo =[180,189] 只在180到189的st有效
trigger1 = NumHelper(13)=0 不能有重复的he出现
helpertype = normal
name = "屏幕校正"
ID = 13
stateno = 777
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 0
supermovetime = 0
pausemovetime = 0
[State 0, Helper]
type = Helper
triggerall = StateNo =[180,189] 只在180到189的st有效
trigger1 = NumHelper(12)=0 不能有重复的he出现
helpertype = normal
name = "屏幕校正"
ID = 12
stateno = 888
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 0
supermovetime = 0
pausemovetime = 0
=================================================================================
下面代码复制到系统里面
[Statedef 777]
type = S
movetype = A
physics = S
juggle = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 999
[State 0, lockCamera1]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 5,0 屏幕x移动5方向
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1
[state a]
type = velset
trigger1 = 1
x = 5 屏幕x移动5方向
[State 1000, 0]
type = PlayerPush
trigger1 = 1
value = 0
[state a]
type = destroyself
trigger1 = root,stateno != [180,189]
[Statedef 888]
type = S
movetype = A
physics = S
juggle = 0
poweradd= 0
velset = 0,0
ctrl = 0
anim = 999 air见最底下
[State 0, lockCamera1]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = -5,0 屏幕x移动-5方向
[state 2901,1]
type = nothitby
trigger1 = 1
value = SCA
time = -1
[state a]
type = velset
trigger1 = 1
x = -5 屏幕x移动-5方向
[State 1000, 0]
type = PlayerPush
trigger1 = 1
value = 0
[state a]
type = destroyself
trigger1 = root,stateno != [180,189]
下列air复制到人物里
;
[Begin Action 999]
-1,0, 0,0, 1,


IP属地:广东1楼2014-10-30 21:57回复


    IP属地:广东2楼2014-10-30 22:10
    回复


      IP属地:广东3楼2014-10-30 22:13
      回复
        顶你


        IP属地:美国4楼2014-10-30 22:50
        回复
          屏幕矫正啥意思。。


          来自Android客户端5楼2014-10-31 13:36
          回复
            其实除了这个还有一点,2p通过识别1p变量后,进入不锁屏状态,完成拉近1p的效果
            [State 9904, 不绑定在镜头中]
            type =ScreenBound
            ;trigger1 = Enemy,stateno=[2500,2999]
            trigger1 = Enemy,var(5) = 30
            value=0


            IP属地:江苏6楼2014-10-31 20:29
            收起回复
              大神们都是这么屌


              IP属地:广东7楼2014-11-01 07:12
              回复
                我看看不懂


                来自Android客户端8楼2014-11-02 02:46
                回复