Floating Islands | A Mobile Friendly Scrolling Platformer #games #all

Instructions: Welcome to my new game: Floating Islands!\n\nPlease Like, Fave and Follow for more cool games :)\n50 Likes = more levels (added)\n\n-Instructions-\nMove with arrow keys, WASD or you finger (mobile)\nand don't touch spikes!\nHave fun!\n\n-Tags-\n#floating #islands #scrolling #platformer #O2009H #cool #games #all #music #art #animatons

@Stage\n\nwhen flag clicked\nshow variable [time: v]\nhide variable [time v]\nhide variable [☁ best v]\nhide variable [by v]\nreset timer\nforever\n    set [time: v] to (timer)\nend\n\nwhen I receive [win v]\nset [time v] to (timer)\nhide variable [time: v]\nshow variable [time v]\nshow variable [☁ best v]\nwait (0.1) seconds\nbroadcast (check highscore v)\n\nwhen flag clicked\nset volume to (27) %\nforever\n    play sound [Floating v] until done\nend\n\n@Player\n\nwhen flag clicked\nshow\npoint in direction (90)\nset [y v v] to [0]\nset [x v v] to [0]\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset [checkpoint x v] to [0]\nset [checkpoint y v] to [0]\nforever\n    set size to (49) %\n    if <<touching (platform2 v)?> or <[-1000] > (scroll y)>> then\n        set [x v v] to [0]\n        set [y v v] to [0]\n        hide\n        broadcast (effect v)\n        wait (1) seconds\n        set [scroll x v] to (checkpoint x)\n        set [scroll y v] to (checkpoint y)\n        show\n        set size to (50) %\n    else\n        check\n    end\nend\n\ndefine check\nset size to (55) %\nif <touching (platform v)?> then\n    set [in air? v] to [0]\nelse\n    set [in air? v] to [1]\nend\nset size to (50) %\nchange [y v v] by (-1)\nset rotation style [left-right v]\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n    change [x v v] by (2)\n    point in direction (90)\nend\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n    change [x v v] by (-2)\n    point in direction (-90)\nend\nset [x v v] to ((x v) * (0.81))\nchange x by (x v)\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (1)\nend\nif <touching (platform v)?> then\n    change y by (-4)\n    change x by ((x v) * (-1))\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n        set [y v v] to [15]\n        if <(x v) > [0]> then\n            set [x v v] to [-9]\n        else\n            set [x v v] to [9]\n        end\n    else\n        set [x v v] to [0]\n    end\nend\nchange y by (y v)\nif <touching (platform v)?> then\n    change y by ((y v) - ((y v) * (2)))\n    set [y v v] to [0]\nend\nchange y by (-1)\nif <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(in air?) = [0]>> then\n    set [y v v] to [15]\nend\nchange y by (1)\nchange [scroll x v] by (x position)\nchange [scroll y v] by (y position)\ngo to x: (0) y: (0)\n\nwhen I receive [win v]\nhide\nforever\n    stop [other scripts in sprite v]\nend\n\n@Platform\n\nwhen flag clicked\nhide\nsetup\n\ndefine setup\nset [counter v] to [0]\nrepeat (7)\n    Add platform x ((counter) * (480)) y [0] costume ((counter) + (1))\n    change [counter v] by (1)\nend\n\nwhen I start as a clone\nchange [brightness v] effect by (12)\nshow\nforever\n    go to x: ((x) - (scroll x)) y: ((y) - (scroll y))\nend\n\ndefine Add platform x (x) y (y) costume (costume)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (costume)\ncreate clone of (_myself_ v)\n\n@Figur1\n\ndefine Particle\nrepeat (pick random (81) to (127))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nshow\nset [brightness v] effect to (pick random (27) to (81))\nswitch costume to (pick random (1) to (2))\nset [color v] effect to (pick random (0) to (200))\npoint in direction (pick random (-180) to (180))\nset [v v] to (pick random (5.0) to (9.0))\nset [effekt: y v] to [3]\nset size to (pick random (27) to (127)) %\ngo to [front v] layer\nrepeat (5)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\nend\nrepeat (20)\n    move (V) steps\n    change y by (Effekt: Y)\n    set [v v] to ((V) * (0.9))\n    change [effekt: y v] by (-0.3)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [effect v]\ngo to (player v)\nParticle\n\nwhen flag clicked\nhide\n\n@Figur2\n\nwhen flag clicked\nshow\nforever\n    go to [back v] layer\n    go to (player v)\nend\n\nwhen I receive [effect v]\nhide\nwait (1) seconds\nshow\n\nwhen I receive [win v]\nhide\n\n@Figur3\n\nwhen flag clicked\nforever\n    go to x: ((1100) - (scroll x)) y: ((-7) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\n\n@Figur4\n\nwhen flag clicked\nforever\n    go to x: ((1900) - (scroll x)) y: ((20) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\n@Figur5\n\nwhen I receive [win v]\nshow\n\nwhen flag clicked\nhide\n\n@Platform2\n\nwhen flag clicked\ngo to [back v] layer\nhide\nsetup\n\ndefine setup\nset [counter v] to [0]\nrepeat (7)\n    Add platform x ((counter) * (480)) y [0] costume ((counter) + (1))\n    change [counter v] by (1)\nend\n\nwhen I start as a clone\nshow\nforever\n    go to x: ((x) - (scroll x)) y: ((y) - (scroll y))\nend\n\ndefine Add platform x (x) y (y) costume (costume)\nset [x v] to (x)\nset [y v] to (y)\nswitch costume to (costume)\ncreate clone of (_myself_ v)\n\n@Confetti \n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nset size to (pick random (27) to (81)) %\nset [brightness v] effect to (pick random (27) to (81))\nset [color v] effect to (pick random (0) to (200))\npoint in direction (pick random (0) to (360))\nshow\nforever\n    next costume\nend\n\nwhen I start as a clone\nset [d v] to (pick random (-9) to (9))\nforever\n    turn right (D) degrees\nend\n\nwhen I start as a clone\nrepeat until <[-250] > (y position)>\n    set [v v] to (pick random (-9.0) to (-3.0))\n    repeat (pick random (27) to (81))\n        change y by (V)\n    end\nend\ndelete this clone\n\nwhen I receive [win v]\nforever\n    go to x: (pick random (-240) to (240)) y: (200)\n    create clone of (_myself_ v)\nend\n\n@Figur6\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n@Figur7\n\nwhen flag clicked\nset [ghost v] effect to (27)\ngo to [back v] layer\nforever\n    go to x: (((0) - (scroll x)) / (9)) y: (((0) - (scroll y)) / (9))\nend\n\n@Figur8\n\nwhen flag clicked\nset [ghost v] effect to (50)\ngo to [back v] layer\nset size to (81) %\nforever\n    go to x: (((5000) - (scroll x)) / (12)) y: (((270) - (scroll y)) / (12))\nend\n\n@Figur9\n\nwhen flag clicked\nset [ghost v] effect to (18)\ngo to [back v] layer\nforever\n    go to x: (((0) - (scroll x)) / (5)) y: (((0) - (scroll y)) / (5))\nend\n\n@Figur10\n\nwhen flag clicked\nforever\n    go to x: ((3150) - (scroll x)) y: ((106) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to (scroll y)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\n@Figur11\n\nwhen flag clicked\nforever\n    go to x: ((2300) - (scroll x)) y: ((333) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\n@Figur12\n\nwhen I start as a clone\ngo to [front v] layer\n\nwhen I receive [check highscore v]\nif <(Time) < (☁ best time)> then\n    set [☁ best time v] to (Time)\n    Encoder (username)\n    set [☁ name v] to (Encodiert)\nend\ngo to x: (0) y: (-165)\nDecoder (☁ name)\nshow variable [by v]\nset [by v] to (Decodiert)\n\ndefine write text (number or text)\nshow\nset size to (100) %\nset [character v] to [1]\nrepeat (length of (number or text))\n    switch costume to (letter (character) of (number or text))\n    create clone of (_myself_ v)\n    move (12) steps\n    change [character v] by (1)\nend\nhide\n\ndefine Decoder (number or text)\nset [zeichen v] to (number or text)\nset [stelle v] to [1]\nset [decodiert v] to []\nforever\n    set [zeichen # v] to (((letter (Stelle) of (Zeichen)) * (10)) + (letter ((Stelle) + (1)) of (Zeichen)))\n    change [stelle v] by (2)\n    if <(Zeichen #) < [1]> then\n        stop [this script v]\n    end\n    switch costume to (Zeichen #)\n    set [decodiert v] to (join (Decodiert) (costume [name v]))\nend\n\ndefine Encoder (number or text)\nset [stelle v] to [1]\nset [encodiert v] to []\nrepeat (length of (number or text))\n    switch costume to (letter (Stelle) of (number or text))\n    set [encodiert v] to (join (Encodiert) (costume [number v]))\n    change [stelle v] by (1)\nend\nset [encodiert v] to (Encodiert)\n\n@Figur13\n\nwhen flag clicked\nforever\n    go to x: ((-380) - (scroll x)) y: ((125) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nbroadcast (win v)\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\n@Figur14\n\nwhen flag clicked\nforever\n    go to x: ((960) - (scroll x)) y: ((255) - (scroll y))\nend\n\nwhen flag clicked\nset size to (100) %\nwait until <touching (player v)?>\nset volume to (27) %\nstart sound [checkpoint v]\nset [checkpoint x v] to (scroll x)\nset [checkpoint y v] to ((scroll y) + (100))\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (10)\n    change y by (10)\nend\n\n