Пример #1
0
    void Update()
    {
        //ESCによるゲーム終了
        if (Input.GetKeyDown(KeyCode.Escape))
        {
            if (SceneManager.GetActiveScene().name == "title")
            {
                Application.Quit();
                Debug.Log(SceneManager.GetActiveScene().name);
            }
            else
            {
                ComonScript.Getting(true, 0);
            }
        }

        //カメラシェイク
        if (shakestop == false)
        {
            Camera.main.transform.position = new Vector3(Random.Range(-1 * x, x), Random.Range(-1 * x, x), -10);
            if (x > 0)
            {
                x -= 0.005f;
            }
            else
            {
                x = 0;
            }
        }
        else
        {
            x = 0;
        }
    }
Пример #2
0
    // Update is called once per frame
    void Update()
    {
        ComonScript.Getting(dl, 1);
        t++;
        if (t > 0 && t < 20)
        {
            rw.transform.position += Vector3.right * 1.2f;
            lw.transform.position += Vector3.left * 1.2f;
        }
        if (t > 30 && t < 120)
        {
            tm.fontSize          += 3;
            tm.color              = new Color(tm.color.r, tm.color.g, tm.color.b, 1 - (t - 40) * 0.02f);
            tm.transform.position = new Vector3(-t / 6f + 2.5f, t / 6f - 4f, -1);
        }
        if (t == 20)
        {
            auso.PlayOneShot(gob);
            Playercl      = Instantiate(Player, new Vector3(-7, 7, -1), Quaternion.identity) as GameObject;
            Playercl.tag  = "Player1";
            Playercl2     = Instantiate(Player2, new Vector3(7, 7, -1), Quaternion.identity) as GameObject;
            Playercl2.tag = "Player2";
        }
        if (t >= 50)
        {
            if (Playercl == null && pd1)
            {
                auso.PlayOneShot(bon);
                pd1 = false;
                dn++;
            }
            if (Playercl2 == null && pd2)
            {
                auso.PlayOneShot(bon);
                pd2 = false;
                dn++;
            }

            /*
             * if (Player3cl == null && pd3 && (TitleScript.selectmode == "sannin" || TitleScript.selectmode == "yonin"))
             * {
             *  bon.PlayOneShot(bon.clip);
             *  pd3 = false;
             *  dn++;
             * }
             * if (Player4cl == null && pd4 && TitleScript.selectmode == "yonin")
             * {
             *  bon.PlayOneShot(bon.clip);
             *  pd4 = false;
             *  dn++;
             * }
             */
            if (dn >= 1)
            {
                End();
                at++;
                bgm.volume -= 0.02f;
            }
        }
    }
Пример #3
0
 // Update is called once per frame
 void Update()
 {
     ComonScript.Getting(dl, 0);
     ComonScript.kando = geji.GetComponent <Slider>().value;
     if (modoru.GetComponent <ButtonScript>().button == true)
     {
         dl = true;
     }
     if (yawai.GetComponent <ButtonScript>().button == true)
     {
         Zenkeshi();
         ComonScript.nanid = 0;
         yawai.GetComponent <Text>().color = Color.red;
     }
     else if (hutsu.GetComponent <ButtonScript>().button == true)
     {
         Zenkeshi();
         ComonScript.nanid = 1;
         hutsu.GetComponent <Text>().color = Color.red;
     }
     else if (katai.GetComponent <ButtonScript>().button == true)
     {
         Zenkeshi();
         ComonScript.nanid = 2;
         katai.GetComponent <Text>().color = Color.red;
     }
     if (tyuto.GetComponent <ButtonScript>().button == true)
     {
         ComonScript.Getting(true, 6);
         ComonScript.Getting(true, 6);
     }
 }
