blue_square's adventure! #games #music #platformer #ART

Instructions: blue_square's adventure!\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

@Stage\n\nwhen flag clicked\nforever\n    play sound [Defqwop - Heart Afire \(feat v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (배경 2 v)\nforever\n    if <([costume # v] of [level v]) = [8]> then\n        switch backdrop to (배경 3 v)\n    end\nend\n\n@@blue_square30\n\nwhen flag clicked\nreset timer\nbroadcast (game start v)\ngo to x: (-201) y: (85)\nshow\npoint in direction (90)\nswitch costume to (@blue_square30 v)\nset size to (65) %\nset [dead v] to [0]\nset [speed x v] to [0]\nset [speed y v] to [0]\nforever\n    Move-step x\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    if <<touching (spike v)?> or <touching (spike2 v)?>> then\n        set [speed x v] to [0]\n        set [speed y v] to [0]\n        change [dead v] by (1)\n        change [ghost v] effect by (100)\n        broadcast (dead v)\n    end\n    if <touching (chaek point v)?> then\n        broadcast (next page v)\n        change [level v] by (1)\n        set [speed y v] to [0]\n        change [dead v] by (1)\n    end\nend\n\ndefine Move-step x\nforever\n    if <touching (level v)?> then\n        change x by ((0) - (speed x))\n        set [speed x v] to [0]\n    end\n    set [speed x v] to ((speed x) * (0.8))\n    change x by (speed x)\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <mouse down?>> then\n        change [speed x v] by (3)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <mouse down?>> then\n        change [speed x v] by (-3)\n    end\nend\n\ndefine Move-step y\ngo to x: (-201) y: (85)\nset [speed x v] to [0]\nset [speed x v] to [0]\nforever\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <<<key (space v) pressed?> or <mouse down?>> or <key (w v) pressed?>>> then\n            change [speed y v] by (15)\n        end\n    end\n    change y by (1)\n    change [speed y v] by (-1)\n    change y by (speed y)\n    if <touching (level v)?> then\n        change y by ((speed y) * (-1))\n        set [speed y v] to [0]\n    end\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (-5)\n                            if <touching (level v)?> then\n                                change [speed y v] by (15)\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-3)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    Move-step y\nend\n\nwhen I receive [next page v]\ngo to x: (-201) y: (85)\n\nwhen I receive [dead v]\ngo to x: (-201) y: (85)\nwait (0.01) seconds\nchange [ghost v] effect by (-100)\n\nwhen flag clicked\nforever\n    if  then\n    end\nend\n\nwhen flag clicked\nforever\n    wait (1) seconds\nend\n\n@level\n\nwhen flag clicked\nswitch costume to (level v)\ngo to x: (10) y: (-5)\n\nwhen I receive [next page v]\nnext costume\n\n@spike\n\nwhen flag clicked\nshow\ngo to [back v] layer\nswitch costume to (1 v)\ngo to x: (85) y: (-3)\nrepeat until <([costume # v] of [level v]) = [10]>\n    if <([costume # v] of [level v]) = [1]> then\n        go to x: (10) y: (-138)\n        switch costume to (1 v)\n    end\n    if <([costume # v] of [level v]) = [2]> then\n        go to x: (10) y: (-138)\n        switch costume to (2 v)\n    end\n    if <([costume # v] of [level v]) = [3]> then\n        go to x: (10) y: (-138)\n        switch costume to (3 v)\n    end\n    if <([costume # v] of [level v]) = [4]> then\n        go to x: (10) y: (-138)\n        switch costume to (4 v)\n    end\n    if <([costume # v] of [level v]) = [5]> then\n        go to x: (10) y: (-138)\n        switch costume to (5 v)\n    end\n    if <([costume # v] of [level v]) = [6]> then\n        go to x: (10) y: (-138)\n        switch costume to (6 v)\n    end\n    if <([costume # v] of [level v]) = [7]> then\n        go to x: (10) y: (-138)\n        switch costume to (7 v)\n    end\n    if <([costume # v] of [level v]) = [8]> then\n        go to x: (10) y: (-138)\n        switch costume to (8 v)\n    end\n    if <([costume # v] of [level v]) = [9]> then\n        go to x: (10) y: (-138)\n        switch costume to (9 v)\n    end\nend\nstop [all v]\n\n@chaek point\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\ngo to x: (212) y: (-100)\n\n@1\n\nwhen flag clicked\ngo to x: (35) y: (27)\ngo to [front v] layer\nforever\n    change [pixelate v] effect by (1)\n    change [ghost v] effect by (1)\nend\n\n