journey - a pen platformer ‮
@Stage\n\nwhen flag clicked\nforever\n    if <<(camera x) > [1000]> and <(camera x) < [1400]>> then\n        switch backdrop to (backdrop2 v)\n        set [brightness v] effect to (((camera y) / (9)) - (20))\n    else\n        if <<(camera x) > [1400]> and <(camera x) < [2750]>> then\n            switch backdrop to (backdrop2 v)\n            set [brightness v] effect to (-100)\n        else\n            if <<(camera x) > [2750]> and <(camera x) < [3000]>> then\n                switch backdrop to (backdrop2 v)\n                set [brightness v] effect to (((camera x) - (3000)) / (2.5))\n            else\n                switch backdrop to (backdrop1 v)\n                clear graphic effects\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset volume to (50) %\nforever\n    play sound [Rain Drop by bubblebee3 v] until done\n    play sound [Snow by bubblebee3 v] until done\nend\n\n@pen\n\ntest\n\ndefine Touch Ground <up?>\ngenerate collisions\nchange [falling? v] by (1)\nrepeat until <not <<<[collisions v] contains [1]?> or <[collisions v] contains [4]?>> or <[collisions v] contains [8]?>>>\n    if <not <[collisions v] contains [9]?>> then\n        set [cactus touch v] to [0]\n    end\n    if <up?> then\n        change [player y v] by (-1)\n    else\n        change [player y v] by (1)\n        set [falling? v] to [0]\n    end\n    set [yv v] to [0]\n    generate collisions\nend\n\nwhen flag clicked\nset [player width v] to [16]\nset [player height v] to [30]\nlevel 1\n\ndefine Add object x1: (x1) y1: (y1) x2: (x2) y2: (y2) type: (type)\nadd (x1) to [platforms v]\nadd (y1) to [platforms v]\nadd (x2) to [platforms v]\nadd (y2) to [platforms v]\nadd (type) to [platforms v]\n\ndefine level 1\ndelete all of [platforms v]\nAdd object x1: [-2000] y1: [80] x2: [-50] y2: [-700] type: [1]\nAdd object x1: [200] y1: [40] x2: [420] y2: [-700] type: [1]\nAdd object x1: [-50] y1: [-10] x2: [1000] y2: [-700] type: [1]\nAdd object x1: [450] y1: [90] x2: [500] y2: [-700] type: [1]\nAdd object x1: [550] y1: [120] x2: [600] y2: [-700] type: [1]\nAdd object x1: [650] y1: [150] x2: [700] y2: [-700] type: [1]\nAdd object x1: [750] y1: [180] x2: [800] y2: [-700] type: [1]\nAdd object x1: [420] y1: [40] x2: [800] y2: [-700] type: [2]\nAdd object x1: [800] y1: [200] x2: [1250] y2: [-800] type: [4]\nAdd object x1: [800] y1: [700] x2: [1300] y2: [350] type: [4]\nAdd object x1: [1000] y1: [250] x2: [1020] y2: [230] type: [5]\nAdd object x1: [1300] y1: [700] x2: [3000] y2: [-350] type: [4]\nAdd object x1: [1470] y1: [-540] x2: [1500] y2: [-800] type: [4]\nAdd object x1: [1570] y1: [-500] x2: [1630] y2: [-800] type: [4]\nAdd object x1: [1700] y1: [-460] x2: [1730] y2: [-800] type: [4]\nAdd object x1: [1770] y1: [-420] x2: [1910] y2: [-460] type: [4]\nAdd object x1: [1960] y1: [-420] x2: [2110] y2: [-460] type: [4]\nAdd object x1: [2160] y1: [-420] x2: [2310] y2: [-460] type: [4]\nAdd object x1: [2350] y1: [-570] x2: [2400] y2: [-800] type: [4]\nAdd object x1: [2470] y1: [-540] x2: [2580] y2: [-800] type: [4]\nAdd object x1: [2510] y1: [-520] x2: [2550] y2: [-800] type: [4]\nAdd object x1: [2470] y1: [-560] x2: [2600] y2: [-800] type: [4]\nAdd object x1: [2650] y1: [-500] x2: [2680] y2: [-800] type: [4]\nAdd object x1: [1300] y1: [-600] x2: [2800] y2: [-800] type: [2]\nAdd object x1: [1250] y1: [-550] x2: [1400] y2: [-800] type: [4]\nAdd object x1: [3000] y1: [-500] x2: [3200] y2: [-800] type: [1]\nAdd object x1: [3300] y1: [500] x2: [3600] y2: [-800] type: [1]\nAdd object x1: [3200] y1: [-470 to 470] x2: [3300] y2: [-800] type: [1]\nAdd object x1: [3050] y1: [-450] x2: [3070] y2: [-470] type: [5]\nAdd object x1: [2760] y1: [-500] x2: [3000] y2: [-800] type: [4]\nAdd object x1: [3560] y1: [550] x2: [3570] y2: [500] type: [7]\nAdd object x1: [3540] y1: [550] x2: [3590] y2: [540] type: [6]\nAdd object x1: [3725] y1: [650] x2: [3875] y2: [550] type: [1]\nAdd object x1: [3750] y1: [650] x2: [3850] y2: [525] type: [1]\nAdd object x1: [3700] y1: [650] x2: [3900] y2: [600] type: [1]\nAdd object x1: [3870] y1: [700] x2: [3880] y2: [650] type: [7]\nAdd object x1: [3850] y1: [700] x2: [3900] y2: [690] type: [6]\nAdd object x1: [4000] y1: [800] x2: [4050] y2: [750] type: [1]\nAdd object x1: [4150] y1: [800] x2: [4200] y2: [750] type: [1]\nAdd object x1: [4300] y1: [800] x2: [4350] y2: [750] type: [1]\nAdd object x1: [4520] y1: [700] x2: [4610] y2: [600] type: [1]\nAdd object x1: [4490] y1: [700] x2: [4640] y2: [650] type: [1]\nAdd object x1: [4620] y1: [750] x2: [4630] y2: [700] type: [7]\nAdd object x1: [4600] y1: [750] x2: [4650] y2: [740] type: [6]\nAdd object x1: [4820] y1: [700] x2: [4910] y2: [600] type: [1]\nAdd object x1: [4790] y1: [700] x2: [4940] y2: [650] type: [1]\nAdd object x1: [4920] y1: [750] x2: [4930] y2: [700] type: [7]\nAdd object x1: [4900] y1: [750] x2: [4950] y2: [740] type: [6]\nAdd object x1: [5020] y1: [850] x2: [5110] y2: [750] type: [1]\nAdd object x1: [4990] y1: [850] x2: [5140] y2: [800] type: [1]\nAdd object x1: [5200] y1: [700] x2: [5800] y2: [650] type: [1]\nAdd object x1: [5200] y1: [700] x2: [5800] y2: [650] type: [1]\nAdd object x1: [5220] y1: [750] x2: [5230] y2: [700] type: [7]\nAdd object x1: [5200] y1: [750] x2: [5250] y2: [740] type: [6]\nAdd object x1: [5280] y1: [750] x2: [5290] y2: [700] type: [7]\nAdd object x1: [5260] y1: [750] x2: [5310] y2: [740] type: [6]\nAdd object x1: [5340] y1: [750] x2: [5350] y2: [700] type: [7]\nAdd object x1: [5320] y1: [750] x2: [5370] y2: [740] type: [6]\nAdd object x1: [5340] y1: [750] x2: [5350] y2: [700] type: [7]\nAdd object x1: [5320] y1: [750] x2: [5370] y2: [740] type: [6]\nAdd object x1: [5400] y1: [750] x2: [5410] y2: [700] type: [7]\nAdd object x1: [5380] y1: [750] x2: [5430] y2: [740] type: [6]\nAdd object x1: [5400] y1: [750] x2: [5410] y2: [700] type: [7]\nAdd object x1: [5380] y1: [750] x2: [5430] y2: [740] type: [6]\nAdd object x1: [5460] y1: [750] x2: [5470] y2: [700] type: [7]\nAdd object x1: [5440] y1: [750] x2: [5490] y2: [740] type: [6]\nAdd object x1: [5520] y1: [750] x2: [5530] y2: [700] type: [7]\nAdd object x1: [5500] y1: [750] x2: [5550] y2: [740] type: [6]\nAdd object x1: [5580] y1: [750] x2: [5590] y2: [700] type: [7]\nAdd object x1: [5560] y1: [750] x2: [5610] y2: [740] type: [6]\nAdd object x1: [5640] y1: [750] x2: [5650] y2: [700] type: [7]\nAdd object x1: [5620] y1: [750] x2: [5670] y2: [740] type: [6]\nAdd object x1: [5300] y1: [950] x2: [5350] y2: [900] type: [2]\nAdd object x1: [5400] y1: [950] x2: [5450] y2: [900] type: [2]\nAdd object x1: [5500] y1: [950] x2: [5550] y2: [900] type: [2]\nAdd object x1: [5600] y1: [950] x2: [5650] y2: [900] type: [2]\nAdd object x1: [5250] y1: [950] x2: [5300] y2: [900] type: [4]\nAdd object x1: [5350] y1: [950] x2: [5400] y2: [900] type: [4]\nAdd object x1: [5450] y1: [950] x2: [5500] y2: [900] type: [4]\nAdd object x1: [5550] y1: [950] x2: [5600] y2: [900] type: [4]\nAdd object x1: [5250] y1: [1000] x2: [5650] y2: [950] type: [4]\nAdd object x1: [5700] y1: [750] x2: [5720] y2: [730] type: [5]\nAdd object x1: [5800] y1: [700] x2: [5850] y2: [-100] type: [4]\nAdd object x1: [5900] y1: [1000] x2: [5950] y2: [70] type: [4]\nAdd object x1: [6250] y1: [50] x2: [6270] y2: [-500] type: [9]\nAdd object x1: [6530] y1: [45] x2: [6550] y2: [-500] type: [9]\nAdd object x1: [6570] y1: [25] x2: [6590] y2: [-500] type: [9]\nAdd object x1: [6610] y1: [60] x2: [6630] y2: [-500] type: [9]\nAdd object x1: [6650] y1: [35] x2: [6670] y2: [-500] type: [9]\nAdd object x1: [6830] y1: [35] x2: [6850] y2: [-500] type: [9]\nAdd object x1: [6870] y1: [60] x2: [6890] y2: [-500] type: [9]\nAdd object x1: [6910] y1: [20] x2: [6930] y2: [-500] type: [9]\nAdd object x1: [6950] y1: [45] x2: [6970] y2: [-500] type: [9]\nAdd object x1: [7200] y1: [80] x2: [7250] y2: [-30] type: [8]\nAdd object x1: [7315] y1: [130] x2: [7340] y2: [-30] type: [8]\nAdd object x1: [7400] y1: [100] x2: [7420] y2: [70] type: [9]\nAdd object x1: [7395] y1: [70] x2: [7425] y2: [-300] type: [8]\nAdd object x1: [7100] y1: [40] x2: [7600] y2: [-20] type: [2]\nAdd object x1: [5800] y1: [0] x2: [7100] y2: [-500] type: [8]\nAdd object x1: [6300] y1: [70] x2: [6500] y2: [-500] type: [8]\nAdd object x1: [6700] y1: [70] x2: [6800] y2: [-500] type: [8]\nAdd object x1: [7000] y1: [70] x2: [7100] y2: [-500] type: [8]\nAdd object x1: [7100] y1: [-20] x2: [7600] y2: [-500] type: [8]\nAdd object x1: [7500] y1: [100] x2: [7520] y2: [70] type: [9]\nAdd object x1: [7570] y1: [120] x2: [7590] y2: [70] type: [9]\nAdd object x1: [7640] y1: [120] x2: [7660] y2: [70] type: [9]\nAdd object x1: [7710] y1: [120] x2: [7730] y2: [70] type: [9]\nAdd object x1: [7780] y1: [120] x2: [7800] y2: [70] type: [9]\nAdd object x1: [7850] y1: [120] x2: [7870] y2: [70] type: [9]\nAdd object x1: [7495] y1: [70] x2: [7900] y2: [-300] type: [8]\nAdd object x1: [7930] y1: [180] x2: [7950] y2: [-300] type: [9]\nAdd object x1: [8020] y1: [160] x2: [8030] y2: [-300] type: [9]\nAdd object x1: [8080] y1: [170] x2: [8110] y2: [-300] type: [9]\nAdd object x1: [8160] y1: [185] x2: [8170] y2: [-300] type: [9]\nAdd object x1: [8220] y1: [170] x2: [8250] y2: [-300] type: [9]\nAdd object x1: [7900] y1: [140] x2: [8400] y2: [-300] type: [8]\nAdd object x1: [7920] y1: [300] x2: [8000] y2: [270] type: [9]\nAdd object x1: [8000] y1: [300] x2: [8050] y2: [280] type: [9]\nAdd object x1: [8050] y1: [300] x2: [8300] y2: [260] type: [9]\nAdd object x1: [7900] y1: [1000] x2: [8400] y2: [300] type: [8]\nAdd object x1: [8300] y1: [190] x2: [8320] y2: [170] type: [5]\nAdd object x1: [8400] y1: [80] x2: [10000] y2: [-500] type: [1]\nif <not <<key (space v) pressed?> and <(username) = [Rocket-Flier]>>> then\n    set [level complete v] to [nope]\n    set [spawn x v] to [0]\n    set [spawn y v] to [0]\n    set [player x v] to [0]\n    set [player y v] to [6]\n    set [xv v] to [0]\n    set [yv v] to [0]\n    set [camera x v] to [0]\n    set [camera y v] to [6]\n    set [cactus touch v] to [0]\n    set [completions v] to [0]\nend\nrepeat until <(level complete) = [yep]>\n    physics\n    render\nend\n\ndefine render\nbroadcast (text v)\nerase all\nset [i v] to [0]\nrepeat ((length of [platforms v]) / (5))\n    decode list item (i)\n    if <<<not <[240] < ((x1) - (camera x))>> and <not <[-240] > ((x2) - (camera x))>>> and <<not <[180] < ((y2) - (camera y))>> and <not <[-180] > ((y1) - (camera y))>>>> then\n        if <(type) = [2]> then\n            set pen color to (#a50000)\n            set pen size to ((([sin v] of ((timer) * (100)) ) * (10)) + (30))\n            put on screen\n            draw rectangle\n            set pen color to (#ff0000)\n            set pen size to (5)\n            decode list item (i)\n            draw filled rectangle\n        else\n            if <(type) = [3]> then\n                set pen (transparency v) to (0)\n                set pen color to (#ffdd00)\n                set pen size to (5)\n                draw rectangle\n            else\n                if <(type) = [1]> then\n                    set pen (transparency v) to (0)\n                    set pen color to (#c77800)\n                    set pen size to (5)\n                    draw filled rectangle\n                else\n                    if <(type) = [4]> then\n                        set pen (transparency v) to (0)\n                        set pen color to (#8a8a8a)\n                        set pen size to (5)\n                        draw filled rectangle\n                    else\n                        if <(type) = [5]> then\n                            set pen color to (#3dff00)\n                            draw filled rectangle\n                            go to x: (x1) y: (y2)\n                            pen down\n                            go to x: (x1) y: ((y2) - ((y1) - (y2)))\n                            pen up\n                        else\n                            if <(type) = [6]> then\n                                set pen color to (#ff00da)\n                                draw filled rectangle\n                            else\n                                if <<(type) = [7]> or <(type) = [8]>> then\n                                    set pen color to (#ffe28e)\n                                    draw filled rectangle\n                                else\n                                    if <(type) = [9]> then\n                                        set pen color to (#3ce600)\n                                        draw filled rectangle\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [i v] by (1)\nend\nset pen color to (#1d00ff)\nset pen size to (4)\nset [type v] to [2]\nset [x1 v] to ((player x) - ((player width) / (2)))\nset [x2 v] to ((player x) + ((player width) / (2)))\nset [y2 v] to ((player y) - ((player height) / (2)))\nset [y1 v] to ((player y) + ((player height) / (2)))\nput on screen\ndraw rectangle\nchange pen (brightness v) by (-30)\nset pen size to (2)\ngo to x: ((x1) + ((player width) / (3))) y: ((y1) - ((player height) / (4)))\npen down\ngo to x: ((x1) + ((player width) / (3))) y: ((y1) - ((player height) / (2)))\npen up\ngo to x: ((x2) - ((player width) / (3))) y: ((y1) - ((player height) / (4)))\npen down\ngo to x: ((x2) - ((player width) / (3))) y: ((y1) - ((player height) / (2)))\npen up\n\nset pen (transparency v) to (0)\n\ndefine decode list item (item)\nset [x1 v] to (item (((i) * (5)) + (1)) of [platforms v])\nset [y1 v] to (item (((i) * (5)) + (2)) of [platforms v])\nset [x2 v] to (item (((i) * (5)) + (3)) of [platforms v])\nset [y2 v] to (item (((i) * (5)) + (4)) of [platforms v])\nset [type v] to (item (((i) * (5)) + (5)) of [platforms v])\n\ndefine draw rectangle\ngo to x: (x1) y: (y1)\npen down\ngo to x: (x1) y: (y2)\ngo to x: (x2) y: (y2)\ngo to x: (x2) y: (y1)\nif <<(type) = [1]> and <not <(y1) = [180]>>> then\n    set pen color to (#26c543)\n    set pen size to (20)\nend\ngo to x: (x1) y: (y1)\npen up\n\ndefine physics\nreplace item (137) of [platforms v] with (([sin v] of ((timer) * (19)) ) * (470))\nchange [yv v] by (-1)\nchange [player y v] by (yv)\nTouch Ground <(yv) > [0]>\nset [xv v] to ((xv) * (0.8))\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [0]>>> then\n    change [xv v] by (-1)\nend\nif <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [0]>>> then\n    change [xv v] by (1)\nend\nchange [player x v] by (xv)\ngenerate collisions\nrepeat until <not <<<[collisions v] contains [1]?> or <[collisions v] contains [4]?>> or <[collisions v] contains [8]?>>>\n    change [player x v] by ((xv) * (-0.1))\n    generate collisions\nend\nif <<<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> and <(Falling?) < [3]>> then\n    set [yv v] to [11]\n    set [falling? v] to [6]\nend\ngenerate collisions\nif <[collisions v] contains [9]?> then\n    repeat until <not <[collisions v] contains [9]?>>\n        change [player y v] by (1)\n        generate collisions\n    end\n    change [cactus touch v] by (1)\n    set [yv v] to [12]\nend\nif <<<[collisions v] contains [2]?> or <(player y) < [-1000]>> or <(cactus touch) = [2]>> then\n    set [cactus touch v] to [0]\n    set [player x v] to (spawn x)\n    set [player y v] to (spawn y)\n    set [xv v] to [0]\n    set [yv v] to [0]\nend\nif <[collisions v] contains [3]?> then\n    set [level complete v] to [yep]\nend\nif <[collisions v] contains [5]?> then\n    set [spawn x v] to (player x)\n    set [spawn y v] to (player y)\nend\nif <[collisions v] contains [6]?> then\n    set [yv v] to [18]\nend\nchange [camera x v] by (((player x) - (camera x)) / (10))\nchange [camera y v] by (((player y) - (camera y)) / (10))\nif <(player x) > [9000]> then\n    set [camera x v] to ((-500) + ((camera x) - (player x)))\n    set [player x v] to [-500]\n    change [completions v] by (1)\nend\nif <(player x) < [-500]> then\n    set [camera x v] to ((9000) + ((camera x) - (player x)))\n    set [player x v] to [9000]\n    change [completions v] by (-1)\nend\n\nchange [player x v] by (1)\n\ndefine generate collisions\ndelete all of [collisions v]\nset [i v] to [0]\nrepeat ((length of [platforms v]) / (5))\n    decode list item (i)\n    if <<<not <((player x) + ((player width) / (2))) < (x1)>> and <not <((player x) - ((player width) / (2))) > (x2)>>> and <<not <((player y) + ((player height) / (2))) < (y2)>> and <not <((player y) - ((player height) / (2))) > (y1)>>>> then\n        add (type) to [collisions v]\n    end\n    change [i v] by (1)\nend\n\nrepeat (2)\n\ndefine draw filled rectangle\nset pen size to (11)\nset x to ((x1) - (camera x))\nrepeat until <<<not <(round (x position)) < (round ((x2) - (camera x)))>> or <<((x2) - (camera x)) > [240]> and <(x position) > [239.99]>>> or <(x2) < [-239]>>\n    set y to ((y1) - (camera y))\n    pen down\n    set y to ((y2) - (camera y))\n    pen up\n    change x by (10)\nend\npen up\nput on screen\nset pen size to (12)\ndraw rectangle\n\nrepeat (10)\n\npen up\n\ndefine put on screen\nif <((x2) - (camera x)) > [240]> then\n    set [x2 v] to [240]\nelse\n    set [x2 v] to ((x2) - (camera x))\nend\nif <((x1) - (camera x)) < [-240]> then\n    set [x1 v] to [-240]\nelse\n    set [x1 v] to ((x1) - (camera x))\nend\nif <((y2) - (camera y)) < [-180]> then\n    set [y2 v] to [-180]\nelse\n    set [y2 v] to ((y2) - (camera y))\nend\nif <((y1) - (camera y)) > [180]> then\n    set [y1 v] to [180]\nelse\n    set [y1 v] to ((y1) - (camera y))\nend\n\nset pen color to (#26c59e)\n\n\n\ndefine why can't i delete this!!!\n\ndefine why can't i delete this!!!\n\n@PTE by -Rex-\n\nwhen flag clicked\nhide\nswitch costume to (  v)\nset size to (108000) %\nswitch costume to (a v)\nSet Pen Color to RGBA [0] [0] [0] [0]\n\ndefine INTERNAL | printChar (index) (x) (y) (i.x) (i.y) (j.x) (j.y)\nchange [_x v] by ((i.x) * (item (index) of [_char_width v]))\nchange [_y v] by ((i.y) * (item (index) of [_char_width v]))\nset [_i3 v] to (item (index) of [_char_index v])\nrepeat (item ((_i3) - (1)) of [_font_data v])\n    go to x: ((x) + (((i.x) * (item (_i3) of [_font_data v])) + ((j.x) * (item ((_i3) + (1)) of [_font_data v])))) y: ((y) + (((i.y) * (item (_i3) of [_font_data v])) + ((j.y) * (item ((_i3) + (1)) of [_font_data v]))))\n    pen down\n    change [_i3 v] by (3)\n    repeat (item ((_i3) - (1)) of [_font_data v])\n        go to x: ((x) + (((i.x) * (item (_i3) of [_font_data v])) + ((j.x) * (item ((_i3) + (1)) of [_font_data v])))) y: ((y) + (((i.y) * (item (_i3) of [_font_data v])) + ((j.y) * (item ((_i3) + (1)) of [_font_data v]))))\n        change [_i3 v] by (2)\n    end\n    pen up\nend\nchange [_i3 v] by (1)\nchange pen size by (1)\nrepeat (item ((_i3) - (1)) of [_font_data v])\n    go to x: (((x) + (((i.x) * (item (_i3) of [_font_data v])) + ((j.x) * (item ((_i3) + (1)) of [_font_data v])))) - (0.5)) y: ((y) + (((i.y) * (item (_i3) of [_font_data v])) + ((j.y) * (item ((_i3) + (1)) of [_font_data v]))))\n    pen down\n    change x by (1)\n    pen up\n    change [_i3 v] by (2)\nend\nchange pen size by (-1)\n\ndefine Set Pen Color to RGBA (r) (g) (b) (a)\nset pen color to ((round (b)) + ((256) * ((round (g)) + ((256) * ((round (r)) + ((256) * (round (a))))))))\n\ndefine Print | Pos (x) (y) Size (size) Transform (i.x) (i.y) (j.x) (j.y) Spacing (cspace) Weight (weight) Underline (ul.left) (ul.right) (ul.weight) Align (al.x) (al.y) Text (text)\npen up\nset [_i0 v] to (((<(size) = []> * (12)) + (size)) / (100))\nset pen size to ((0.125) * ((<(weight) = []> + (weight)) * ((100) * (_i0))))\nset [_i1 v] to ((_i0) * (<(i.x) = []> + (i.x)))\nset [_i2 v] to ((_i0) * ((1) * (i.y)))\nset [_i3 v] to (<(cspace) = []> + (cspace))\nINTERNAL | printText (text) ((1) * (x)) ((1) * (y)) (_i1) (_i2) ((_i0) * ((1) * (j.x))) ((_i0) * (<(j.y) = []> + (j.y))) ((30) * ((_i3) * (_i1))) ((30) * ((_i3) * (_i2))) (ul.left) (ul.right) ((0.125) * ((<(ul.weight) = []> + (ul.weight)) * ((100) * (_i0)))) ((-1) * ((<(al.x) = [r]> + (<(al.x) = [c]> * (0.5))) + (al.x))) ((-1) * ((<(al.y) = [t]> + (<(al.y) = [c]> * (0.5))) + (al.y)))\n\ndefine INTERNAL | printText (text) (x) (y) (i.x) (i.y) (j.x) (j.y) (cs.x) (cs.y) (ul.left) (ul.right) (ul.weight) (al.x) (al.y)\nset [_x v] to ((x) + ((100) * ((al.y) * (j.x))))\nset [_y v] to ((y) + ((100) * ((al.y) * (j.y))))\nif <not <(al.x) = [0]>> then\n    set [_i0 v] to [1]\n    set [_i1 v] to [0]\n    set [_i2 v] to [0]\n    repeat (length of (text))\n        switch costume to (  v)\n        switch costume to (letter (_i0) of (text))\n        change [_i1 v] by (((i.x) * (item (costume [number v]) of [_char_width v])) + (cs.x))\n        change [_i2 v] by (((i.y) * (item (costume [number v]) of [_char_width v])) + (cs.y))\n        change [_i0 v] by (1)\n    end\n    change [_x v] by ((al.x) * ((_i1) - (cs.x)))\n    change [_y v] by ((al.x) * ((_i2) - (cs.y)))\nend\nset [_i1 v] to ((_x) + (((100) * ((ul.left) * (j.x))) - ((0.3) * (cs.x))))\nset [_i2 v] to ((_y) + (((100) * ((ul.left) * (j.y))) - ((0.3) * (cs.y))))\nset [_i0 v] to [1]\nrepeat (length of (text))\n    switch costume to (  v)\n    switch costume to (letter (_i0) of (text))\n    INTERNAL | printChar (costume [number v]) (_x) (_y) (i.x) (i.y) (j.x) (j.y)\n    change [_x v] by (cs.x)\n    change [_y v] by (cs.y)\n    change [_i0 v] by (1)\nend\nif <not <<(ul.left) = []> or <(ul.right) = []>>> then\n    set pen size to (ul.weight)\n    go to x: ((_x) + (((100) * ((ul.right) * (j.x))) - ((0.7) * (cs.x)))) y: ((_y) + (((100) * ((ul.right) * (j.y))) - ((0.7) * (cs.y))))\n    pen down\n    go to x: (_i1) y: (_i2)\n    pen up\nend\n\nwhen I receive [text v]\nif <<(camera x) > [-250]> and <(camera x) < [500]>> then\n    Set Pen Color to RGBA [0] [0] [0] [0]\n    if <(completions) = [0]> then\n        Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Welcome to journey.]\n        Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Use the arrow keys, WASD,]\n        Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [or tap your screen to move.]\n    else\n        if <(completions) = [1]> then\n            Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [We are back where we began!]\n            Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Why did we even go on that]\n            Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [journey? Well maybe the point]\n            Print | Pos ((-10) - (camera x)) ((80) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [of a journey isn't the destination]\n            Print | Pos ((-10) - (camera x)) ((60) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [but the experience itself.]\n        else\n            if <(completions) = [2]> then\n                Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [You did all that again?]\n                Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Umm, well you found an easter]\n                Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [egg. You can go now.]\n            else\n                if <(completions) = [10]> then\n                    Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Wow! You don't give up. I don't]\n                    Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [think anyone will read this without]\n                    Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [hacking.]\n                else\n                    if <(completions) = [50]> then\n                        Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [You have better things to do with]\n                        Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [you're life. Go! Stop wasting it on]\n                        Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [a scratch game!]\n                        change [☁ normal crazy people v] by (1)\n                    else\n                        if <(completions) = [100]> then\n                            Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [You're life is nothing. What is]\n                            Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [the point of this! Please find]\n                            Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [something better to do.]\n                        else\n                            if <(completions) = [250]> then\n                                Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [I fear for you're safety. What]\n                                Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [factors in your life have caused]\n                                Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [you to play this game 250 times?]\n                            else\n                                if <(completions) = [500]> then\n                                    Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [I feel like there is no way to read]\n                                    Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [this message without clicking]\n                                    Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [see inside. If you didn't, please ]\n                                    Print | Pos ((-10) - (camera x)) ((80) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [stop and reconsider your life choices.]\n                                else\n                                    if <(completions) = [1000000]> then\n                                        Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [You are crazy.]\n                                        Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Tell me that you did this]\n                                        Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [1 million times and if the cloud]\n                                        Print | Pos ((-10) - (camera x)) ((80) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [logs confirm this I will follow you.]\n                                        change [☁ very crazy people v] by (1)\n                                    else\n                                        if <((completions) mod (1000)) = [0]> then\n                                            Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Stop now! You are crazy!]\n                                            Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [The next special message is]\n                                            Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text (join [at ] (join ((completions) + (1000)) [.]))\n                                        else\n                                            Print | Pos ((-10) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Seriously, you did that again!]\n                                            Print | Pos ((-10) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [You can stop now but of course]\n                                            Print | Pos ((-10) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [you want to know what happens]\n                                            Print | Pos ((-10) - (camera x)) ((80) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text (join [when you complete it ] (join ((completions) + (1)) [ times.]))\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nif <<(camera x) > [1200]> and <(camera x) < [1870]>> then\n    Set Pen Color to RGBA [255] [255] [255] [0]\n    Print | Pos ((1300) - (camera x)) ((-400) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [It seems your journey has taken you to a cave.]\nend\nif <<(camera x) > [2700]> and <(camera x) < [3300]>> then\n    Set Pen Color to RGBA [0] [0] [0] [0]\n    Print | Pos ((2970) - (camera x)) ((-400) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Jump on the moving platform.]\nend\nif <<(camera x) > [3200]> and <(camera x) < [3850]>> then\n    Set Pen Color to RGBA [0] [0] [0] [0]\n    Print | Pos ((3300) - (camera x)) ((600) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [In the floating islands, bouncy]\n    Print | Pos ((3300) - (camera x)) ((580) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [mushrooms are used for transportation.]\nend\nif <<(camera x) > [5800]> and <(camera x) < [6500]>> then\n    Set Pen Color to RGBA [0] [0] [0] [0]\n    Print | Pos ((6000) - (camera x)) ((140) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Welcome to the desert.]\n    Print | Pos ((6000) - (camera x)) ((120) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [Don't touch a cactus two]\n    Print | Pos ((6000) - (camera x)) ((100) - (camera y)) Size [10] Transform [] [] [] [] Spacing [1] Weight [1] Underline [] [] [] Align [] [] Text [times in a row.]\nend\n\n@THUMBNAIL\n\nwhen flag clicked\nhide\n\n
You are on a journey, but where are you going? Play this game to find out!\n\nI put a lot of effort in this game so if you enjoy it love favorite and follow!\n