Пример #4
0
    // Update is called once per frame
    void Update()
    {
        ComonScript.Getting(dl, scene);
        //移動距離
        if (t >= 0)
        {
            GestureScript.flick = 0;
            moves = 5f * Mathf.Sin(t / 19.385f * toward);
            t--;
        }
        else
        {
            n2 = false;
        }

        //回転
        transform.Rotate(new Vector3(0f, 1000f, 0), moves);
        //フリック反応
        if (n2 == false)
        {
            if (GestureScript.flick == -1 || Input.GetKeyDown(KeyCode.RightArrow))
            {
                t      = 19;
                toward = 1;
                chara++;
                n2 = true;
                audio.PlayOneShot(select);
            }
            if (GestureScript.flick == 1 || Input.GetKeyDown(KeyCode.LeftArrow))
            {
                t      = 19;
                toward = -1;
                chara--;
                n2 = true;
                audio.PlayOneShot(select);
            }
        }

        switch (chara % 8)
        {
        case 0:
            name.text    = "ウンコボーイ";
            special.text = "一番オーソドックス\nジャンプは高く移動は遅い";
            aglx         = 0.3f;
            jmpx         = 0.6f;
            atkx         = 0.5f;
            break;

        case 1:
            name.text    = "ブリリーヌ";
            special.text = "ウンコボーイより早いが\nその分飛距離が低い";
            aglx         = 0.6f;
            jmpx         = 0.5f;
            atkx         = 0.6f;
            break;

        case 2:
            name.text    = "フンデルセン";
            special.text = "早く移動し高く飛ぶが\n遠くには跳べない";
            aglx         = 0.9f;
            jmpx         = 0.8f;
            atkx         = 0.2f;
            break;

        case 3:
            name.text    = "ゲーリー";
            special.text = "能力は低めだが\n2段ジャンプができる";
            aglx         = 0.3f;
            jmpx         = 0.9f;
            atkx         = 0.7f;
            break;

        case 4:
            name.text    = "ゲリクソンJr.";
            special.text = "良く跳ねるので\n積極的に跳ぼう";
            aglx         = 0.4f;
            jmpx         = 0.3f;
            atkx         = 0.8f;
            break;

        case 5:
            name.text    = "ナガシマ=ショウ";
            special.text = "空中でもわずかに\n移動ができる";
            aglx         = 0.7f;
            jmpx         = 0.5f;
            atkx         = 0.5f;
            break;

        case 6:
            name.text    = "スカラベ";
            special.text = "弾を上に打つため\n下からでも勝てるかも";
            aglx         = 0.7f;
            jmpx         = 0.4f;
            atkx         = 0.5f;
            break;

        case 7:
            name.text    = "ベンザスキー";
            special.text = "移動は鈍重だけど\nと重いので隙が少ない";
            aglx         = 0.2f;
            jmpx         = 0.4f;
            atkx         = 0.3f;
            break;

        default:
            break;
        }

        if (modoru.GetComponent <ButtonScript>().button == true)
        {
            ComonScript.Getting(true, 0);
            ComonScript.Getting(true, 0);
        }

        if (GestureScript.tap == 1 && n == false)
        {
            dl = true;
            audio.PlayOneShot(kime);
            n = true;
            if (TitleScript.minnamode)
            {
                scene = 4;
            }
            else
            {
                scene = 3;
            }
            //光らせるぞー ひかった
        }
    }
Пример #5
0
    // Update is called once per frame
    void Update()
    {
        ComonScript.Getting(dl, mode);
        //タイミングを合わせる
        if (t < 50)
        {
            if (!PhotonNetwork.CurrentRoom.TryGetStartTime(out int timestamp))
            {
                return;
            }
            eTime = Mathf.Max(unchecked (PhotonNetwork.ServerTimestamp - timestamp) / 1000f);
        }
        if (eTime >= 1.0f)
        {
            t += Time.deltaTime * 60;
        }
        //壁
        if (t > 0 && t < 50)
        {
            rw.transform.position += Vector3.right * 1.2f;
            lw.transform.position += Vector3.left * 1.2f;
        }
        //GO
        if (t > 30 && t < 120)
        {
            tm.fontSize          += 3;
            tm.color              = new Color(tm.color.r, tm.color.g, tm.color.b, 1 - (t - 40) * 0.02f);
            tm.transform.position = new Vector3(-t / 6f + 2.5f, t / 6f - 4f, -1);
        }
        //キャラ生成(デルタタイムにしているためスイッチの方式をとっている)
        if (t >= 20 && but1 == false)
        {
            auso.PlayOneShot(gob);
            if (PhotonNetwork.LocalPlayer.IsMasterClient)
            {
                Playercl = PhotonNetwork.Instantiate(Player.name, new Vector3(-7, 7, -1), Quaternion.identity) as GameObject;
            }
            else
            {
                Playercl = PhotonNetwork.Instantiate(Player.name, new Vector3(7, 7, -1), Quaternion.identity) as GameObject;
            }
            but1 = true;
        }
        if (t > 50)
        {
            if (someonesdeath)
            {
                auso.PlayOneShot(bon);
                someonesdeath = false;
                dn++;
            }
            //エラー
            if (PhotonNetwork.CurrentRoom.PlayerCount != 2 && dn == 0)
            {
                tm.fontSize           = 25;
                tm.transform.position = new Vector3(-10f, 4f, -1);
                tm.color = new Color(tm.color.r, tm.color.g, tm.color.b, 1);
                tm.text  = "5o\\";
                dn++;
            }

            /*
             * if (Playercl2 == null && pd2)
             * {
             *  auso.PlayOneShot(bon);
             *  pd2 = false;
             *  dn++;
             * }
             * if (Player3cl == null && pd3 && (TitleScript.selectmode == "sannin" || TitleScript.selectmode == "yonin"))
             * {
             *  bon.PlayOneShot(bon.clip);
             *  pd3 = false;
             *  dn++;
             * }
             * if (Player4cl == null && pd4 && TitleScript.selectmode == "yonin")
             * {
             *  bon.PlayOneShot(bon.clip);
             *  pd4 = false;
             *  dn++;
             * }
             */
            if (dn >= 1)
            {
                End();
                at         += Time.deltaTime * 60;
                bgm.volume -= 0.02f;
            }
        }
    }
