Potions - The elements for life || A platformer #All #Games #Art #Stories #Music #Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Elucidate - PaulRHJT v] until done\nend\n\n@blank!!!\n\n@player\n\nwhen I receive [reset v]\nset [ghost v] effect to (0)\ngo to x: (-196) y: (-86)\n\nwhen I receive [next level v]\ngo to x: (-196) y: (-86)\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nshow\nset [the level v] to [1]\ngo to x: (-196) y: (-86)\nforever\n    if <<<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> and <(Player Dead?) = [0]>> then\n        switch costume to (right v)\n        change [x velocity v] by (1)\n    end\n    if <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> and <(Player Dead?) = [0]>> then\n        switch costume to (left v)\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((X Velocity) * (.9))\n    change x by (X Velocity)\n    if <touching (ground v)?> then\n        change y by (2)\n        if <touching (ground v)?> then\n            change y by (2)\n        end\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 x by ((X Velocity) * (-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) + (10))>>>> then\n                            if <(X Velocity) > [0]> then\n                                set [x velocity v] to [-5]\n                            else\n                                set [x velocity v] to [5]\n                            end\n                            set [y velocity v] to [13]\n                        else\n                            set [x velocity v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-0.8)\n    change y by (Y Velocity)\n    if <touching (ground v)?> then\n        change y by ((Y Velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (10))>>>> then\n            switch costume to (up v)\n            set [y velocity v] to [12]\n        end\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 (spike v)?> or <touching (lava v)?>> or <touching (enemy v)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n    end\n    if <(y position) < [-180]> then\n        broadcast (Reset v)\n    end\n    if <touching (bouncy v)?> then\n        set [y velocity v] to [15]\n    end\n    if <not <key (any v) pressed?>> then\n        switch costume to (normal v)\n    end\nend\n\nwhen flag clicked\nset [potion collected v] to [0]\nforever\n    if <<touching (potion v)?> or <<touching (potion 2 v)?> or <touching (potion 3 v)?>>> then\n        change [potion collected v] by (1)\n    end\nend\n\nwhen I receive [hide  v]\ngo to x: (-119) y: (-92)\n\nwhen flag clicked\n\n@ground\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <(Potion collected) = [3]> then\n        switch costume to (costume12 v)\n        broadcast (HIDE  v)\n    end\nend\n\n@lava\n\nwhen flag clicked\ngo to [front v] layer\nshow\nforever\n    switch costume to (The Level)\nend\n\n@spike\n\nwhen flag clicked\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen I receive [hide  v]\nhide\n\n@enemy\n\nwhen flag clicked\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        set size to (85) %\n        go to x: (57) y: (-94)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        if <<(x position) = [57]> and <(y position) = [-94]>> then\n            glide (1) secs to x: (-116) y: (-94)\n        end\n        if <<(x position) = [-116]> and <(y position) = [-94]>> then\n            glide (1) secs to x: (57) y: (-94)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        set size to (85) %\n        go to x: (122) y: (-93)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        if <<(x position) = [122]> and <(y position) = [-93]>> then\n            glide (1) secs to x: (-27) y: (-93)\n        end\n        if <<(x position) = [-27]> and <(y position) = [-93]>> then\n            glide (1) secs to x: (122) y: (-93)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [13]> then\n        set size to (85) %\n        go to x: (57) y: (-94)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [13]> then\n        if <<(x position) = [57]> and <(y position) = [-94]>> then\n            glide (1) secs to x: (-116) y: (-94)\n        end\n        if <<(x position) = [-116]> and <(y position) = [-94]>> then\n            glide (1) secs to x: (57) y: (-94)\n        end\n    end\nend\n\nwhen I receive [hide  v]\nhide\n\n@potion\n\nwhen flag clicked\nforever\n    set y to (([cos v] of ((timer) * (150)) ) * (7))\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        hide\n    end\nend\n\n@potion 2\n\nwhen flag clicked\nforever\n    set y to (([cos v] of ((timer) * (150)) ) * (7))\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\ngo to x: (52) y: (-6)\nforever\n    if <touching (player v)?> then\n        hide\n    end\nend\n\n@potion 3\n\nwhen flag clicked\nforever\n    set y to (([cos v] of ((timer) * (150)) ) * (7))\nend\n\nwhen flag clicked\nshow\nforever\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        hide\n    end\nend\n\ngo to x: (35) y: (124)\n\n@potion counter\n\nwhen flag clicked\ngo to [front v] layer\nshow\nforever\n    switch costume to (Potion collected)\nend\n\nwhen I receive [hide  v]\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\n@Sprite1\n\n
Heyooooo Guys!! The best platformer I made ever is released!!! So I spent 57 hours for this game ( Only 24 hours needed , But time gone due to network problems!). So You can think how much is my hard work. Please follow me. So now it time for ithe story\n\n                ---------------- Story ---------------\nThree main potions for the existing of life are losted!!!\nYou Want to find all the three potions to the existing of life , Go and safe the life and Earth!!!!\n\n         ----------------- Instructions  -----------------\n⏩ Arrow keys or WASD for movement.\n⏩ Touch for movements in mobile\n⏩ Press up arrow or w for jump\n⏩ Space to skip\n⏩ Don't touch the spikes, enemies and lava\n⏩ Collect all potions to win ( There is 3 potions)\n⏩ Please heart, fav, follow and remix!!