Harry Potter Platformer - REMASTERED

Instructions: 　　　　　　　✨PLATFORMER!!✨\n\n======《English》=============== (日本語は下の方)\n\n▼summary\nIt is a simple and slightly difficult platformer consisting only of ground, needles and magma.\nI hope you enjoy it :)\nーー\nAfter pressing ❤⭐, press ❤⭐ on https://scratch.mit.edu/projects/742822322/ to connect the thumbnails! Please try it :)\n\n▼ Instructions\nUse the arrow keys to move it.\nYou can also move it by tapping.\n\nIf you touch the spikes or magma, you have to start over.\n\n▼ Degree of difficulty\nPC       ★★★☆☆\nMobile ★★★★☆\nーーー\n\nGood luck! :D\n\n▼Credit\nBasic player movements @-seven7-\nMusic @-Xaf-\n　　　Vexento - Masked Heroes\n           PIKASONIC - Osaka Express\nIntro @rk220\nSound effect : Sound effect lab\nfont : font meme\n\nUncredited material is material created by the author.\n\n========《日本語》============\n\n▼概要\n地面と針とマグマだけで作られたシンプルで少し難しいプラットフォーマーです。\n楽しんでいただけたら嬉しいです！\nーー\nこの作品に❤⭐を押したあと、 \n https://scratch.mit.edu/projects/742822322/\nに❤⭐を押すとサムネが繋がります！やってみてね。\n\n▼操作方法\n矢印キーを使って動かします。\nタップでも動かすことができます。\n\n針やマグマに当たらないようにしてください。\n\n▼難しさ\nPC 　　  ★★★☆☆\nモバイル ★★★★☆\nーーー\n楽しんでね！\n\n▼クレジット\nプレイヤーの動き:@-seven7-\n音楽:@-Xaf-\n　　 Vexento - Masked Heroes\n        PIKASONIC - Osaka Express\nイントロ：rk220\n効果音：効果音ラボ\nフォント：font meme\n\n▼tag/タグ\n#game #all #platformer #goriraf0612\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nhttps://scratch.mit.edu/projects/960679103/

