Glow | A Platformer #games #all
@Stage\n\n@Character\n\nwhen flag clicked\nGame Loop\n\ndefine Game Loop\nSet Variables\nwait (3) seconds\nset [brightness v] effect to (0)\nswitch costume to (square1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-230) y: (180)\nset [y vel v] to [0]\nforever\n    go to [front v] layer\n    if <<key (up arrow v) pressed?> and <[1] > (on ground)>> then\n        set [on ground v] to [no]\n        set [y vel v] to (jump height)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x vel v] by (x speed)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x vel v] by ((x speed) - ((x speed) * (2)))\n    end\n    change [y vel v] by (gravity)\n    Move Vertically (y vel)\n    set [x vel v] to ((x vel) * (0.9))\n    Move Horizontally (x vel)\n    Sense\n    create clone of (_myself_ v)\nend\n\ndefine Move Vertically (y)\nchange [on ground v] by (1)\nrepeat (10)\n    set [original y v] to (y position)\n    change y by ((y) / (10))\n    if <touching (ground v)?> then\n        set y to (original y)\n        if <(y vel) < [0]> then\n            set [on ground v] to [0]\n            set [y vel v] to [0]\n        else\n            set [y vel v] to [0]\n        end\n    end\nend\n\ndefine Move Horizontally (x)\nrepeat (10)\n    set [original x v] to (x position)\n    change x by ((x) / (10))\n    if <touching (ground v)?> then\n        set x to (original x)\n        set [x vel v] to [0]\n    end\nend\n\ndefine Set Variables\nset [friction v] to [0.9]\nset [gravity v] to [-1]\nset [x speed v] to [1]\nset [jump height v] to [15]\nset [level v] to [1]\n\ndefine Reset (direction)\nset y to (180)\nif <(direction) = [reset]> then\n    set x to (-230)\nelse\n    set x to (230)\nend\n\ndefine Sense\nif <[230] < (x position)> then\n    change [level v] by (1)\n    Reset [reset]\nend\nif <(y position) < [-170]> then\n    Reset [reset]\nend\nif <touching (danger v)?> then\n    Reset [reset]\nend\n\nwhen I start as a clone\nswitch costume to (square2 v)\ngo to [back v] layer\nset [ghost v] effect to (85)\nrepeat (100)\n    change [ghost v] effect by (1)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nshow\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@Danger\n\nwhen flag clicked\nforever\n    switch costume to (LEVEL)\nend\n\n@Glow\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (LEVEL)\n    set [ghost v] effect to (Ghost)\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nset [ghost v] to [60]\n\n@Thumb\n\nwhen flag clicked\ngo to [front v] layer\nclear graphic effects\nshow\nwait (1) seconds\nrepeat (100)\n    go to [front v] layer\n    change [ghost v] effect by (1)\nend\nhide\n\nwhen [space v] key pressed\ngo to [front v] layer\n\n
ɴᴇᴏɴ ɢʟᴏᴡ | ᴀ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ\n-\nʙʏ @TheFallenArise\n\nᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ɴᴇᴏɴ ɢʟᴏᴡ ʙʏ ᴛʜᴇꜰᴀʟʟᴇɴᴀʀɪꜱᴇ, ᴀ ɢᴇɴᴜɪɴᴇ Qᴜᴀʟɪᴛʏ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ. ᴍᴀᴅᴇ ꜰᴏʀ ᴛʜᴇ ꜱᴄʀᴀᴛᴄʜᴛᴏʙᴇʀ ꜱᴛᴜᴅɪᴏ. ᴍᴏᴠᴇ ᴡɪᴛʜ ᴀʀʀᴏᴡ ᴋᴇʏꜱ. ᴀᴠᴏɪᴅ ꜱᴘɪᴋᴇꜱ! ɪꜰ ʏᴏᴜ ʟɪᴋᴇ ɪᴛ, ᴄᴏɴꜱɪᴅᴇʀ ᴅʀᴏᴘᴘɪɴɢ ᴀ ꜰᴏʟʟᴏᴡ, ᴀ ꜱᴛᴀʀ, ᴀɴᴅ ᴀ ʜᴇᴀʀᴛ.\n\nʜᴀᴠᴇ ᴀ ɢᴏᴏᴅ ᴅᴀʏ! \n\n-ᴛʜᴇꜰᴀʟʟᴇɴᴀʀɪꜱᴇ\n\n#scratch #platformer #glow #quality\n