Пример #6
0
 void Update()
 {
     ComonScript.Getting(dl, scene);
     if (modoru.GetComponent <ButtonScript>().button == true)
     {
         dl    = true;
         scene = 0;
         PhotonNetwork.LeaveRoom();
     }
     else
     {
         if (PhotonNetwork.InRoom)
         {
             if (PhotonNetwork.CurrentRoom.PlayerCount == 2)
             {
                 serching = false;
                 point.GetComponent <Text>().text = "qepy 3ew T\nnztljdq";
                 room.IsOpen = false;
             }
         }
         else
         {
             room.MaxPlayers = 2;
             room.IsOpen     = true;
             PhotonNetwork.CreateRoom("" + n, RoomPropertyScript.CreateRoomOptions("" + n), TypedLobby.Default);
             n++;
         }
         if (serching)
         {
             t++;
             if (0 < t && t < 100)
             {
                 point.GetComponent <Text>().text = "qepy 3ew !\nxTdw ejr>";
             }
             else if (100 < t && t < 200)
             {
                 point.GetComponent <Text>().text = "qepy 3ew !\nxTdw ejr>>";
             }
             else if (200 < t && t < 300)
             {
                 point.GetComponent <Text>().text = "qepy 3ew !\nxTdw ejr>>>";
             }
             else if (t > 300)
             {
                 t = 0;
             }
         }
         else
         {
             t2 += Time.deltaTime;
             if (t2 >= 3)
             {
                 dl    = true;
                 scene = 5;
             }
         }
     }
     if (hajimeru.GetComponent <ButtonScript>().button == true)
     {
         PhotonNetwork.LeaveRoom();
         PhotonNetwork.ConnectUsingSettings();
         hajimeru.GetComponent <ButtonScript>().button = false;
         //type = 5;
     }
 }
