MINECRAFT Platformer（スマホ対応）

Instructions: 「はじめから」を最初に押してね!\n\n「From the deginning」Push it！\n【⚡❤️と⭐とフォロー本当にお願いします⚡】\n【⚡Please give me ❤️&⭐and follows.⚡】\n【❤と⭐3000目指しているのでぜひ押してください】\n【I'm aiming for ❤ and ⭐3000, so please press!】\n\n傾向5pの13位感謝！\n\n宣伝する人は星と♡を押してね\n今だけフォロバします！絶対に(倒置)(コメ欄で言って)\n拡散してね((99.999%強制\n初めてのスクロールプラットフォーマーです！\n\n日本語下に書いてます↓↓↓↓↓\n\n--------------------Method of operation----------------------\n\nJump with up key.\nMove with left and right keys\nMobile users can use the joystick.\n\nAfter clearing the game, jump and press the space key to become a parachute!\nYou can also hang it on the ceiling\n\nA mobile person is impossible to parachute ... Sorry\n\n\nWhen you push a star and a heart?\n\n\n\nIf you collect 100 coins...\n\n-----------------------------操作方法--------------------------\n\n上キーでジャンプ\n左右キーで動かす\nモバイルの人はジョイスティックで操作\nクリアしたあとジャンプしてスペースキーを押すとパラシュート状態になります！\n天井づたいもできます(バネで)\n\n星とハートを押すと?\n\nコインを100枚集めると・・・\nモバイルの人はパラシュート無理です…ごめんね\n\n活休するから急いで出したっていうのは内緒ね\n\n\n\n拡散してくれた人名前書きます(もともとの人も)\n@utaroudesu様\n@arearare様\n@pinko_2様\n@genyo-様\n@hekouki様\n@LuckyGiga様\n@sacabambaspis_8831様\n@izu2024様\n---------------------------メモクレジット-------------------------\nプログラム参考：@katsuo777様\n数字スプライト：@warota88様\n紙吹雪：@higenoKO-TYO-様\nサムネイル：@yusuke7777(自分)\n音楽：@-XAF-様\nジョイスティックプログラム参考：@griffpatch様\n英語：Google翻訳様\n1UP音源：@4310203様\n❤️と⭐ボタン： @manato4848様\n\n　　　　　　　　　借　り　過　ぎ\n\n\n#all　#gemes   #game   #animation　#platformer\n#scroll\n\n下になんかあるかな?\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n星とハートの欄が灰色?じゃあ押してね！\nカラフルなら押さなくていいよ\n\n\n\n\n\n\n\n\n\n\n\n\nサムネどう?自信は59

