Dunes 2 - a platformer #games #all #stories
@Stage\n\nwhen I receive [storyline v]\nrepeat until <key (m v) pressed?>\n    play sound [another sad piano music v] until done\nend\n\nwhen [m v] key pressed\nforever\n    stop all sounds\nend\n\n@Blank\n\nset [plz follow me v] to [PLZ]\n\n@Lightbulb\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    if <(optional light) = [1]> then\n        switch costume to (costume1 v)\n        wait (pick random (0.1) to (0.6)) seconds\n        switch costume to (costume2 v)\n        wait (pick random (0.1) to (0.6)) seconds\n        go to [back v] layer\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [storyline v]\nhide\n\nwhen I receive [start v]\nforever\n    go to [back v] layer\nend\n\nswitch costume to (costume2 v)\n\nwhen I receive [secondstoryart v]\nhide\n\nwhen I receive [startlight v]\nshow\nswitch costume to (costume1 v)\nwait (00.10) seconds\nswitch costume to (costume2 v)\nwait (00.60) seconds\nswitch costume to (costume1 v)\nwait (00.20) seconds\nswitch costume to (costume2 v)\nwait (00.30) seconds\nswitch costume to (costume1 v)\nwait (00.10) seconds\nswitch costume to (costume2 v)\nwait (00.30) seconds\nswitch costume to (costume1 v)\nwait (00.20) seconds\nswitch costume to (costume2 v)\nwait (00.40) seconds\nswitch costume to (costume1 v)\nwait (00.50) seconds\nswitch costume to (costume2 v)\nwait (00.10) seconds\nswitch costume to (costume1 v)\nwait (00.10) seconds\nswitch costume to (costume2 v)\nwait (00.60) seconds\nswitch costume to (costume1 v)\nwait (00.20) seconds\nswitch costume to (costume2 v)\nwait (00.30) seconds\nswitch costume to (costume1 v)\nwait (00.10) seconds\nswitch costume to (costume2 v)\nwait (00.30) seconds\nswitch costume to (costume1 v)\nwait (00.20) seconds\nswitch costume to (costume2 v)\nwait (00.40) seconds\nswitch costume to (costume1 v)\nwait (00.50) seconds\nswitch costume to (costume2 v)\nwait (00.10) seconds\nswitch costume to (costume1 v)\nbroadcast (message1 v)\n\nwhen I receive [startlight v]\nshow\nstart sound [neon-flicker-animation-youtubemp3free v]\nwait (2.50) seconds\nstart sound [neon-flicker-animation-youtubemp3free2 v]\nwait (1.50) seconds\nstart sound [neon-flicker-animation-youtubemp3free v]\n\n@Dunes logo\n\nwhen I receive [message1 v]\nwait (3) seconds\nshow\nrepeat (50)\n    change [ghost v] effect by (-5)\n    wait (00.03) seconds\nend\nwait (5) seconds\nrepeat (50)\n    change [ghost v] effect by (5)\n    wait (00.03) seconds\nend\nhide\nbroadcast (skip message v)\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nhide\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\nset [level v] to [1]\ngo to x: (-211) y: (0)\nshow\nforever\n    change [y v] by (-1)\n    change y by (y)\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change x by (x)\n    if <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < [-10]>>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > [10]>>>> then\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (1)\n    end\n    if <<touching (level v)?> or <touching (movingplatform v)?>> then\n        change y by (-8)\n        change x by ((x) * (-1))\n        if <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n            set [y v] to [15]\n            if <(x) < [0]> then\n                set [x v] to [7]\n            else\n                set [x v] to [-7]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (-1)\n    if <<<touching (level v)?> or <touching (movingplatform v)?>> and <<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    go to [front v] layer\n    if <touching (spikes v)?> then\n        death\n        show\n    end\n    if <<(x position) = [240]> and <not <<<(level) = [11]> or <(level) = [15]>> or <(level) = [14]>>>> then\n        change [level v] by (1)\n        reset\n        show\n    end\n    if <touching (tramp v)?> then\n        set [y v] to [20]\n    end\n    if <(y position) = [-179]> then\n        death\n        show\n    end\n    if <<(x position) = [240]> and <(level) = [11]>> then\n        change [level v] by (1)\n        reset 2\n        show\n    end\n    if <<(x position) = [240]> and <(level) = [15]>> then\n        change [level v] by (1)\n        reset 3\n        show\n    end\n    if <<(x position) = [240]> and <(level) = [14]>> then\n        change [level v] by (1)\n        reset 4\n        show\n    end\nend\n\ndefine death\nset [y v] to [15]\nrepeat until <(y position) = [-180]>\n    turn right (15) degrees\n    change [y v] by (-1)\n    change y by (y)\n    go to [front v] layer\nend\nhide\nif <not <<(level) = [12]> or <(level) = [16]>>> then\n    reset\nend\nif <(level) = [12]> then\n    reset 2\nend\nif <(level) = [16]> then\n    reset 3\nend\nif <(level) = [15]> then\n    reset 4\nend\n\ndefine reset\nset [x v] to [0]\nset [x v] to [0]\nset [ghost v] effect to (0)\ngo to x: (-211) y: (-10)\npoint in direction (90)\nset size to (100) %\n\nwhen I receive [secondstoryart v]\nhide\n\nwhen I receive [secondstoryart v]\nforever\n    hide\nend\n\ndefine reset 2\nset [x v] to [0]\nset [x v] to [0]\nset [ghost v] effect to (0)\ngo to x: (-211) y: (90)\npoint in direction (90)\nset size to (100) %\n\ndefine reset 3\nset [x v] to [0]\nset [x v] to [0]\nset [ghost v] effect to (0)\ngo to x: (-211) y: (-70)\npoint in direction (90)\nset size to (100) %\n\ndefine reset 4\nset [x v] to [0]\nset [x v] to [0]\nset [ghost v] effect to (0)\ngo to x: (-211) y: (-20)\npoint in direction (90)\nset size to (100) %\n\n@Level\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [start v]\npoint in direction (90)\nforever\n    show\n    go to x: (0) y: (0)\n    go to [back v] layer\n    go [backward v] (1) layers\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait until <(level) = [17]>\nbroadcast (secondstoryart v)\n\n@light\n\nwhen flag clicked\nset size to (100) %\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go to (player v)\n    go to [back v] layer\nend\n\nwhen I receive [start v]\nforever\n    repeat (10)\n        change size by (5)\n        wait (0.01) seconds\n    end\n    repeat (10)\n        change size by (-5)\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [secondstoryart v]\nhide\n\n@spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nforever\n    go to x: (0) y: (0)\n    go to [back v] layer\n    switch costume to (level)\nend\n\nwhen I receive [secondstoryart v]\nhide\n\n@tramp\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [start v]\nforever\n    if <touching (player v)?> then\n        repeat (4)\n            wait (0.1) seconds\n            next costume\n        end\n    end\nend\n\n@Button1\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\npoint in direction (90)\nswitch costume to (costume1 v)\nwait (1) seconds\nshow\nforever\n    set [optional light v] to (costume [number v])\n    go to [front v] layer\n    go [forward v] (1) layers\n    go to x: (-200) y: (-160)\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        next costume\n        wait until <not <<touching (mouse-pointer v)?> and <mouse down?>>>\n    end\nend\n\nwhen I receive [start v]\nforever\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (20)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\nwhen I receive [secondstoryart v]\nhide\n\n@Story arc\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nswitch costume to (story\(1\) v)\nshow\ngo to [front v] layer\n\nwhen I receive [storyline v]\nrepeat (5)\n    create clone of (_myself_ v)\n    next costume\n    wait (6) seconds\nend\nrepeat (5)\n    delete this clone\nend\nbroadcast (start v)\nhide\n\nwhen I start as a clone\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen I receive [start v]\ndelete this clone\n\n@Story arc2\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nswitch costume to (story\(1\) v)\nshow\ngo to [front v] layer\n\nwhen I receive [secondstoryart v]\nrepeat (5)\n    create clone of (_myself_ v)\n    next costume\n    wait (6) seconds\nend\nrepeat (5)\n    delete this clone\nend\nbroadcast (secondstoryartend v)\nhide\n\nwhen I start as a clone\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen I receive [secondstoryartend v]\ndelete this clone\n\n@End\n\nwhen flag clicked\nhide\n\nwhen I receive [secondstoryartend v]\nshow\nforever\n    go to x: (0) y: (0)\n    if <touching (mouse-pointer v)?> then\n        set size to (((175) + (size)) / (2)) %\n        set [brightness v] effect to (5)\n    else\n        set size to (((150) + (size)) / (2)) %\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [secondstoryartend v]\npoint in direction (90)\nforever\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (20)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    set size to (100) %\n    go to [front v] layer\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\nend\n\n@Love,fave,and follow\n\nwhen flag clicked\ngo to x: (155) y: (180)\nset size to (70) %\nforever\n    wait (pick random (30) to (60)) seconds\n    show\n    glide (1) secs to x: (155) y: (160)\n    wait (5) seconds\n    glide (1) secs to x: (155) y: (180)\n    hide\nend\n\n@seizure warning\n\nwhen flag clicked\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (startlight v)\n\n@skip button story\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\ngo to [front v] layer\nswitch costume to (clone ID)\nif <(clone ID) = [2]> then\n    set [brightness v] effect to (0)\n    forever\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (start v)\n            delete this clone\n        end\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (50)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\nif <(clone ID) = [3]> then\n    set [brightness v] effect to (0)\n    forever\n        if <<touching (mouse-pointer v)?> and <mouse down?>> then\n            broadcast (storyline v)\n            delete this clone\n        end\n        if <touching (mouse-pointer v)?> then\n            set [brightness v] effect to (50)\n        else\n            set [brightness v] effect to (0)\n        end\n    end\nend\n\nwhen I receive [skip message v]\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nset [clone id v] to [2]\ncreate clone of (_myself_ v)\nset [clone id v] to [3]\ncreate clone of (_myself_ v)\n\nwhen I receive [start v]\ndelete this clone\n\nwhen I receive [storyline v]\ndelete this clone\n\n
Dunes 2 is out :DDDDDD \nHere: this is for a contest, hope u like it :)\nIt's basically the same thing. :/\nI really didn't have a new idea for a thumbnail :/\nB4 u go on, lemme say that this is a COLLAB with @glowingeagle and @simplyblxxs! (my first Collab!)\nHope you like it :D\nAwesome story and code is me :)\nINSANELY NON-GENERIC 100% POSSIBLE LEVELS ARE MADE BY @glowingeagle and @simplyblxxs!  HUGE SHOUTOUT TO THEM :D\nHere's the original Dunes: https://scratch.mit.edu/projects/522481136/\nSTBARAQ (soon to be a frequently asked question)\nQ: Why is the wall glitch still there?\nA: I'm a bad coder. Don't know how to fix it.\nQ: f4f\nA: ofc not\nQ: Why didn't you make a skip button?\nA: I wanted this game to apply to real life. Is there a skip button in real life? No! you have to work toward your goals.\nQ: Could you please fix the glitch?\nA: I would love to. If you remix, then I'll check it out and test if the glitch is not there anymore. If it isn't, I'll love and fave, and credit you on this project! :D\nQ: is this possible?\nA: if you've been reading, it's possible. It's just rlly rlly rlly rlly rlly rlly rlly hard. (@simplyblxxs couldn't beat them even though she made the levels! :P) I beat them tho.\n#games #all #stories #music #art #fun #platformer\nPropose this to be featured here! |\nhttps://scratch.mit.edu/studios/28715018/\nHere, love so this can be top loved :DDD\nplz ;)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWhy u here?\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\nPlz, go away\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\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\nI think you know what's gonna happen next\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\n\n\n\n\n\n\n\n\n\n\nFollow me, @glowingeagle, and @simplyblxxs already!\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\nLove and fave :)