Пример #7
0
 // Update is called once per frame
 void Update()
 {
     t += Time.deltaTime * 70;
     if (t > 30)
     {
         ComonScript.Getting(dl, 0);
     }
     if (t > 150 && but1 == false)
     {
         tex.GetComponent <Text>().text = "右に傾けて右に移動";
         if (chara.GetComponent <CharaAScript>().mx >= 5)
         {
             tex.GetComponent <Text>().text = "OK";
             but1 = true;
             t    = 251;
         }
     }
     if (but1 && t > 350 && but2 == false)
     {
         tex.GetComponent <Text>().text = "左に傾けて左に移動";
         if (chara.GetComponent <CharaAScript>().mx <= -5)
         {
             tex.GetComponent <Text>().text = "OK";
             but2 = true;
             t    = 351;
         }
     }
     if (but2 && t > 450 && but3 == false)
     {
         tex.GetComponent <Text>().text = "上にスライドでジャンプ";
         if (touch.GetComponent <TouchReactScript>().jump || Input.GetButtonUp("Jump"))
         {
             tex.GetComponent <Text>().text = "OK";
             but3 = true;
             t    = 451;
         }
     }
     if (but3 && t > 550 && but4 == false)
     {
         tex.GetComponent <Text>().text = "タップで糞";
         if (touch.GetComponent <TouchReactScript>().shot || Input.GetButtonUp("Fire"))
         {
             tex.GetComponent <Text>().text = "OK";
             but4 = true;
             t    = 551;
         }
     }
     if (but4 && t > 650)
     {
         if (but5 == false)
         {
             tex.GetComponent <Text>().text = "こいつの上から\n糞を垂らして斃せ";
             sndbg     = Instantiate((GameObject)Resources.Load("CharaPU"), new Vector3(7, 7, -1), Quaternion.identity);
             sndbg.tag = "Player2";
             but5      = true;
         }
         if (sndbg == null)
         {
             Camera.main.transform.position -= (Camera.main.transform.position - Vector3.zero + Vector3.forward * 10) / 10;
             if (Camera.main.orthographicSize < 5f)
             {
                 Camera.main.orthographicSize += 0.2f;
             }
             else if (Camera.main.orthographicSize > 7f)
             {
                 Camera.main.orthographicSize = 5f;
             }
             if (but6 == false)
             {
                 bon.Play();
                 t    = 651;
                 but6 = true;
             }
             if (t > 650)
             {
                 tex.GetComponent <Text>().text = "準備は完璧です!\n今度こそ";
             }
             if (t > 800)
             {
                 tex.GetComponent <Text>().text = "Welcom to\nPOOP world";
             }
             if (t > 900)
             {
                 PlayerPrefs.SetInt("Tutorial", 1);
                 dl = true;
                 ComonScript.nanid = 1;
             }
         }
     }
 }
Пример #8
0
    // Update is called once per frame
    void Update()
    {
        ComonScript.Getting(dl, scene);
        //ウンチを降らせる
        kusofall--;
        if (kusofall < 0)
        {
            Instantiate(Kuso, new Vector3(0, 8, 0), Quaternion.identity);
            kusofall = Random.Range(500, 1200);
            kusosum++;
        }
        if (bonse)
        {
            bonse = false;
            bon.Play();
        }

        //タイトルボタン
        if (first)
        {
            if (insart != null)
            {
                Destroy(insart);
            }
            if (t >= 0)
            {
                t--;
                hitori.transform.Rotate(0, -3f, 0);
                minna.transform.Rotate(0, -3f, 0);
                config.transform.Rotate(0, -3f, 0);
            }
            if (hitori.GetComponent <ButtonScript>().button == true)
            {
                hitori.GetComponent <ButtonScript>().button = false;
                dl        = true;
                scene     = 1;
                minnamode = false;
                audio.Play();
            }
            if (minna.GetComponent <ButtonScript>().button == true)
            {
                minna.GetComponent <ButtonScript>().button = false;
                dl        = true;
                scene     = 1;
                minnamode = true;
                audio.Play();
            }
            if (config.GetComponent <ButtonScript>().button == true)
            {
                config.GetComponent <ButtonScript>().button = false;
                dl        = true;
                scene     = 2;
                minnamode = false;
                audio.Play();
            }
            return;
        }

        if (Input.GetMouseButtonDown(0) || GameObject.Find("Zengamen").GetComponent <ButtonScript>().button == true)
        {
            if (first == false)
            {
                audio.Play();
                first = true;
            }
        }
    }
