Night 2  ‖ -A Platformer -

Instructions: ＊＊＊Night 2  ‖ -A Platformer -＊＊＊\nｰｰｰｰｰｰｰｰｰｰｰｰ≫ New Platformer ≪ｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰｰ\n\n十字キー、ADWキーで操作\nOperate with the cross key and ADW key\n左右キー長押し＋上キー＝大ジャンプ\nPress and hold + left key up key = big jump\n\nTry remixing and adding more stages\nリミックスしてステージを追加してみてください\n\nハートと星を押してくれると作品作りの励みになります\nPushing the heart and the stars will encourage you to make your work.\n\nPlayer costume:@StratfordJames\n\n#Platformer\n#Night\n#yuhaku\n#Game\n#Games\n#Mobile\n#Night2\nーーーーーーーーーーーーーーーーーーーーーーーーー\n続編が出ました！面白かったらハートと星と押してください！感想はコメント欄にお願いします\n\nThe sequel is out!  If you find it interesting, press the heart and the stars!  Please leave your impressions in the comments section!\n◈ ◈ ◈ URL of the previous work / 前作のURL ◈ ◈ ◈\n❖ ❖ Night || -A Platformer-❖ ❖\nhttps://scratch.mit.edu/projects/454609460/\nーーーーーーーーーーーーーーーーーーーーーーーーー\n\n\n

@Stage\n\nwhen flag clicked\nforever\n    play sound [music v] until done\nend\n\n@Player\n\ndefine (1~9▽) 層目へ行く\ngo to [front v] layer\ngo [backward v] (1~9▽) layers\n\nwhen flag clicked\nforever\n    [1] 層目へ行く\nend\n\nwhen flag clicked\n初期化\nset [level v] to [1]\nforever\n    移動\nend\n\ndefine 初期化\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nswitch costume to (右 v)\n\ndefine 移動\nif <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<[0] < (mouse x)> and <mouse down?>>>> then\n    change [x v] by (1)\n    switch costume to (右 v)\nend\nif <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<(mouse x) < [0]> and <mouse down?>>>> then\n    change [x v] by (-1)\n    switch costume to (左 v)\nend\nset [x v] to ((X) * (0.85))\nchange x by (X)\nrepeat (10)\n    if <touching (platformer v)?> then\n        change y by (1)\n    end\nend\nif <touching (platformer v)?> then\n    change x by (() - (X))\n    change y by (-10)\n    if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n        set [y v] to [10]\n        if <[0] < (X)> then\n            set [x v] to [-6]\n        else\n            set [x v] to [6]\n        end\n    else\n        set [x v] to [0]\n    end\nend\nchange y by (-1)\nif <touching (platformer v)?> then\n    if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<[0] < (mouse y)> and <mouse down?>>>> then\n        if <(([ceiling v] of (([abs v] of (X) ) * (10)) ) / (10)) = [5.7]> then\n            set [y v] to [20]\n        else\n            set [y v] to [12.5]\n        end\n    end\nend\nchange y by (1)\nchange [y v] by (-1)\nchange y by (Y)\nif <touching (platformer v)?> then\n    change y by (() - (Y))\n    set [y v] to [0]\nend\nif <[235] < ([ceiling v] of (x position) )> then\n    初期化\n    change [level v] by (1)\nend\n\nwhen flag clicked\nforever\n    if <<(y position) < [-175]> or <touching (platformerオトゲ。 v)?>> then\n        初期化\n    end\nend\n\n@Light\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to (player v)\n    [6] 層目へ行く\nend\n\ndefine (1~9▽) 層目へ行く\ngo to [front v] layer\ngo [backward v] (1~9▽) layers\n\nrepeat (30)\n    change size by (0.5)\nend\nrepeat (30)\n    change size by (-0.5)\nend\n\nset [ghost v] effect to (20)\n\nwhen flag clicked\nforever\n    set size to ((80) + (([cos v] of ((timer) * (120)) ) * (10))) %\nend\n\n@革\n\ndefine (1~9▽) 層目へ行く\ngo to [front v] layer\ngo [backward v] (1~9▽) layers\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (10)\nforever\n    [0] 層目へ行く\nend\n\ncreate clone of (_myself_ v)\n\n@Platformer\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (level)\nend\n\ndefine (1~9▽) 層目へ行く\ngo to [front v] layer\ngo [backward v] (1~9▽) layers\n\nwhen flag clicked\nforever\n    [10000] 層目へ行く\nend\n\n@サムネイル\n\nwhen flag clicked\nhide\nforever\n    set [たいまー v] to (timer)\nend\n\nwhen [timer v] > ((たいまー) + (0))\ngo to x: (0) y: (0)\nswitch costume to ( v)\nset size to (100) %\nswitch costume to (thumbnail v)\nshow\ngo to [front v] layer\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nset [ghost v] effect to (0)\n\n@moon\n\nwhen flag clicked\nhide\nswitch costume to (　 v)\nset [id v] to [45]\ncreate clone of (_myself_ v)\nswitch costume to (　　　 v)\nset [id v] to [75]\ncreate clone of (_myself_ v)\nswitch costume to (　　 v)\nset [id v] to [90]\ncreate clone of (_myself_ v)\nswitch costume to (　　　　 v)\nset [id v] to [60]\ncreate clone of (_myself_ v)\n\ndefine (1~9▽) 層目へ行く\ngo to [front v] layer\ngo [backward v] (1~9▽) layers\n\nrepeat (30)\n    change size by (0.5)\nend\nrepeat (30)\n    change size by (-0.5)\nend\n\nset [ghost v] effect to (50)\n\nwhen flag clicked\n\ngo to x: (-77) y: (-31)\n\nwhen I start as a clone\nforever\n    set size to ((125) + (([cos v] of ((timer) * (ID)) ) * (25))) %\nend\n\nwhen I start as a clone\nset [ghost v] effect to (50)\nshow\ngo to x: (200) y: (150)\nforever\n    [1] 層目へ行く\nend\n\n@Platformerオトゲ。\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [back v] layer\n    switch costume to (level)\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n