Purple Platformer
@Stage\n\n@bounce pad\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen I receive [start project v]\nswitch costume to (costume1 v)\nshow\n\n@Cool stuff\n\nwhen I start as a clone\nset [brightness v] effect to (20)\nset [ghost v] effect to (40)\ngo to [back v] layer\nset [color v] effect to (pick random (-10) to (5))\nset size to (pick random (20) to (60)) %\ngo to x: (pick random (-220) to (220)) y: (-230)\nset [stuffspeed v] to (pick random (5) to (12))\nshow\nrepeat (30)\n    change [ghost v] effect by (2)\n    change [brightness v] effect by (-0.3)\n    change y by (stuffspeed)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nshow\nforever\n    create clone of (_myself_ v)\n    wait () seconds\nend\n\n@Love fave\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nset [love fave: costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (25) to (35)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Love fave: Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@levels\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nhide\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen I receive [start project v]\nswitch costume to (1 v)\nshow\n\n@skip\n\nwhen flag clicked\nhide\n\nwhen flag clicked\n\nwhen I receive [someone pressed skip button v]\nchange [level v] by (1)\n\nwhen flag clicked\n\nwait (9) seconds\n\nshow\n\nwhen I receive [start project v]\nshow\nset size to (100) %\nset [zine v] to [0]\ngo to x: (205) y: (-162)\nforever\n    change [zine v] by (1)\n    point in direction ((90) + (([sin v] of ((zine) * (8)) ) * (3)))\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (4))\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        repeat until <<not <touching (mouse-pointer v)?>> or <not <mouse down?>>>\n            change [zine v] by (1)\n            point in direction ((90) + (([sin v] of ((zine) * (5)) ) * (3)))\n            change size by (((90) - (size)) / (2))\n        end\n        set size to (100) %\n        wait (0) seconds\n        if <<touching (mouse-pointer v)?> and <not <([costume # v] of [levels v]) = [15]>>> then\n            broadcast (someone pressed skip button v)\n        end\n    end\nend\n\nwhen I receive [start project v]\nset [level v] to [1]\n\nwhen I receive [start project v]\nforever\n    if <(level) = [15]> then\n        forever\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\n@spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen I receive [start project v]\nswitch costume to (costume1 v)\nshow\n\n@thumnail\n\nwhen flag clicked\nforever\n    go to x: (36) y: (28)\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\n@Intro for @345969\n\nwhen flag clicked\nset rotation style [left-right v]\nset [erase v] to [0]\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nswitch costume to (background v)\ncreate clone of (_myself_ v)\nswitch costume to (nvm because cool v)\nforever\n    create clone of (_myself_ v)\n    wait (0.2) seconds\n    point in direction (90)\nend\n\nwhen I start as a clone\nset volume to (1) %\nshow\nif <(costume [number v]) = [1]> then\n    set rotation style [all around v]\n    start sound [Restart-Subtract v]\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set size to (1) %\n    set volume to (1) %\n    repeat until <<(size) = [300]> or <(size) > [300]>>\n        change volume by (volume)\n        change size by (size)\n        wait (0.01) seconds\n    end\n    wait (2.74) seconds\n    set [repeat v] to [0]\n    repeat (9)\n        change [repeat v] by (1)\n        repeat until <<(size) = [250]> or <(size) < [250]>>\n            change size by ((4) * (((10) / (size)) - (4)))\n        end\n        repeat until <<(size) = [300]> or <(size) > [300]>>\n            change size by ((-4) * (((10) / (size)) - (4)))\n        end\n        if <(repeat) = [1]> then\n            wait (0.478) seconds\n        else\n            if <(repeat) = [2]> then\n                wait (0.1195) seconds\n            else\n                if <(repeat) = [3]> then\n                    wait (0.1195) seconds\n                else\n                    if <(repeat) = [4]> then\n                        wait (0.478) seconds\n                    else\n                        if <(repeat) = [5]> then\n                            wait (0.1195) seconds\n                        else\n                            if <(repeat) = [6]> then\n                                wait (0.1195) seconds\n                            else\n                                if <(repeat) = [7]> then\n                                    wait (0.478) seconds\n                                else\n                                    if <(repeat) = [8]> then\n                                        wait (0.1195) seconds\n                                    else\n                                        if <(repeat) = [9]> then\n                                            wait (0.1195) seconds\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    wait (0.1) seconds\n    repeat until <(size) < [20]>\n        change size by (-10)\n    end\n    hide\n    wait (2) seconds\n    set [erase v] to [1]\n    broadcast (Start Project v)\n    delete this clone\nelse\n    if <(costume [number v]) = [2]> then\n        set rotation style [all around v]\n        go to x: (0) y: (0)\n        go to [back v] layer\n        forever\n            if <(erase) = [1]> then\n                delete this clone\n            end\n        end\n    else\n        if <(costume [number v]) = [3]> then\n            set rotation style [all around v]\n            go [forward v] (1) layers\n            set y to (pick random (-240) to (240))\n            set x to (-275)\n            forever\n                change x by (15)\n                if <(x position) > [230]> then\n                    hide\n                end\n                if <(erase) = [1]> then\n                    delete this clone\n                end\n            end\n        end\n    end\nend\n\n@Platform guy\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <<key (p v) pressed?> and <not <(level) = [15]>>> then\n        wait until <not <key (p v) pressed?>>\n        broadcast (someone pressed S key v)\n        go to x: (-218) y: (-90)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen flag clicked\n\nwhen I receive [someone pressed s key v]\nchange [level v] by (1)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-218) y: (-106)\n\nwhen I receive [start project v]\nforever\n    if <touching (bounce pad v)?> then\n        set [y v] to [21]\n        play sound [Big Boing v] until done\n    end\nend\n\nwhen I receive [start project v]\nshow\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nforever\n    change [y v] by (-1)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        switch costume to (costume1 v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (levels v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [13]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen I receive [start project v]\nforever\n    if <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-223) y: (-100)\n    end\nend\n\nwhen I receive [start project v]\nset [level v] to [1]\n\nwhen I receive [start project v]\nforever\n    if <touching (spikes v)?> then\n        go to x: (-223) y: (-100)\n        play sound [Crunch \(1\) v] until done\n    end\nend\n\nwhen I receive [start project v]\nswitch costume to (costume1 v)\nforever\n    play sound [The Fat Rat-Unity \(Without female voice\) v] until done\nend\n\nplay sound [The Fat Rat-Unity \(Without female voice\) v] until done\n\nplay sound [The Fat Rat-Unity \(Without female voice\) v] until done\n\n
✨This project is a mobile-friendly platform game. These computers are played with right arrow-left arrow-down and up arrow, w-a-s-d keys. This game consists of 14 chapters and if you have difficulty in some levels, you can click the 'skip' option in the lower right corner. So you will go to the next level. The aim of the game is to complete the chapters without touching the spikes. There is also a trampoline to jump higher. When this project gets 300 likes, a different platform game will be released from this platform game. If you want to see that project, help it get 300 likes;) Yes, I know it passed 300 likes, but the project I'm working on will arrive on October 30th. Until then, could my project get 2000 likes? lol. I will leave likes to 2 projects of the owners of the first 3 comments made to my new project.\n