@Stage\n\nwhen flag clicked\nswitch backdrop to (lovely_white v)\n\nwhen I receive [my inro end v]\nforever\n    set volume to (55) %\n    play sound [Amadeus - Legendary v] until done\nend\n\nwhen I receive [okey, test v]\nswitch backdrop to (blue v)\n\nwhen I receive [my inro end v]\nswitch backdrop to (ingame v)\n\n@GROUND\n\nwhen flag clicked\nshow list [chat v]\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [wins]> then\n        if <(seconds) < (☁ WorldRecord)> then\n            set [☁ worldrecord v] to (seconds)\n        end\n    end\nend\n\nwhen [i v] key pressed\nif <(username) = [julius68]> then\n    set [☁ worldrecord v] to [31.704]\nend\n\nwhen flag clicked\n\nwhen I receive [my inro end v]\nshow list [chat v]\n\nwhen flag clicked\nset [noskip v] to [0]\nforever\n    if <(☁ World recorld) < [30]> then\n        set [☁ world recorld v] to [32.21]\n    end\n    if <(noskip) = [1]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [1 v]\nswitch costume to (1 v)\n\nwhen flag clicked\nset [color v] effect to (0)\nhide variable [y v]\nhide variable [time v]\nhide variable [x v]\nforever\n    go to x: (0) y: (0)\n    if <(costume [name v]) = [wins]> then\nend\n\nwhen I receive [next v]\nset [time v] to [0]\nforever\n    set [time v] to (timer)\nend\n\nwhen I receive [my inro end v]\nset [skip v] to [2]\nforever\n    if <(SKIP) > [0]> then\n        if <key (s v) pressed?> then\n            set [noskip v] to [1]\n            next costume\n            change [skip v] by (-1)\n        end\n    else\n        if <(SKIP) = [0]> then\n            if <key (s v) pressed?> then\n                set [noskip v] to [1]\n                broadcast (Talk v)\n                say [No skips available] for (2) seconds\n                say [Like and fav for two more skips ;\)] for (2) seconds\n            end\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [my inro end v]\nshow\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    set [pixelate v] effect to (0)\nend\n\nwhen flag clicked\nset language to (en v)::tts\nset voice to (alto v)::tts\n\nset [☁ worldrecord v] to [31.506]\n\n@LAVA\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    go to x: (0) y: (0)\n    go [backward v] (1) layers\n    switch costume to ([costume # v] of [ground v])\n    show\nend\n\n@player\n\nwhen I receive [start v]\n\nwhen flag clicked\nbroadcast (1 v)\nforever\n    if <(x position) > [200]> then\n        go to x: (-209) y: (-50)\n        broadcast (next v)\n    end\n    if <touching (lava v)?> then\n        go to x: (-209) y: (-50)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (fantasia2 v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen [r v] key pressed\ngo to x: (-209) y: (-50)\n\nwhen I receive [my inro end v]\nset rotation style [left-right v]\nset size to (50) %\ngo to x: (-209) y: (-50)\nshow\nshow\nforever\n    change [movement y v] by (-0.5)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [movement x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [movement x v] by (1)\n    end\n    set [movement x v] to ((Movement X) * (0.9))\n    change x by (Movement X)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n            end\n        end\n    end\n    change y by (Movement Y)\n    if <touching (ground v)?> then\n        change y by ((Movement Y) * (-1))\n        set [movement y v] to [0]\n    end\n    change y by (-0.5)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching (ground v)?>> then\n        set [movement y v] to [8]\n    end\n    change y by (0.5)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (-6)\n                    change x by ((Movement X) * (-1))\n                    Wall jump\n                end\n            end\n        end\n    end\nend\n\nif <touching (bouncy stuff v)?> then\n    set [movement y v] to [14]\nend\n\nif <<(x position) = [240]> or <(x position) > [240]>> then\n    broadcast (next level v)\n    go to x: (-206) y: (-88)\n    switch costume to (r v)\nend\n\nif <touching (jump boost v)?> then\n    change [movement y v] by (15)\nend\n\n\n    switch costume to (costume4 v)\nelse\n    switch costume to (r v)\nend\n\nswitch costume to (ball-a v)\n\nswitch costume to (ball-a v)\n\nwhen I receive [my inro end v]\nreset timer\nforever\n    set [score v] to (timer)\n    if <<([costume name v] of [ground v]) = [wins]> and <(SCORE) < (☁ x)>> then\n        set [☁ x v] to (SCORE)\n    end\n    set [highscore v] to (☁ x)\nend\n\n\n\nwhen flag clicked\nhide\n\n\n\nset [☁ x v] to [32.606]\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (r v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (l v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (i v)\n    end\nend\n\npoint towards (mouse-pointer v)\n\nbroadcast (die v)\n\nwhen I receive [die_anim_end v]\n\ndefine Wall jump\nif <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    set [movement y v] to [8]\n    if <(Movement X) > [0]> then\n        set [movement x v] to [-8]\n    else\n        set [movement x v] to [8]\n    end\nelse\n    set [movement x v] to [0]\nend\n\n@Particle Effect\n\nwhen flag clicked\nset size to (80) %\n\nwhen I start as a clone\nshow\ngo to [front v] layer\neff (pick random (-10) to (10))\n\ndefine eff (x)\nset [-1 v] to [1]\nclear graphic effects\nset [color v] effect to (0)\nset [color v] effect to (pick random (1) to (1000))\nset [ghost v] effect to (pick random (1) to (30))\nforever\n    change x by ((x) * (-1))\n    change y by (Particle Effect: y)\n    change [particle effect: y v] by (-2)\n    if <touching (_edge_ v)?> then\n        if <(-1) = [1]> then\n            set [-1 v] to [-1]\n        else\n            set [-1 v] to [1]\n        end\n    end\n    if <(y position) < [-170]> then\n        delete this clone\n    end\nend\n\nwhen I receive [die v]\n\nwhen flag clicked\nforever\n    if <([costume name v] of [ground v]) = [wins]> then\n        go to x: (0) y: (150)\n        change y by (-20)\n        if <touching (_edge_ v)?> then\n            set [particle effect: y v] to [20]\n        else\n            set [particle effect: y v] to [5]\n        end\n        go to x: (0) y: (150)\n        create clone of (_myself_ v)\n    end\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n            change [skip v] by (1)\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n            change [skip v] by (1)\n        end\n    end\nend\n\n@leaderboard\n\nwhen I receive [my inro end v]\nshow variable [seconds v]\nset [seconds v] to [0]\nreset timer\nrepeat until <([costume name v] of [ground v]) = [wins]>\n    set [seconds v] to (timer)\nend\n\nwhen flag clicked\nhide variable [seconds v]\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        stop [this script v]\n    else\n        if <([costume name v] of [ground v]) = [wins]> then\n            if <(seconds) < (☁ WorldRecord)> then\n                set [☁ worldrecord v] to (seconds)\n            end\n        end\n    end\nend\n\n@[CUT] Intro1\n\nwhen flag clicked\nbroadcast (pre clear v)\n\nwhen I receive [pre clear v]\ngo to [front v] layer\nshow\ngo to x: (473) y: (0)\nglide (1.3) secs to x: (18) y: (0)\nbroadcast (okey, test v)\nglide (1.2) secs to x: (-18) y: (0)\nglide (1.4) secs to x: (-473) y: (0)\nhide\nbroadcast (intro v)\n\nwhen flag clicked\nset volume to (20) %\nplay sound [TheFatRat - Infinite Power!2 v] until done\n\n@Intro 2\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I start as a clone\nif <(421) = [1]> then\n    repeat (3)\n        switch costume to (effect v)\n        go to x: (0) y: (0)\n        set size to (100) %\n        set [ghost v] effect to (100)\n        set [ghost v] effect to (0)\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n    end\n    delete this clone\nend\n\ndefine Particle (#)\nrepeat (#)\n    set [421 v] to [Particle]\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nif <(421) = [Particle]> then\n    switch costume to (circle v)\n    show\n    point in direction (pick random (-90) to (90))\n    set [intro 2: y v] to (pick random (5) to (15))\n    set [brightness v] effect to (pick random (-50) to (50))\n    set [ghost v] effect to (pick random (-50) to (50))\n    set size to (pick random (1) to (200)) %\n    repeat until <(y position) < [-175]>\n        change y by (Intro 2: y)\n        move (5) steps\n        change [intro 2: y v] by (-1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(421) = [chevron]> then\n    go to x: (0) y: (0)\n    point in direction (90)\n    switch costume to (chevron v)\n    set size to (1) %\n    show\n    repeat (36)\n        switch costume to (sizehak v)\n        Frame Tween Size: [1050] speed: [40]\n        switch costume to (chevron v)\n    end\n    delete this clone\nend\n\ndefine Frame Tween Size: (s) speed: (spd)\nchange size by (((round (s)) - (round (size))) / (spd))\n\ndefine Clone (#)\nset [421 v] to (#)\ncreate clone of (_myself_ v)\n\ndefine shake (by @LeonardoTSS) (jump) (wiggle speed \(recommend at least 500\))\nset size to (jump) %\nrepeat until <(size) = [100]>\n    go to x: (([sin v] of ((timer) * (wiggle speed \(recommend at least 500\))) ) * (((100) - (size)) / (2))) y: (([cos v] of ((timer) * (wiggle speed \(recommend at least 500\))) ) * (((100) - (size)) / (2)))\n    change size by (((100) - (size)) / (5))\nend\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nrepeat (3)\n    Clone [chevron]\n    wait (1) seconds\nend\n\nwhen I receive [intro v]\nplay sound [Elektronomia - Shine On v] until done\n\nwhen I receive [intro v]\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nclear graphic effects\nswitch costume to (name v)\nshow\ngo to x: (0) y: (0)\nset size to (10000) %\nswitch costume to (name v)\npoint in direction (-90)\nshow\nrepeat until <<(round (size)) = (round (100))> and <(round (direction)) = (round (90))>>\n    change size by (((100) - (size)) / (14))\n    turn right (((90) - (direction)) / (14)) degrees\nend\nset [421 v] to [1]\ncreate clone of (_myself_ v)\nwait (1) seconds\nClone [chevron]\nParticle [20]\nrepeat (3)\n    turn right (32) degrees\nend\nrepeat until <(round (direction)) = (round (90))>\n    turn right (((90) - (direction)) / (5)) degrees\nend\nClone [chevron]\nshake (by @LeonardoTSS) [300] [700]\nwait (0.2) seconds\nClone [chevron]\nshake (by @LeonardoTSS) [300] [700]\nwait (0.2) seconds\nClone [chevron]\nshake (by @LeonardoTSS) [300] [700]\nwait (0.2) seconds\nset size to (300) %\nrepeat (20)\n    change size by (((0) - (size)) / (5))\n    go to x: (([sin v] of ((timer) * (1000)) ) * ((size) * (0.1))) y: (([sin v] of ((timer) * (1000)) ) * ((size) * (0.1)))\n    change [ghost v] effect by (5)\nend\nswitch costume to (2021-03-03 16_19_44-logo maker und logo creator - kostenloser online-logo-generator v)\nclear graphic effects\nbroadcast (message1 v)\nshow\nset size to (400) %\ngo to x: (-500) y: (0)\nset size to (100) %\npoint in direction (-90)\nrepeat (50)\n    turn right (((90) - (direction)) / (10)) degrees\n    change x by (((0) - (x position)) / (10))\nend\npoint in direction (90)\nwait (0.7) seconds\nset size to (300) %\nrepeat (20)\n    change size by (((0) - (size)) / (5))\n    go to x: (([sin v] of ((timer) * (1000)) ) * ((size) * (0.1))) y: (([sin v] of ((timer) * (1000)) ) * ((size) * (0.1)))\n    change [ghost v] effect by (5)\nend\nwait (2) seconds\nbroadcast (MY INRO END v)\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide variable [☁ worldrecord v]\n\nwhen I receive [my inro end v]\nshow variable [☁ worldrecord v]\n\n