Lest We Forget || Remembrance Day Platformer #art
@Stage\n\nwhen I receive [end of intro v]\nswitch backdrop to (backdrop1 v)\nwait (2) seconds\nforever\n    play sound [Sounds of the Boreal Forest v] until done\nend\n\nwhen I receive [end of intro v]\nwait (2) seconds\nforever\n    play sound [Plugged \(post mastering\) v] until done\nend\n\n@Ground\n\nwhen flag clicked\nshow\nswitch costume to (level 1 1 v)\n\nwhen I receive [next level v]\nnext costume\nnext backdrop\n\n@Sun\n\nwhen flag clicked\nhide\npoint in direction (90)\ngo to x: (212) y: (166)\nset size to (100) %\nswitch costume to (costume1 v)\nforever\n    wait (0.03) seconds\n    repeat (10)\n        change size by (1.5)\n    end\n    wait (0.03) seconds\n    repeat (10)\n        change size by (-1.5)\n    end\n    wait (0.03) seconds\nend\n\nwhen I receive [end of intro v]\nshow\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Clouds\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [end of intro v]\nshow\nset [ghost v] effect to (50)\nforever\n    go to x: (-26) y: (19)\n    glide (6) secs to x: (-300) y: (13)\nend\n\n@Stuff\n\nwhen I receive [end of intro v]\nshow\ngo to [front v] layer\ngo [forward v] (1) layers\nswitch costume to (1 v)\n\nwhen I receive [next level v]\nshow\nnext costume\n\nwhen flag clicked\nhide\n\n@Spikes\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo to [back v] layer\n\nwhen I receive [end of intro v]\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (95) y: (-27)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.03)\ngo to x: (95) y: (-1000)\nrepeat until <(round (y position)) = [-27]>\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change y by (((1) - (y position)) / (5))\nend\nset y to (-27)\n\n@Intro\n\nwhen flag clicked\nshow\nstart sound [Tobu - Hope \(Edited\) v]\nset size to (100) %\npoint in direction (90)\ngo to x: (0) y: (0)\nset [brightness v] effect to (0)\nswitch costume to (background v)\nwait (9) seconds\nrepeat (10)\n    show\n    change [ghost v] effect by (-10)\nend\nhide\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nset [clone id v] to [1]\nwait (0.03) seconds\ncreate clone of (_myself_ v)\nchange [clone id v] by (1)\nwait (0.03) seconds\ncreate clone of (_myself_ v)\nchange [clone id v] by (1)\n\nwhen I start as a clone\nif <(Clone ID) = [1]> then\n    hide\n    set size to (100) %\n    point in direction (90)\n    set [ghost v] effect to (50)\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    switch costume to (oc v)\n    go to x: (1000) y: (0)\n    wait (3) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change x by (((0) - (x position)) / (4))\n    end\n    repeat (140)\n        set [brightness v] effect to (0)\n        change y by (([sin v] of (Direction) ) * (1))\n        change [direction v] by (5)\n        point in direction (([tan v] of ((timer) * (120)) ) + (90))\n    end\n    point in direction (90)\n    repeat (10)\n        change y by ((5) - ((y position) * (0.2)))\n        change [ghost v] effect by (2.5)\n    end\n    repeat (30)\n        change y by (((5) - ((y position) * (0.2))) * (-1))\n        change [ghost v] effect by (3)\n    end\n    broadcast (End of intro v)\n    broadcast (start v)\n    hide\nend\n\nwhen I start as a clone\nif <(Clone ID) = [2]> then\n    hide\n    set size to (100) %\n    point in direction (90)\n    set [ghost v] effect to (50)\n    set [brightness v] effect to (0)\n    go to [front v] layer\n    switch costume to (name logo v)\n    go to x: (1000) y: (0)\n    wait (2.5) seconds\n    show\n    repeat (20)\n        change [ghost v] effect by (-5)\n        change x by (((0) - (x position)) / (4))\n    end\n    repeat (140)\n        set [brightness v] effect to (0)\n        change y by (([sin v] of (Direction) ) * (1))\n        change [direction v] by (5)\n        point in direction (([tan v] of ((timer) * (120)) ) + (90))\n    end\n    point in direction (90)\n    repeat (10)\n        change y by ((5) - ((y position) * (0.2)))\n        change [ghost v] effect by (2.5)\n    end\n    repeat (30)\n        change y by (((5) - ((y position) * (0.2))) * (-1))\n        change [ghost v] effect by (3)\n    end\n    hide\nend\n\nwhen I receive [end of intro v]\n\ncreate clone of (_myself_ v)\nchange [clone id v] by (1)\n\nwhen I receive [end of intro v]\n\nif <(Clone ID) = [4]> then\n    show\n    set [ghost v] effect to (100)\n    set size to (100) %\n    go to [front v] layer\n    point in direction (90)\n    go to x: (0) y: (0)\n    switch costume to (ending transition v)\n    wait (0.03) seconds\n    repeat (10)\n        show\n        change [ghost v] effect by (-10)\n    end\n    wait (1) seconds\n    hide\nend\n\nwhen I start as a clone\nif <(Clone ID) = [3]> then\n    show\n    point in direction (90)\n    go to x: (0) y: (0)\n    show\n    set [ghost v] effect to (0)\n    switch costume to (flash v)\n    go to [front v] layer\n    clear graphic effects\n    repeat (50)\n        change [ghost v] effect by (10)\n    end\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (30) to (40)) 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 <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@R\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (3))\n        point in direction (90)\n    else\n        change size by (((100) - (size)) / (3))\n    end\nend\n\nwhen I receive [end of intro v]\nshow\n\nwhen this sprite clicked\nbroadcast (RESET v)\n\n@Player\n\nwhen I receive [next level v]\nset [change? v] to [1]\nreset\nset [change? v] to [0]\n\nwhen I receive [start v]\nset [change? v] to [0]\nforever\n    if <(x position) > [232]> then\n        start sound [Ding Sound Effect v]\n        broadcast (NEXT LEVEL v)\n        change [level v] by (1)\n    end\nend\n\nwhen [r v] key pressed\nif <(dead?) = [0]> then\n    reset\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [start v]\nshow\n\nwhen flag clicked\nswitch costume to (center v)\n\nwhen flag clicked\nforever\n    if <<touching (danger v)?> or <touching (gears v)?>> then\n        go to x: (-200) y: (-65)\n    end\n    if <touching (moving danger v)?> then\n        go to x: (-200) y: (-65)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [end of intro v]\nbroadcast (Start v)\n\nwhen [space v] key pressed\nnext costume\n\ndefine reset\ngo to [front v] layer\nclear graphic effects\ngo to x: (-200) y: (-50)\npoint in direction (90)\nset [dead? v] to [0]\nset [x v v] to [0]\nset [y v v] to [0]\nset size to (80) %\nshow\n\nwhen I receive [start v]\nset [level v] to [1]\ngo to [front v] layer\nset [dead? v] to [0]\nset size to (80) %\nreset\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (.9)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <(dead?) = [0]>> then\n        change [x v v] by (-.9)\n    end\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n            if <touching (ground v)?> then\n                change y by (2)\n                if <touching (ground v)?> then\n                    change y by (2)\n                    if <touching (ground v)?> then\n                        change y by (2)\n                        if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n                            change x by ((X v) * (-2))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [13]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-0.8)\n    change y by (Y v)\n    if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <<touching (ground v)?> or <<touching (rocks v)?> or <touching (moving ground v)?>>> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [12]\n        end\n    end\n    change y by (1)\n    if <<<<<touching (gears v)?> or <touching (spikes v)?>> or <touching (killer wheel2 v)?>> or <touching (lightning v)?>> and <(dead?) = [0]>> then\n        Spin off screen\n    end\n    if <touching (trampoline v)?> then\n        set [y v v] to [19]\n    end\nend\n\nwhen I receive [start v]\nforever\n    set [direction v] to (direction)\nend\n\nwhen I receive [start v]\nforever\n    if <(y position) = [-179]> then\n        Spin off screen\n    end\nend\n\ndefine Spin off screen\nset [dead? v] to [1]\nchange [player death v] by (1)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nreset\n\n
Happy Remembrance Day! This project is based on WW1 and WW2. It shows facts about Remembrance Day and More! \n\nInstructions:\n\nUse arrow keys or WASD to move.\nYou can wall jump too!\n\nCredits:\nThanks to @TheFunkyPanda for the intro!\n\nThats it!