The Ruby || A Platformer

Instructions: PLEASE READ ALL OF THIS BEFORE YOU PLAY!\n\n♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡\nBackstory:\nYou are a little cube, and you are on a quest to find a ruby. The ruby was originally 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 ruby is in the 'Cave Of The Gems'. If you see a red glow in the game, that means that you are approaching the ruby. \n\n♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡\nInfo On The Sequel:\nI am working on the other platformers in the series 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 advertise 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 hardly 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:\nThe cave doesn't have stones everywhere in the ground because, as you know, it is called the 'Cave Of The Gems' and the robbers tried to disguise the cave by removing all the gems and stones.\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!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡♡\nSecret stuff:\nIf you want me to make another platformer series when I am done with this one, just say on my profile!

@Stage\n\nwhen flag clicked\nforever\n    set x to (0)\n    set y to (0)\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo [forward v] (1) layers\nswitch costume to (backdrop1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Cube\n\nwhen flag clicked\ngo to [back v] layer\nwait (2) seconds\ngo to [front v] layer\ngo [backward v] (1) layers\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 <key (a v) pressed?>> then\n        switch costume to (left v)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> 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 <key (w v) pressed?>> 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?> or <key (w 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\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