NEOΝ ▫ A platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (ozadje1 v)\n\nwhen I receive [play v]\nswitch backdrop to (ozadje1 v)\n\nwhen I receive [start v]\nswitch backdrop to (home v)\n\n@Player\n\nwhen I receive [play v]\ngo to x: (-225) y: (60)\nwait (1) seconds\npadaj\nforever\n    change [yv v] by (-0.5)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\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 ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\n                            if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                broadcast (jump v)\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yv)\n    if <touching (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n            broadcast (jump v)\n            set [yv v] to [10]\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (100) %\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen I receive [play v]\nset size to (50) %\n\nwhen I receive [play v]\nforever\n    zaznavanje\nend\n\ndefine zaznavanje\nif <(x position) > [235]> then\n    broadcast (next ground v)\n    go to x: (-225) y: (60)\nend\nif <<touching (spikes v)?> or <(y position) = [-180]>> then\n    go to x: (-225) y: (60)\nend\n\ndefine padaj\nrepeat until <touching (ground v)?>\n    change y by (-5)\nend\n\nwhen I receive [start v]\nforever\n    play sound [TheFatRat & JJD - Prelude \(VIP Edit\) v] until done\nend\n\n@help\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [back v] layer\nshow\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (preobleka2 v)\n    else\n        switch costume to (preobleka1 v)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (help v)\n\nwhen I receive [play v]\nhide\n\n@next\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (2 v)\n    else\n        switch costume to (130884 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen this sprite clicked\nwait (0.000003) seconds\nbroadcast (next v)\n\nwhen I receive [play v]\nhide\n\n@play\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (3 v)\n    else\n        switch costume to (130884 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\n\nwhen this sprite clicked\nwait (0.000003) seconds\nbroadcast (play v)\nhide\n\n@ground\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nswitch costume to (preobleka1 v)\nshow\n\nwhen I receive [next ground v]\nnext costume\n\nwhen I receive [play v]\nforever\n    if <(costume [name v]) = [end]> then\n        broadcast (end v)\n    end\nend\n\n@spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nswitch costume to (1 v)\nshow\n\nwhen I receive [next ground v]\nnext costume\n\n@portal\n\nwhen I receive [play v]\nforever\n    next costume\n    wait (0.002) seconds\nend\n\nwhen flag clicked\nhide\n\n@here\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\n\nwhen flag clicked\nforever\n    glide (0.2) secs to x: (-169) y: (-110)\n    wait (0.003) seconds\n    glide (0.2) secs to x: (-169) y: (-140)\nend\n\n@likefavefollow\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\npoint in direction ((([cos v] of ((timer) * (50)) ) - (5)) + (90))\nset y to (([cos v] of ((timer) * (50)) ) * (10))\n\n@osab-gasper logo\n\nwhen flag clicked\nset volume to (100) %\nset [ghost v] effect to (0)\nset size to (110) %\nswitch backdrop to (ozadje2 v)\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nrepeat (6)\n    next costume\n    wait (0.001) seconds\nend\nswitch costume to (6 v)\nwait (0.001) seconds\nswitch costume to (5 v)\nwait (0.001) seconds\nswitch costume to (4 v)\nwait (0.001) seconds\nswitch costume to (3 v)\nwait (0.001) seconds\nswitch costume to (2 v)\nwait (0.001) seconds\nswitch costume to (1 v)\nwait (1) seconds\nbroadcast (og text v)\nglide (0.5) secs to x: (-60) y: (0)\nwait (1) seconds\nbroadcast (og hide v)\nglide (0.02) secs to x: (0) y: (0)\nrepeat (5)\n    wait (0.002) seconds\n    change size by (2)\nend\nbroadcast (hide v)\n\nwhen I receive [hide v]\nrepeat (40)\n    change [mosaic v] effect by (5)\n    wait (0.02) seconds\nend\nset [mosaic v] effect to (0)\nbroadcast (volume- v)\nrepeat (20)\n    change [ghost v] effect by (7)\n    wait (0.0002) seconds\nend\nclear graphic effects\nset size to (25) %\ngo to x: (210) y: (-160)\nbroadcast (Start v)\nswitch backdrop to (ozadje2 v)\n\nwhen I receive [volume- v]\nrepeat (10)\n    change volume by (-10)\n    wait (0.003) seconds\nend\nstop all sounds\nclear sound effects\nset volume to (100) %\n\nwhen flag clicked\nplay sound [Free Intro Music for your Video \(mp3cut v] until done\n\n@og text\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\n\nwhen I receive [og text v]\ngo to x: (120) y: (0)\nshow\nglide (0.5) secs to x: (60) y: (0)\n\nwhen I receive [og hide v]\nrepeat (4)\n    change [ghost v] effect by (25)\nend\n\n@instructions\n\nwhen flag clicked\nhide\n\nwhen I receive [help v]\ngo to [front v] layer\nset [ghost v] effect to (10)\nset size to (2) %\nshow\nrepeat (10)\n    change size by (10)\nend\n\nwhen this sprite clicked\nhide\n\n@title\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\npoint in direction ((([cos v] of ((timer) * (50)) ) - (5)) + (90))\nset y to (([cos v] of ((timer) * (50)) ) * (10))\n\nwhen I receive [play v]\nhide\n\n@title2\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\npoint in direction ((([cos v] of ((timer) * (50)) ) - (5)) + (90))\nset y to (([cos v] of ((timer) * (50)) ) * (10))\n\nwhen I receive [play v]\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\n
Hi Guys!\nmy new platformer!\nIt isn't finished yet! I'll add more levels every day!\n\nInstructions are in game, just click [?]\n[WASD] or [ARROWS] for moving\n\nIf game is too hard, please tell me and I'll create button for skip levels.