Moon phenomena - A 360° platformer  
@Stage\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        switch backdrop to (bühnenbild1 v)\n    end\n    if <(level) = [2]> then\n        switch backdrop to (bühnenbild1 v)\n    end\n    if <(level) = [3]> then\n        switch backdrop to (bühnenbild2 v)\n    end\n    if <(level) = [4]> then\n        switch backdrop to (bühnenbild3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Christina Perri - A Thousand Years Instrumental v] until done\nend\n\n@Player\n\nwhen flag clicked\npoint in direction (90)\nset [level v] to [1]\ngo to (level v)\nset [life v] to [3]\nswitch costume to (kostüm2 v)\ngo to x: (2) y: (-48)\nforever\n    if <touching (level up v)?> then\n        broadcast (Level up v)\n        change [level v] by (1)\n        broadcast (Setup v)\n        wait (1) seconds\n    end\nend\n\nmove (10) steps\n\nwhen flag clicked\n\nturn left (15) degrees\n\nwhen flag clicked\nforever\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        point in direction (90)\n    end\n    if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        point in direction (-90)\n    end\nend\n\nswitch costume to (kostüm2 v)\n\nset rotation style [left-right v]\n\nbroadcast (Level up v)\n\nwhen flag clicked\nswitch costume to (kostüm2 v)\nforever\n    wait (pick random (1) to (4)) seconds\n    switch costume to (kostüm3 v)\n    wait (pick random (0.2) to (0.5)) seconds\n    switch costume to (kostüm2 v)\nend\n\n@Level up\n\ndefine Set Size to (size)\nset size to (size) %\n\nwhen flag clicked\nshow\ngo to x: (20) y: (-227)\ngo to [front v] layer\nforever\n    go to (level v)\n    point in direction ([direction v] of [level v])\n    if <touching (_edge_ v)?> then\n        hide\n    else\n        show\n    end\nend\n\nwhen flag clicked\n\nforever\n    if <(level) = [1]> then\n        Set Size to [151]\n    end\n    if <(level) = [2]> then\n        Set Size to [155]\n    end\n    if <(level) = [3]> then\n        Set Size to [160]\n    end\n    if <(level) = [4]> then\n        Set Size to [151]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [4]> then\n        hide\n    else\n        if <touching (_edge_ v)?> then\n            hide\n        else\n            show\n        end\n    end\nend\n\n@Figur2\n\nwhen I receive [now v]\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (pick random (0.5) to (0.15)) seconds\nend\n\nwhen I start as a clone\nturn right (pick random (0) to (360)) degrees\ngo to (player v)\nchange x by ((-1) * (xv))\nset size to (pick random (5) to (20)) %\nshow\nset [yv v] to (pick random (0.5) to (2))\nforever\n    change [yv v] by (-0.1)\n    change y by (yv)\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\ngo to x: (36) y: (28)\n\nset [xv v] to [0]\n\n@Figur6\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (0.5) to (1)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nforever\n    turn right (pick random (1) to (2)) degrees\nend\n\nwhen I start as a clone\ngo to [back v] layer\nforever\n    set [ghost v] effect to ((20) - (size))\n    if <(size) < [13]> then\n        go to [back v] layer\n        go [backward v] (30) layers\n        set [ghost v] effect to (10)\n    else\n        go to [back v] layer\n    end\nend\n\nwhen I start as a clone\ngo to x: (-240) y: (pick random (-180) to (180))\nshow\nset size to (pick random (6) to (18)) %\nglide (pick random (9.5) to (18)) secs to x: (243) y: (y position)\ndelete this clone\n\n@Figur5\n\n@Level\n\nwhen flag clicked\nswitch costume to (spring3 v)\nset [reset v] to [false]\nbroadcast (Setup v)\nforever\n    change [y v] by (1)\n    if <<<(mouse x) > (x position)> and <mouse down?>> or <key (right arrow v) pressed?>> then\n        change [rotation v] by (-0.2)\n    end\n    if <<<(mouse x) < (x position)> and <mouse down?>> or <key (left arrow v) pressed?>> then\n        change [rotation v] by (0.2)\n    end\n    set [rotation v] to ((Rotation) * (0.82))\n    turn right (Rotation) degrees\n    if <touching (player v)?> then\n        change y by (-1)\n        if <touching (player v)?> then\n            change y by (-1)\n            if <touching (player v)?> then\n                change y by (-1)\n                if <touching (player v)?> then\n                    change y by (-1)\n                    if <touching (player v)?> then\n                        change y by (4)\n                        turn right ((Rotation) * (-1)) degrees\n                        set [rotation v] to [0]\n                    end\n                end\n            end\n        end\n    end\n    change y by (Y)\n    if <touching (player v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (1)\n    if <touching (player v)?> then\n        if <<<(mouse y) > (y position)> and <mouse down?>> or <key (up arrow v) pressed?>> then\n            set [y v] to [-12]\n        end\n    end\n    change y by (-1)\nend\n\nwhen I receive [setup v]\nSet Size to [500]\nset [reset v] to [false]\nset [rotation v] to [0]\nset [y v] to [0]\ngo to x: (0) y: (-304)\npoint in direction (90)\n\ndefine Set Size to (size)\nset size to (size) %\n\nwhen I receive [level up v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<color (#d7d93d) is touching (#0080f7)?> or <<color (#ff4747) is touching (#ff0000)?> or <color (#4783ff) is touching (#defcff)?>>> then\n        change [life v] by (-1)\n    end\n    if <(Life) = [0]> then\n        broadcast (over v)\n    end\nend\n\nwait (1) seconds\n\nwhen flag clicked\n\nset [time v] to [250]\nforever\n    wait (1) seconds\n    change [time v] by (-1)\n    if <(time) = [0]> then\n        broadcast (over v)\n        switch costume to (over v)\n        stop [all v]\n    end\n    if <(costume [number v]) = [5]> then\n        stop [this script v]\n    end\nend\n\n@danger\n\nwhen I receive [setup v]\nforever\n    change y by (1)\n    if <touching (player v)?> then\n        broadcast (Setup v)\n    end\n    change y by (-1)\nend\n\ndefine Set Size to (size)\nset size to (size) %\n\nwhen I receive [level up v]\nnext costume\n\nwhen flag clicked\nforever\n    if <<color (#d7d93d) is touching (#0080f7)?> or <<color (#ff4747) is touching (#ff0000)?> or <color (#4783ff) is touching (#defcff)?>>> then\n        change [life v] by (-1)\n    end\n    if <(Life) = [0]> then\n        broadcast (over v)\n    end\nend\n\nwhen I receive [setup v]\nswitch costume to (spring3 v)\nshow\ngo to [back v] layer\npoint in direction (90)\ngo to x: (0) y: (-304)\nforever\n    go to (level v)\nend\n\nwhen flag clicked\n\nbroadcast (Level up v)\n\nset size to (100) %\n\nwhen flag clicked\n\nwhen I receive [level up v]\n\nforever\n    if <(level) = [1]> then\n        switch costume to (spring3 v)\n        Set Size to [175]\n    end\n    if <(level) = [2]> then\n        switch costume to (spring2 v)\n        Set Size to [155]\n    end\n    if <(level) = [3]> then\n        switch costume to (spring4 v)\n        Set Size to [135]\n    end\n    if <(level) = [4]> then\n        switch costume to (spring5 v)\n        Set Size to [155]\n    end\nend\n\nchange [level v] by (1)\n\nwhen I receive [setup v]\nforever\n    point in direction ([direction v] of [level v])\nend\n\n@Figur3\n\nwhen flag clicked\ngo to x: (2) y: (166)\nhide\nforever\n    go to [front v] layer\nend\n\nwhen I receive [imfo v]\nshow\nglide (1) secs to x: (2) y: (-4)\n\nwhen this sprite clicked\nglide (1) secs to x: (2) y: (166)\nhide\n\nswitch costume to (pick random (1) to (3))\n\nwhen I receive [imfo v]\nforever\n    if <(level) = [1]> then\n        switch costume to (kostüm2 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (kostüm1 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (kostüm3 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (kostüm4 v)\n    end\nend\n\n@Figur4\n\nwhen this sprite clicked\ngo to x: (31) y: (50)\nbroadcast (Imfo v)\n\n@Moon\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-1) y: (-8)\nforever\n    set [ghost v] effect to (100)\nend\n\n
Curated by @superscratch3112 Tysm :D\n---------------------------------------\nWelcome about my latest platformer! Moon phenomena!\n----------------------\n-Arrow Keys or tap to move\n- Level 1 = normal moon\n-Level 2 = Blood moon\n- Level 3 = Harvest moon\n- Level 4 = Snow moon\n- Click the questionmark to see information \n----------------------------------\nI really hope you enjoyed this :)\n-------------------------------------\n#all #games #platformer  #mobile #moon #Art #music 