Пример #9
0
    public void Move()
    {
        print(transform.position);
        //死んでいる場合
        if (this.dead)
        {
            //0.5秒だけネガ
            if (cametime < 0.05f)
            {
                cametime += Time.deltaTime;
            }
            else
            {
                Camera.main.GetComponent <PP>().enabled = false;
            }
            //フレーム
            Time.fixedDeltaTime = 0.02f * Time.timeScale;
            //バイブ
            //Handheld.Vibrate();
            //画面揺れ
            ComonScript.Shaking();
            //時間
            this.t += Time.deltaTime * 60;
            //残り5フレームでスローにする
            if (t > 95)
            {
                ComonScript.shakestop = true;
                Time.timeScale        = 0.07f;
                //カメラを移動、ズームイン
                Camera.main.transform.position -= new Vector3((Camera.main.transform.position.x - this.transform.position.x) / 10, (Camera.main.transform.position.y - this.transform.position.y) / 10, 0);
                Camera.main.orthographicSize   -= 0.08f;
            }
            else
            {
                //スロー中はくそを出さない(出したらもそっと出る)
                HisanM.GetComponent <ShotManageScript>().Fire(15, -2, transform.position - Vector3.forward * 3, new Vector2(Random.Range(-8f, 8f), Random.Range(4f, 16f)));
            }
            //爆散
            if (this.t >= 100)
            {
                Time.timeScale      = 1f;
                Time.fixedDeltaTime = 0.02f * Time.timeScale;
                //80個のう〇こ
                while (this.t < 180)
                {
                    HisanM.GetComponent <ShotManageScript>().Fire(15, -2, transform.position, new Vector2(Random.Range(-8f, 8f), Random.Range(4f, 16f)));
                    this.t++;
                }
                if (this.manager.GetComponent <PvpScript>() != null)
                {
                    this.manager.GetComponent <PvpScript>().someonesdeath = true;
                }
                DestroyImmediate(base.gameObject, true);
            }
            return;
        }

        //オンラインでは自機のみ操作
        if (!TitleScript.minnamode || base.photonView.IsMine)
        {
            //傾きでジャンプ方向変化
            if (this.mx > 0f)
            {
                this.toward = 1;
            }
            else if (this.mx < 0f)
            {
                this.toward = -1;
            }

            //スマホ傾け移動
            if ((double)Mathf.Abs((float)System.Math.Round((double)Input.acceleration.x, 3) * ComonScript.kando) <= 0.1)
            {
                this.mx = 0f;
            }
            else if ((double)Mathf.Abs((float)System.Math.Round((double)Input.acceleration.x, 3) * ComonScript.kando) < 0.5)
            {
                this.mx = (float)((int)(System.Math.Round((double)Input.acceleration.x, 3) * (double)ComonScript.kando * 10.0) * 2);
            }
            else if (System.Math.Round((double)Input.acceleration.x, 3) * (double)ComonScript.kando <= -0.5)
            {
                this.mx = -10f;
            }
            else if (System.Math.Round((double)Input.acceleration.x, 3) * (double)ComonScript.kando >= 0.5)
            {
                this.mx = 10f;
            }
            //デバッグ用キー移動
            if (Input.GetKey(KeyCode.RightArrow))
            {
                this.mx = 5f * ComonScript.kando;
            }
            if (Input.GetKey(KeyCode.LeftArrow))
            {
                this.mx = -5f * ComonScript.kando;
            }

            //ショット
            if (this.touch.GetComponent <TouchReactScript>().shot || Input.GetButtonUp("Fire"))
            {
                //オンラインではRPC
                if (TitleScript.minnamode)
                {
                    photonView.RPC(nameof(Shot), RpcTarget.All, ++projectileId, photonView.OwnerActorNr);
                }
                else
                {
                    Shot(projectileId++, 1);
                }
                this.touch.GetComponent <TouchReactScript>().shot = false;
            }

            //ジャンプ
            if (this.touch.GetComponent <TouchReactScript>().jump || Input.GetButtonUp("Jump"))
            {
                //オンラインではRPC
                if (TitleScript.minnamode)
                {
                    photonView.RPC(nameof(Jump), RpcTarget.All);
                }
                else
                {
                    this.Jump();
                }
                this.touch.GetComponent <TouchReactScript>().jump = false;
            }
            //移動
            sendvelo = mx * speed * 60f;
            if (jump)
            {
                transform.position += Vector3.right * sendvelo * Time.deltaTime;
            }
        }
        else
        {
            //線形補間
            elapsedTime += Time.deltaTime;
            if (Mathf.Abs(start - end) > 20f)
            {
                transform.position = new Vector3(end, transform.position.y, -1);;
            }
            else
            {
                transform.position = new Vector3(Mathf.Lerp(start, end, elapsedTime / 0.2f), transform.position.y, -1);
            }
        }
    }