@Stage\n\nwhen I receive [play v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [cutscene v]\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [end v]\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n@player\n\ndefine platform (speed) (friction) (gravity) (boost) (cooldown)\nswitch costume to (hitbox v)\nchange [yv v] by (gravity)\nif <<(cooldown) < [0]> or <(cooldown) = [0]>> then\n    set [yv v] to (boost)\n    set [cooldown v] to (cooldown)\n    broadcast (boost v)\nelse\n    change [cooldown v] by (-0.05)\nend\nset [cooldown all sprites v] to (cooldown)\nchange y by (yv)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change y by ((([abs v] of (yv) ) / (yv)) * (-1))\n    end\n    set [yv v] to [0]\nend\nif <[-200] > (y)> then\n    broadcast (ded v)\n    stop [this script v]\nend\nif <touching (spikes v)?> then\n    broadcast (ded v)\n    stop [this script v]\nend\nif <(x) > [7095]> then\n    broadcast (end v)\n    stop [this script v]\nend\nset [xv v] to ((friction) * ((xv) + ((<<<key (a v) pressed?> or <key (left arrow v) pressed?>> or <<mouse down?> and <[0] > (mouse x)>>> * ((speed) * (-1))) + (<<<key (d v) pressed?> or <key (right arrow v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> * (speed)))))\nchange x by (xv)\nif <touching (ground v)?> then\n    repeat until <not <touching (ground v)?>>\n        change x by ((([abs v] of (xv) ) / (xv)) * (-1))\n    end\nend\nchange [scroll x v] by (round (((x) - (scroll x)) / (10)))\nswitch costume to (hitbox2 v)\nif <touching (ground v)?> then\n    switch costume to (cos#)\nelse\n    switch costume to (costume1 v)\nend\npoint in direction ((<(xv) > [0]> * (90)) + (<[0] > (xv)> * (-90)))\n\ndefine change y by (y)\nchange [y v] by (y)\nposition\n\ndefine change x by (x)\nchange [x v] by (x)\nposition\n\ndefine position\ngo to x: ((x) - (scroll x)) y: ((y) - (scroll y))\nbroadcast (position v)\n\nwhen I receive [resume v]\nforever\n    if <([floor v] of ([abs v] of (xv) ) ) > [1]> then\n        set [cos# v] to [4]\n        wait (0.15) seconds\n        set [cos# v] to [3]\n        wait (0.15) seconds\n    else\n        set [cos# v] to [3]\n    end\nend\n\nwhen I receive [resume v]\nclear graphic effects\nshow\ngo to [front v] layer\nset rotation style [left-right v]\nset size to (100) %\nset [cooldown v] to [4]\nset [x v] to (item (checkpoint #) of [checkpoint x v])\nset [xv v] to [0]\nset [y v] to (item (checkpoint #) of [checkpoint y v])\nset [yv v] to [0]\nset [scroll x v] to (item (checkpoint #) of [checkpoint x v])\nset [scroll y v] to [0]\nposition\nforever\n    platform [1] [0.83] [-0.9] [13] [4]\n    position\n    if <touching (_edge_ v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\ndelete all of [checkpoint x v]\ndelete all of [checkpoint y v]\nset [checkpoint # v] to [0]\nadd checkpoint [0] [0]\nadd checkpoint [551] [-95]\nadd checkpoint [1047] [-95]\nadd checkpoint [1833] [-120]\nadd checkpoint [3239] [-122]\nadd checkpoint [4225] [-95]\nadd checkpoint [5187] [-80]\nbroadcast (cutscene v) and wait\n\nwhen I receive [boost v]\nstart sound [thrust v]\nrepeat (5)\n    create clone of (boost v)\nend\n\nwhen I receive [ded v]\nstart sound [Crunch v]\nshow\nswitch costume to (costume1 v)\nstop [other scripts in sprite v]\nrepeat (3)\n    set [ghost v] effect to (70)\n    wait (0.2) seconds\n    set [ghost v] effect to (0)\n    wait (0.2) seconds\nend\nrepeat until <<(scroll x) > ((item (checkpoint #) of [checkpoint x v]) + (-3))> and <((item (checkpoint #) of [checkpoint x v]) + (3)) > (scroll x)>>\n    change [scroll x v] by (((item (checkpoint #) of [checkpoint x v]) - (scroll x)) / (10))\n    position\n    if <touching (_edge_ v)?> then\n        set [ghost v] effect to (100)\n    else\n        set [ghost v] effect to (0)\n    end\nend\nwait (0.3) seconds\nbroadcast (resume v)\n\nwhen I receive [play v]\nbroadcast (resume v)\n\ndefine add checkpoint (x) (y)\nadd (x) to [checkpoint x v]\nadd ((y) + (10)) to [checkpoint y v]\n\nwhen I receive [resume v]\nforever\n    if <not <(checkpoint #) > ((length of [checkpoint x v]) - (1))>> then\n        if <(x) > (item ((checkpoint #) + (1)) of [checkpoint x v])> then\n            change [checkpoint # v] by (1)\n        end\n    end\nend\n\nset [checkpoint # v] to [0]\ndelete all of [checkpoint x v]\ndelete all of [checkpoint y v]\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nhide\n\nwhen [timer v] > (0.01)\nhide\n\n@boost\n\nwhen I start as a clone\nclear graphic effects\npoint in direction (pick random (0) to (180))\nset size to (90) %\nset [x v] to ([x v] of [player v])\nset [y v] to (([y v] of [player v]) - (7))\ngo to x: ((x) - (scroll x)) y: ((y) - (scroll y))\nshow\nrepeat (10)\n    change size by (-10)\n    change [ghost v] effect by (10)\n    change [brightness v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [position v]\ngo to x: ((x) - (scroll x)) y: ((y) - (scroll y))\n\nwhen I receive [resume v]\nhide\n\n@bar\n\ndefine cooldown (range) (*) (y)\nhide\nset pen color to (#ffffff)\nset pen size to (4)\npen up\ngo to x: (((0) + (range)) * (*)) y: (y)\npen down\ngo to x: (((0) - (range)) * (*)) y: (y)\npen up\nset pen color to (#dc0000)\nset pen size to (4)\npen up\ngo to x: ((-0.495) + ((cooldown all sprites) * (*))) y: (y)\npen down\ngo to x: ((-0.495) - ((cooldown all sprites) * (*))) y: (y)\npen up\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (y)\n\nwhen I receive [resume v]\nshow\nerase all\nforever\n    cooldown [4.2] [10] [170]\nend\n\nwhen flag clicked\nhide\nerase all\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\nerase all\n\n@ground\n\nwhen I receive [position v]\nset size to (200) %\ngo to x: ((tile x) - (scroll x)) y: ((tile y) - (scroll y))\nset size to (100) %\n\nwhen I start as a clone\nshow\nforever\n    if <((tile x) - (scroll x)) > [480]> then\n        change [tile x v] by (-960)\n    end\n    if <[-480] > ((tile x) - (scroll x))> then\n        change [tile x v] by (960)\n    end\n    check (join (join [1] [-]) (join (join ((tile x) / (480)) [-]) ((tile y) / (360))))\nend\n\ndefine check (right cos)\nswitch costume to (right cos)\nif <not <(costume [name v]) = (right cos)>> then\n    switch costume to (blank v)\nend\n\nwhen I receive [play v]\nhide\nset [tile x v] to [0]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\nset [tile x v] to [480]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I receive [end v]\ndelete this clone\n\n@background\n\nwhen I receive [position v]\nset size to (200) %\ngo to x: ((tile x) - ((scroll x) * (0.6))) y: ((tile y) - (scroll y))\nset size to (100) %\n\nwhen I start as a clone\nshow\nforever\n    if <((tile x) - ((scroll x) * (0.6))) > [480]> then\n        change [tile x v] by (-960)\n    end\n    if <[-480] > ((tile x) - ((scroll x) * (0.6)))> then\n        change [tile x v] by (960)\n    end\n    check (join (join [1] [-]) (join (join ((tile x) / (480)) [-]) ((tile y) / (360))))\nend\n\ndefine check (right cos)\nswitch costume to (right cos)\nif <not <(costume [name v]) = (right cos)>> then\n    switch costume to (blank v)\nend\n\nwhen I receive [play v]\nhide\nset [tile x v] to [0]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\nset [tile x v] to [480]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I receive [end v]\ndelete this clone\n\n@background2\n\nwhen I receive [position v]\nset size to (200) %\ngo to x: ((tile x) - ((scroll x) * (0.4))) y: ((tile y) - (scroll y))\nset size to (100) %\n\nwhen I start as a clone\nshow\nforever\n    if <((tile x) - ((scroll x) * (0.4))) > [480]> then\n        change [tile x v] by (-960)\n    end\n    if <[-480] > ((tile x) - ((scroll x) * (0.4)))> then\n        change [tile x v] by (960)\n    end\n    check (join (join [1] [-]) (join (join ((tile x) / (480)) [-]) ((tile y) / (360))))\nend\n\ndefine check (right cos)\nswitch costume to (right cos)\nif <not <(costume [name v]) = (right cos)>> then\n    switch costume to (blank v)\nend\n\nwhen I receive [play v]\nhide\nset [tile x v] to [0]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\nset [tile x v] to [480]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I receive [end v]\ndelete this clone\n\n@spikes\n\nwhen I receive [position v]\nset size to (200) %\ngo to x: ((tile x) - (scroll x)) y: ((tile y) - (scroll y))\nset size to (100) %\n\nwhen I start as a clone\nshow\nforever\n    if <((tile x) - (scroll x)) > [480]> then\n        change [tile x v] by (-960)\n    end\n    if <[-480] > ((tile x) - (scroll x))> then\n        change [tile x v] by (960)\n    end\n    check (join (join [1] [-]) (join (join ((tile x) / (480)) [-]) ((tile y) / (360))))\nend\n\ndefine check (right cos)\nswitch costume to (right cos)\nif <not <(costume [name v]) = (right cos)>> then\n    switch costume to (blank v)\nend\n\nwhen I receive [play v]\nhide\nset [tile x v] to [0]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\nset [tile x v] to [480]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I receive [end v]\ndelete this clone\n\n@cutscenes + thumbnail\n\nwhen I receive [cutscene v]\nstop [other scripts in sprite v]\nset volume to (50) %\nstart sound [idk v]\nswitch costume to (watching tv v)\nwait (1) seconds\nrepeat (4)\n    create clone of (_myself_ v)\n    wait (3) seconds\n    next costume\nend\nwait (2) seconds\nbroadcast (delete pictures v)\nwait (2) seconds\nrepeat (3)\n    create clone of (_myself_ v)\n    wait (3) seconds\n    next costume\nend\nwait (1.70) seconds\nstop all sounds\nbroadcast (delete pictures v)\nwait (2) seconds\nbroadcast (play v)\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I start as a clone\nshow\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [delete pictures v]\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [play v]\nstop [other scripts in sprite v]\nwait (0) seconds\nset volume to (50) %\nforever\n    play sound [epic music v] until done\nend\n\nwhen I receive [end v]\nstop [other scripts in sprite v]\nset volume to (50) %\nstart sound [epic music v]\nswitch costume to (stand v)\nwait (1) seconds\nrepeat (4)\n    create clone of (_myself_ v)\n    wait (3) seconds\n    next costume\nend\nwait (2) seconds\nbroadcast (delete pictures v)\nwait (2) seconds\ncreate clone of (_myself_ v)\nwait (3) seconds\nbroadcast (delete pictures v)\nnext costume\ncreate clone of (_myself_ v)\n\nwhen [timer v] > (0.01)\nswitch costume to (costume3 v)\ngo to x: (0) y: (0)\nclear graphic effects\nshow\n\nwhen [timer v] > (0.01)\ndelete this clone\n\n@text\n\nwhen I receive [position v]\nset size to (200) %\ngo to x: ((tile x) - (scroll x)) y: ((tile y) - (scroll y))\nset size to (100) %\n\nwhen I start as a clone\nshow\nforever\n    if <((tile x) - (scroll x)) > [480]> then\n        change [tile x v] by (-960)\n    end\n    if <[-480] > ((tile x) - (scroll x))> then\n        change [tile x v] by (960)\n    end\n    check (join (join [1] [-]) (join (join ((tile x) / (480)) [-]) ((tile y) / (360))))\nend\n\ndefine check (right cos)\nswitch costume to (right cos)\nif <not <(costume [name v]) = (right cos)>> then\n    switch costume to (blank v)\nend\n\nwhen I receive [play v]\nhide\nset [tile x v] to [0]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\nset [tile x v] to [480]\nset [tile y v] to [0]\ncreate clone of (_myself_ v)\n\nwhen I receive [end v]\ndelete this clone\n\n