GEO A Platformer - #games #music #platformer remix

Instructions: ✦✦✦Instructions✦✦✦\n➜ Use arrows to move the cat\n➜ Don't touch spikes.\n➜ Don't fall off the platforms\n\n✦✦✦Credits✦✦✦\n➡️@invisity for some asset\n➡️@Skettycat for some art and code\n➡️@holybird3 for some code.\nvextno for the "music"\n\n#games #animations #art #music#games #animations #music #art #tutorials #stories#games #animations #music #art #tutorials #stori

@Stage\n\nwhen flag clicked\nset [the level v] to [1]\nforever\n    switch backdrop to (The Level)\nend\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen flag clicked\nset rotation style [left-right v]\nset [jump power v] to [14]\nset [speed v] to [1.7]\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    switch costume to ([costume name v] of [thanks v])\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by ((Speed) * (-1))\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [x velocity v] by (Speed)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        start sound [jump2 v]\n        set [y velocity v] to (Jump Power)\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <touching (spikes v)?> then\n        broadcast (Died v)\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <[-180] > (y position)> then\n            broadcast (Died v)\n            broadcast (Reset v)\n        end\n        if <touching (spikes v)?> then\n            broadcast (Died v)\n            broadcast (Reset v)\n        end\n        if <touching (saws v)?> then\n            broadcast (Died v)\n            broadcast (Reset v)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\ndefine Reset\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        broadcast (Message 1 v)\n    end\nend\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Player Trail\n\nwhen flag clicked\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\n@Deco\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Died\n\nwhen flag clicked\nhide\n\nwhen I receive [died v]\nif <not <[Allow Death Animation] = [0]>> then\n    if <not <[] = [1]>> then\n        start sound [Respawn v]\n    end\n    if <([underwater v] of [player v]) = [1]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\n    show\n    go to (player v)\n    set size to (100) %\n    set [ghost v] effect to (0)\n    go to [front v] layer\n    go [backward v] (2) layers\n    repeat (25)\n        change [ghost v] effect by ((100) / (25))\n        change size by ((200) / (25))\n        if <[] = [1]> then\n            wait until <[] = [0]>\n        end\n    end\n    hide\nend\n\nwhen I receive [hardpause v]\nstop [other scripts in sprite v]\nhide\n\n@Saws\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    hide\n    if <(The Level) = [3]> then\n        go to x: (144) y: (-125)\n        show\n        repeat (50)\n            turn right (8) degrees\n        end\n        repeat (50)\n            turn left (8) degrees\n        end\n    end\n    hide\n    if <(The Level) = [10]> then\n        go to x: (52) y: (-5)\n        show\n        repeat (50)\n            turn right (8) degrees\n        end\n        repeat (50)\n            turn left (8) degrees\n        end\n        if <(The Level) = [11]> then\n            hide\n        end\n    end\n    hide\nend\n\n@Mute\n\nwhen this sprite clicked\nif <(volume) = [100]> then\n    set [mute? v] to [Yes]\n    set volume to (0) %\n    switch costume to (music off v)\nelse\n    set [mute? v] to [No]\n    switch costume to (music on v)\n    set volume to (10) %\nend\n\nstop all sounds\n\nwhen flag clicked\nswitch costume to (music on v)\nset [mute? v] to [No]\nswitch costume to (music on v)\nforever\n    play sound [Y2Mate2 v] until done\n    if <(Mute?) = [No]> then\n        set volume to (10) %\n    else\n        set volume to (0) %\n    end\nend\n\n@blossoms3\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo to [front v] layer\nshow\ngo to x: (230) y: (pick random (-200) to (200))\npoint in direction (pick random (-105) to (-75))\nset [ghost v] effect to (100)\nrepeat (5)\n    change [ghost v] effect by (-25)\nend\nrepeat until <(x position) < [-230]>\n    move (10) steps\nend\nrepeat (5)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    wait (.2) seconds\n    create clone of (_myself_ v)\nend\n\n@Message 1\n\ndefine (bounce-size)\nset [bounce motion - play button v] to (((Bounce motion - Play button) * (0.8)) + (((bounce-size) - (size)) * (0.2)))\nchange size by (Bounce motion - Play button)\n\nwhen flag clicked\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [message 1 v]\nstart sound [soft-pluck-notification-7-airy-friendly-pleasant-SBA-300421540 v]\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\n[150]\nforever\n    [90]\n    go to [front v] layer\nend\n\nwhen I receive [hide v]\nhide\nforever\n    go to [back v] layer\nend\n\nrepeat (5)\n    change [ghost v] effect by (40)\nend\nhide\n\nforever\n\nforever\n\ngo to x: (36) y: (28)\nif <touching (mouse-pointer v)?> then\n    [100]\nelse\n    [90]\nend\n\nwhen I receive [message 1 v]\nwait (3) seconds\nrepeat (5)\n    change [ghost v] effect by (40)\nend\nhide\n\n@animation\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nif <(costume [name v]) = [bird1]> then\n    forever\n        set size to (60) %\n        go to x: (-150) y: (0)\n        repeat (4)\n            bird inamation\n            switch costume to (bird2 v)\n            bird inamation\n            switch costume to (bird1 v)\n        end\n        repeat (6)\n            bird outamation\n            switch costume to (bird2 v)\n            bird outamation\n            switch costume to (bird1 v)\n        end\n        repeat (20)\n            change [ghost v] effect by (5)\n            change x by (2)\n        end\n        wait (3) seconds\n    end\nend\n\ndefine motion, repeat: (n1) size: (n2)\nrepeat (n1)\n    change size by (n2)\n    change [ghost v] effect by (-5)\nend\n\ndefine bird inamation\nrepeat (10)\n    change size by (1)\n    change x by (1)\n    change [ghost v] effect by (-2)\nend\n\ndefine bird outamation\nrepeat (10)\n    change x by (2)\n    change y by (0.2)\nend\ngo to [back v] layer\n\ndefine squirel animation (direction) (move)\npoint in direction (direction)\nrepeat (5)\n    change x by (move)\n    change y by (1)\nend\nrepeat (5)\n    change x by (move)\n    change y by (-1)\nend\nwait (3) seconds\n\nwhen flag clicked\nhide\n\nwhen I receive [commence thee project v]\nwait (1) seconds\nswitch costume to (bird1 v)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nbroadcast (Commence THEE project v)\n\n@Thanks\n\nwhen flag clicked\nhide\nwait (1) seconds\nwait until <(Actions \(love/fave\)) = [2]>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\ngo to [front v] layer\nswitch costume to (player v)\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\nhide\nswitch costume to (player2 v)\n\nwhen flag clicked\nswitch costume to (player v)\n\n@detector\n\nwhen flag clicked\nshow\nset [ghost v] effect to (100)\nset [actions \(love/fave\) v] to [0]\nforever\n    set [touching v] to [none]\n    Detect [love] at [-201] [-220]\n    Detect [fave] at [-201] [-220]\nend\n\ndefine Detect (thing) at (x) (y)\nswitch costume to (empty v)\nset size to (27000) %\ngo to x: (x) y: (y)\nset size to (100) %\nswitch costume to (thing)\nif <touching (mouse-pointer v)?> then\n    set [touching v] to (costume [name v])\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [love]>\n    wait (0.2) seconds\n    if <(touching) = [love]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    wait until <(touching) = [fave]>\n    wait (0.2) seconds\n    if <(touching) = [fave]> then\n        change [actions \(love/fave\) v] by (1)\n        stop [this script v]\n    end\nend\n\n@Love and fave reminder\n\nwhen flag clicked\nwait (2.5) seconds\ngo to [front v] layer\n\nwhen I receive [start! v]\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nwait (1) seconds\nforever\n    if <(Actions \(love/fave\)) < [2]> then\n        switch costume to (costume1 v)\n        go to x: (0) y: (150)\n        show\n        go to [front v] layer\n        start sound [High Whoosh v]\n        repeat (11)\n            change y by (-2)\n        end\n        repeat (7)\n            change y by (1)\n        end\n        repeat (6)\n            change y by (-2)\n        end\n        wait (5) seconds\n        start sound [High Whoosh v]\n        repeat (17)\n            change y by (7)\n        end\n        hide\n        wait (pick random (10) to (20)) seconds\n    else\n        stop [this script v]\n    end\nend\n\n@Thumb\n\nwhen flag clicked\nhide\n\n@Mobile2\n\ndefine block name\nif <(mouse x) > (x position)> then\n    repeat until <<(round (x position)) = (round (mouse x))> or <(round (x position)) > (([x position v] of [mobile v]) + (19))>>\n        change x by (1)\n    end\nelse\n    if <(x position) > (mouse x)> then\n        repeat until <<(round (x position)) = (round (mouse x))> or <(([x position v] of [mobile v]) + (-19)) > (round (x position))>>\n            change x by (-1)\n        end\n    end\nend\nif <(mouse y) > (y position)> then\n    repeat until <<(round (y position)) = (round (mouse y))> or <(round (y position)) > (([y position v] of [mobile v]) + (19))>>\n        change y by (1)\n    end\nelse\n    if <(y position) > (mouse y)> then\n        repeat until <<(round (y position)) = (round (mouse y))> or <(([y position v] of [mobile v]) + (-19)) > (round (y position))>>\n            change y by (-1)\n        end\n    end\nend\n\nwhen I receive [\[intro\] over v]\npoint in direction (90)\nhide\nforever\n    if <mouse down?> then\n        set [ghost v] effect to (50)\n        go to (mobile v)\n        show\n        repeat until <not <mouse down?>>\n            block name\n        end\n        hide\n    end\nend\n\nforever\n    \n        say [Hello!]\n    else\n        say []\n    end\nend\n\n\n    move (1) steps\nend\n\nwhen flag clicked\n\nbroadcast (Play v)\n\n@Mobile\n\nwhen I receive [\[intro\] over v]\nhide\nforever\n    if <mouse down?> then\n        set [ghost v] effect to (50)\n        go to (mouse-pointer v)\n        show\n        wait until <not <mouse down?>>\n        hide\n    end\nend\n\nset [joystickx v] to (x position)\nset [joysticky v] to (y position)\n\n@clouds\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nforever\n    switch costume to (pick random (1) to (3))\n    set size to (80) %\n    go to (random position v)\n    set x to (-300)\n    repeat (600)\n        change x by (1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nforever\n    show\n    set [ghost v] effect to (30)\nend\n\nwhen I start as a clone\ngo to [back v] layer\ngo [forward v] (3) layers\n\nwhen I receive [commence thee project v]\nrepeat (10)\n    switch costume to (costume1 v)\nend\nforever\n    set size to (30) %\n    create clone of (_myself_ v)\n    wait (5) seconds\nend\n\nwhen flag clicked\nbroadcast (Commence THEE project v)\n\n@Particles\n\nwhen flag clicked\nhide\ngo [forward v] (10) layers\n\nwhen I start as a clone\ngo to [front v] layer\nclear graphic effects\nset [ghost v] effect to (pick random (70) to (90))\nset size to (pick random (25) to (45)) %\ngo to x: (pick random (240) to (-240)) y: (170)\npoint in direction (90)\nshow\nglide (pick random (2) to (8)) secs to x: (pick random (240) to (-240)) y: (-180)\nhide\ndelete this clone\n\nwhen I receive [intro over v]\n\nwhen flag clicked\nforever\n    wait (pick random (0) to (0.02)) seconds\n    create clone of (_myself_ v)\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    block name\nend\n\nwhen I receive [\[part1\] end v]\n\nhide\n\nwhen flag clicked\nshow\ngo to [back v] layer\nset size to (100) %\ngo to x: (230) y: (160)\nforever\n    change [size change v] by (5)\n    change size by ([cos v] of ((Size change) * (1)) )\nend\n\ndefine block name\ngo [backward v] (1000000000000) layers\ngo to [back v] layer\n\nwhen flag clicked\n\nwhen I receive [\[part1\] end v]\nbroadcast (\[Intro\] end v)\n\n