The Emerald || A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop3 v)\nforever\n    set x to (0)\n    set y to (0)\nend\n\nwhen flag clicked\nswitch costume to (backdrop3 v)\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [next level v]\nnext costume\n\n@Cube\n\nwhen flag clicked\nswitch costume to (forwards v)\nset size to (75) %\nforever\n    if <touching (spikes v)?> then\n        go to x: (-217) y: (-60)\n        change [deaths: v] by (1)\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (left v)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n            set [y v] to [13]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (ground v)?>> then\n        set [y v] to [13]\n    end\n    change y by (1)\n    if <(x position) > [222]> then\n        go to x: (-217) y: (-60)\n        broadcast (NEXT LEVEL v)\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [20]\n    end\nend\n\nwhen flag clicked\nset [level v] to [0]\nchange [☁ views! v] by (1)\ngo to x: (-217) y: (-60)\n\nwhen I receive [next level v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <key (s v) pressed?> then\n        go to x: (-217) y: (-60)\n        broadcast (NEXT LEVEL v)\n        wait (0.5) seconds\n    end\nend\n\nwhen flag clicked\ngo to [back v] layer\nwait (2) seconds\ngo to [front v] layer\ngo [backward v] (1) layers\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 [front v] layer\ngo [backward v] (3) layers\nforever\n    set x to (0)\n    set y to (0)\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    set x to (0)\n    set y to (0)\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Trampoline\n\nwhen flag clicked\nforever\n    set x to (0)\n    set y to (0)\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\n\n@Writing\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen flag clicked\ngo to [front v] layer\ngo [backward v] (2) layers\nforever\n    set x to (0)\n    set y to (0)\nend\n\n@Thumbnail\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\n\n
PLEASE READ ALL OF THIS BEFORE YOU PLAY!\nhttps://scratch.mit.edu/projects/723662352/\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nBackstory:\nYou are a little cube, and you are on a quest to find a emerald. The emerald was supposed to be in the queen's crown to help keep the kingdom in order, but one day, some robbers picked out all of the gems and hid them in different places. The emerald is in 'Mudswamp', a swamp just outside of the kingdom. If you see a green glow in the game, that means that you are approaching the emerald. \n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nInfo On The Sequel:\nI am working on the other platformers in the sequel but I will only share it if people request it. There are going to be 11 platformers in this series, because 10 of them are going to be about finding all the gems, and the last one is going to be finding the blacksmith.\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nRules:\nDon't touch spikes or the level will restart, and the springs are bouncy and will help you jump higher! press 's' to skip a level!\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nComments:\nAny advertising will be reported and deleted when I see it, and if you ask me for feedback on a game, put a link. I will see the game and give you feedback, but I will also delete that link later, ok?. I am only deleting these comments because I have another account and there have been a few incidents where people have been advertising. Please give me feedback if you have any, and if I use it, I will give you credit! Please do not put any hate, as I have worked very hard to make this game fun and long!\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nRemixing:\nIf you wish to remix, please do not avertise it here. You have to change something big, like all of the levels. This is just because as you already know, I have another account, and someone remixed one of my games and hardy changed anything, just removed one sprite and changed some colours, and then they didn't credit me properly and let someone think that they did everything.\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nFollowers, Loves, And Faves:\nIf not many people have asked for a sequel but you want one, then please love and fave this game! I am not doing f4f at the moment, but I might later on.\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nExtra Game Things:\nDo not steal/use my art without my permission! If I see anybody using it, I will report them.\n\n✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨\nNot So Secret Stuff:\nThe gem was made by me and also this game has 20 levels. I worked really hard on this so a heart and star would be appreciated!