Project Pandora :D | A Platformer #Games #All#art#music

Instructions: Project Pandora :D\nHey guys thanks for the support on frozen I changed some physics up with this game. It is a new series called Project Pandora. Please give me a like and fave. Thanks\n\n- Deadend24\n\n\n\n\n\nTags\n#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music#Games #All#art#music

@Stage\n\nwhen flag clicked\nforever\n    set volume to (40) %\n    play sound [PIKASONIC - New Start! v] until done\nend\n\nwhen flag clicked\n\nwhen I receive [levelup v]\n\nswitch backdrop to (yor mum v)\n\n@Ground\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    switch costume to (LEVEL)\nend\n\n@Player\n\nwhen flag clicked\ngo to x: (-190) y: (135)\nset [level v] to [1]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    X velocity\n    Y velocity\n    Collision and Wall Jump\n    Death\n    Trampoline Jump\n    Level Change\nend\n\ndefine X velocity\nset rotation style [left-right v]\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [x velocity v] by (1)\n    point in direction (90)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x velocity v] by (-1)\n    point in direction (-90)\nend\nset [x velocity v] to ((X velocity) * (.9))\nchange x by (X velocity)\n\ndefine Collision and Wall Jump\nif <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 (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change x by ((X velocity) * (-1))\n                        change y by (-5)\n                        Wall jump\n                    end\n                    change [x velocity v] by (1)\n                end\n            end\n        end\n    end\nend\nchange [y velocity v] by (-0.75)\nchange y by (Y velocity)\nif <touching (ground v)?> then\n    change y by ((Y velocity) * (-1))\n    set [y velocity v] to [0]\nend\nchange y by (-1)\n\ndefine Y velocity\nif <touching (ground v)?> then\n    if <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        start sound [Low Whoosh v]\n        change [y velocity v] by (17)\n    end\nend\nchange y by (1)\n\ndefine Wall jump\nif <<<key (space v) pressed?> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(X velocity) > [0]> then\n        set [x velocity v] to [-10]\n    else\n        set [x velocity v] to [7]\n    end\n    set [y velocity v] to [10]\nelse\n    set [x velocity v] to [0]\nend\n\ndefine Death\nif <<touching (spikes. lava, holes, etc. v)?> or <<touching (ninja boss v)?> or <<touching (enemies2 v)?> or <touching (enemies3 v)?>>>> then\n    start sound [Crunch v]\n    broadcast (dead v)\n    go to x: (-190) y: (55)\nend\n\ndefine Trampoline Jump\nif <touching (trampoline v)?> then\n    if <(Y velocity) < [0]> then\n        set [y velocity v] to [18]\n    end\nend\n\ndefine Level Change\nif <(x position) > [235]> then\n    if <(LEVEL) < [9]> then\n        go to x: (-190) y: (55)\n        switch backdrop to (yor mum v)\n        start sound [Connect v]\n        broadcast (message1 v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\n\nset [flag v] to [0]\n\nwhen I receive [golden v]\nswitch costume to (gold v)\n\nwhen flag clicked\nswitch costume to (red v)\n\nswitch costume to (gold v)\n\nswitch costume to (gold v)\n\n@Spikes. Lava, Holes, etc.\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\n    go to [back v] layer\nend\n\n@Love fave\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (10) to (15)) seconds\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.7) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n@Art\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    switch costume to (LEVEL)\nend\n\n@TB\n\nwhen flag clicked\nshow\ngo to [front v] layer\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100000000000000)\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\nwhen flag clicked\nforever\n    if <(Actions \(love/fave\)) = [2]> then\n        broadcast (Golden v)\n    end\nend\n\n