Sunshine Dimension - A platformer #Games #All
@Stage\n\nwhen flag clicked\nforever\n    play sound (pick random (1) to (3)) until done\nend\n\n@Player\n\nwhen I start as a clone\nrepeat (7)\n    switch costume to (costume1 v)\n    change size by (-4)\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen flag clicked\nset [level v] to [1]\nset [x v] to [0]\nset [y v] to [0]\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\nset size to (45) %\nswitch costume to (costume1 v)\ngo to x: (-190) y: (50)\nset drag mode [not draggable v]\npoint in direction (90)\nforever\n    create clone of (_myself_ v)\n    set rotation style [left-right v]\n    if <<<mouse down?> and <(x position) > (mouse x)>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (-1)\n    end\n    if <<<mouse down?> and <(x position) < (mouse x)>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>> then\n        create clone of (_myself_ v)\n        change [x v] by (1)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(x position) < (mouse x)> and <mouse down?>> or <<key (right arrow v) pressed?> or <key (d v) pressed?>>>> then\n        create clone of (_myself_ v)\n    end\n    if <<<<(y position) < (mouse y)> and <mouse down?>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> and <<<(mouse x) < (x position)> and <mouse down?>> or <<key (left arrow v) pressed?> or <key (a v) pressed?>>>> then\n        create clone of (_myself_ v)\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        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-5)\n                            if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-7]\n                                else\n                                    set [x v] to [7]\n                                end\n                                set [y v] to [14]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<<mouse down?> and <(y position) < (mouse y)>> or <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n            set [y v] to [14]\n            point in direction ((Y) * (0.5))\n        end\n    end\n    change y by (1)\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (ground v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    hide variable [x v]\n    if <<(x position) > [230]> and <not <(Level) = [12]>>> then\n        broadcast (next level v)\n        change [level v] by (1)\n        set [y v] to [0]\n        set [x v] to [0]\n        go to x: (-190) y: (0)\n    end\n    if <<touching (spikes v)?> or <<touching color (#ff2222)?> or <(y position) < [-170]>>> then\n        go to x: (-190) y: (-10)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#fff700)?> then\n        set [y v] to [17]\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#fdff75)?> then\n        change [x v] by (5)\n    end\nend\n\n@ground\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    if <<<(Level) = [4]> or <<<(Level) = [7]> or <<<(Level) = [9]> or <<(Level) = [11]> or <(Level) = [10]>>> or <(Level) = [8]>>> or <(Level) = [5]>>> or <(Level) = [2]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [2]> then\n        switch costume to (2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        switch costume to (4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        switch costume to (5 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        switch costume to (7 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        switch costume to (8 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (9 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (10 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch costume to (11 v)\n    end\nend\n\n@Decoration\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (Level)\nend\n\n@Lava\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <<<(Level) = [6]> or <(Level) = [7]>> or <(Level) = [3]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [7]> then\n        switch costume to (costume2 v)\n        go to x: (40) y: (-140)\n    else\n        switch costume to (costume1 v)\n        go to x: (0) y: (-130)\n    end\nend\n\n@Trampoline\n\nwhen flag clicked\nforever\n    if <<(Level) = [10]> or <(Level) = [4]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        go to x: (-23) y: (-54)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        go to x: (-110) y: (-54)\n    end\nend\n\n@Texture\n\nwhen flag clicked\nshow\nforever\n    go to [back v] layer\n    switch costume to (Level)\n    if <(Level) = [8]> then\n        hide\n    end\n    if <(Level) = [12]> then\n        switch costume to (12 v)\n        show\n    end\nend\n\n@Speedy boi\n\nwhen flag clicked\nforever\n    if <<<(Level) = [8]> or <(Level) = [11]>> or <(Level) = [6]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [6]> then\n        switch costume to (costume1 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [8]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [11]> then\n        switch costume to (costume3 v)\n    end\nend\n\n@Clouds\n\nwhen flag clicked\nhide\ngo [backward v] (10000000) layers\nforever\n    repeat (pick random (5) to (6))\n        create clone of (_myself_ v)\n        wait (pick random (2) to (4)) seconds\n    end\n    wait (pick random (1) to (3)) seconds\nend\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (5) to (30))\nswitch costume to (costume1 v)\nset size to (pick random (60) to (100)) %\ngo [backward v] (10000000) layers\nshow\ngo to x: (-290) y: (pick random (120) to (20))\nrepeat until <[290] < (x position)>\n    change x by (2)\nend\ndelete this clone\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (3))\n    else\n        change size by (((90) - (size)) / (3))\n    end\n    if <(Level) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((70) - (size)) / (3))\n    else\n        change size by (((60) - (size)) / (3))\n    end\nend\n\nwhen flag clicked\ngo to x: (-58) y: (-40)\ngo to x: (-204) y: (-147)\nshow\nrepeat until <(Level) = [12]>\n    show\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        change [level v] by (1)\n        wait until <not <<mouse down?> and <touching (mouse-pointer v)?>>>\n    end\nend\nhide\n\n@Sprite4\n\nwhen flag clicked\ngo to x: (-14) y: (-1)\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0)\nshow\nset [ghost v] effect to (100)\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n
No ads!\nPART 4 OUT!  https://scratch.mit.edu/projects/592943798/\nPART 3: \nhttps://scratch.mit.edu/projects/590633016/\nPART 2 IS OUT: https://scratch.mit.edu/projects/584488285/\nWASD and arrows to move! \nIf you are on mobile, just simply tap the screen!\nThis is my entry of the contest of @Sprites-Sing-Songs\nThanks for playing!\nWOW! 114 views! Thanks!\n217 views!\n23 loves! 22 fav! TYSM! Part 2 is already WIP, so love and fav this project!\nOMG! 315 views! Thanks for playing :D\n403 views! WOW!\n#60 on trending games! TYSM!\n500 views! Hooray!\n603 views! Part 2 is nearly done! Keep playing!\n706 views! Nice!\n806 views! We are getting closer to 1K! TYSM!\nOMG!! I WOKE UP AND NOW IT IS 910 VIEWS! TYSM!\nO.O Let's go! 1000+ views!