Пример #10
0
    public void Update()
    {
        if (dead)
        {
            //0.5秒だけネガ
            if (cametime < 0.05f)
            {
                cametime += Time.deltaTime;
            }
            else
            {
                Camera.main.GetComponent <PP>().enabled = false;
            }
            //フレーム
            Time.fixedDeltaTime = 0.02f * Time.timeScale;
            //バイブ
            //Handheld.Vibrate();
            //画面揺れ
            ComonScript.Shaking();
            //時間
            this.t += Time.deltaTime * 60;
            //残り5フレームでスローにする
            if (t > 95)
            {
                ComonScript.shakestop = true;
                Time.timeScale        = 0.07f;
                //カメラを移動、ズームイン
                Camera.main.transform.position -= new Vector3((Camera.main.transform.position.x - this.transform.position.x) / 10, (Camera.main.transform.position.y - this.transform.position.y) / 10, 0);
                Camera.main.orthographicSize   -= 0.08f;
            }
            else
            {
                //スロー中はくそを出さない(出したらもそっと出る)
                HisanM.GetComponent <ShotManageScript>().Fire(15, -2, transform.position - Vector3.forward * 3, new Vector2(Random.Range(-8f, 8f), Random.Range(4f, 16f)));
            }
            //爆散
            if (this.t >= 100)
            {
                Time.timeScale      = 1f;
                Time.fixedDeltaTime = 0.02f * Time.timeScale;
                //80個のう〇こ
                while (this.t < 180)
                {
                    HisanM.GetComponent <ShotManageScript>().Fire(15, -2, transform.position, new Vector2(Random.Range(-8f, 8f), Random.Range(4f, 16f)));
                    this.t++;
                }
                if (this.manager.GetComponent <PvpScript>() != null)
                {
                    this.manager.GetComponent <PvpScript>().someonesdeath = true;
                }
                DestroyImmediate(base.gameObject, true);
            }
            return;
        }
        else
        {
            if (ComonScript.nanid == 3)
            {
                return;
            }
            //m:自機(こいつ)、e:敵機(プレイヤー)
            mx = transform.position.x;
            my = transform.position.y;
            ex = enemy.transform.position.x;
            ey = enemy.transform.position.y;

            //向き
            if (mx < ex)
            {
                toward = 1;
            }
            else
            {
                toward = -1;
            }

            //ロジック変更
            mtime--;
            if (mtime <= 0)
            {
                mtime = Random.Range(50, 100);
                maai  = Random.Range(2, 10); //間合いの距離
                hani  = Random.Range(4, 8);  //敵察知の距離
                if (ComonScript.nanid == 0)
                {
                    maai = Random.Range(5, 10);
                    hani = Random.Range(10, 15);
                }
            }

            //間合いに合わせた移動
            if (jump == true)
            {
                //壁をはさまない
                if (ComonScript.nanid == 0 || Mathf.Abs(mx - ex) < 15)
                {
                    //間合いより遠い
                    if (Mathf.Abs(mx - ex) > maai + 1)
                    {
                        Move(true, 0.07f);  //近づく
                    }
                    else if (Mathf.Abs(mx - ex) < maai - 1)
                    {
                        Move(false, 0.07f);    //遠のく
                    }
                    //壁を挟む
                }
                else
                {
                    toward *= -1;
                    if (30 - Mathf.Abs(mx - ex) < maai - 1)
                    {
                        Move(false, 0.07f);  //近づく
                    }
                    else if (30 - Mathf.Abs(mx - ex) > maai + 1)
                    {
                        Move(true, 0.07f);    //遠のく
                    }
                }
            }

            //敵察知
            if ((Mathf.Abs(mx - ex) < hani) || (30 - Mathf.Abs(mx - ex) < hani))
            {
                //ショット機能
                if (my > ey + 0.1f)
                {
                    if (Sroop > 8)
                    {
                        Shot(++projectileId);
                        //難易度分岐
                        if (ComonScript.nanid == 0)
                        {
                            Sroop -= 15;
                        }
                        if (ComonScript.nanid == 1)
                        {
                            Sroop -= 10;
                        }
                        if (ComonScript.nanid == 2)
                        {
                            Sroop -= 5;
                        }
                    }
                    Sroop++;
                    //ジャンプ
                }
                else if ((my <= ey + 2) && (my >= ey - 3) && (jump == true) && (jtime <= 0))
                {
                    Jump();
                    //逃げる
                }
                else if (my < ey - 1)
                //else if ((my < ey - 0.8) && (TitleScript.selectmode == 5))
                {
                    //難易度分岐
                    if (ComonScript.nanid == 1)
                    {
                        Move(false, 0.02f);
                    }
                    if (ComonScript.nanid == 2)
                    {
                        Move(false, 0.05f);
                    }
                    print("特別逃げシステム");
                }
            }
        }
        //ジャンプ猶予
        if (jtime >= 0)
        {
            jtime--;
        }
    }