Tutorial: Platformer
@Stage\n\n@Slides\n\nwhen flag clicked\nbroadcast (Begin v)\n\nwhen I receive [begin v]\ndelete all of [item link v]\ngo to x: (0) y: (0)\nset [_slide v] to [0]\nbroadcast (Update Slide movement v)\nforever\n    broadcast (Update Slide v)\nend\n\nwhen I receive [begin v]\nswitch costume to (tn v)\n\nwhen I receive [update slide v]\nset [_slide v] to (costume [number v])\n\nwhen I receive [update slide movement v]\nforever\n    if <not <(costume [number v]) = [30]>> then\n        if <<key (space v) pressed?> or <mouse down?>> then\n            go to x: (-1) y: (0)\n            repeat (30)\n                set x to ((x position) * (1.2))\n            end\n            next costume\n            go to x: (500) y: (0)\n            repeat (30)\n                set x to ((x position) * (.8))\n            end\n            go to x: (0) y: (0)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Chris Brown - Overtime \(Audio\) v] until done\nend\n\n@Items\n\nwhen flag clicked\nshow list [item link v]\nhide\n\nwhen I receive [begin v]\nforever\n    if <(_slide) = [6]> then\n        Create set | No# of items: [2] [1] [2] [0] [0]\n        wait until <not <(_slide) = [6]>>\n        broadcast (DEL clone v)\n    else\n        if <(_slide) = [7]> then\n            Create set | No# of items: [3] [3] [4] [5] [0]\n            wait until <not <(_slide) = [7]>>\n            broadcast (DEL clone v)\n        else\n            if <(_slide) = [28]> then\n                Create set | No# of items: [4] [6] [7] [8] [9]\n                wait until <not <(_slide) = [28]>>\n                broadcast (DEL clone v)\n            end\n        end\n    end\nend\n\ndefine Create | Costume: (#) x: (x) y: (y)\nshow\nswitch costume to (#)\nset x to (x)\nset y to (y)\ncreate clone of (_myself_ v)\nhide\n\ndefine Create set | No# of items: (#) (c1) (c2) (c3) (c4)\ndelete all of [item x v]\ndelete all of [item c v]\ndelete all of [item y v]\nif <(#) = [2]> then\n    add [-69] to [item x v]\n    add [69] to [item x v]\n    add [19] to [item y v]\n    add [19] to [item y v]\nend\nif <(#) = [3]> then\n    add [-79] to [item x v]\n    add [79] to [item x v]\n    add [9] to [item x v]\n    add [69] to [item y v]\n    add [69] to [item y v]\n    add [9] to [item y v]\nend\nif <(#) = [4]> then\n    add [-122] to [item x v]\n    add [122] to [item x v]\n    add [-122] to [item x v]\n    add [122] to [item x v]\n    add [72] to [item y v]\n    add [72] to [item y v]\n    add [-72] to [item y v]\n    add [-72] to [item y v]\nend\nadd (c1) to [item c v]\nadd (c2) to [item c v]\nadd (c3) to [item c v]\nadd (c4) to [item c v]\nset [i v] to [0]\nset [clone_id v] to [0]\nrepeat (#)\n    change [clone_id v] by (1)\n    change [i v] by (1)\n    Create | Costume: (item (i) of [item c v]) x: (item (i) of [item x v]) y: (item (i) of [item y v])\nend\n\nwhen I receive [del clone v]\ndelete this clone\n\nwhen I start as a clone\nif <(costume [name v]) = [Aseprite]> then\n    set [item link v] to [https://www.aseprite.org/]\nend\nif <(costume [name v]) = [Alien Adventure]> then\n    set [item link v] to [https://scratch.mit.edu/projects/559222135/]\nend\nif <(costume [name v]) = [Scratch Run]> then\n    set [item link v] to [https://scratch.mit.edu/projects/562141442/]\nend\nif <(costume [name v]) = [Coded]> then\n    set [item link v] to [https://scratch.mit.edu/projects/559650850/]\nend\nif <(costume [name v]) = [Wonder Valley]> then\n    set [item link v] to [https://scratch.mit.edu/projects/560798616]\nend\nif <(costume [name v]) = [Pixilart]> then\n    set [item link v] to [https://www.pixilart.com/]\nend\nif <(costume [name v]) = [Scratch]> then\n    set [item link v] to [https://scratch.mit.edu/]\nend\nif <(costume [name v]) = [Blender]> then\n    set [item link v] to [https://www.blender.org/]\nend\nif <(costume [name v]) = [Paint 3D]> then\n    set [item link v] to [https://microsoft-paint-3d.en.softonic.com/]\nend\ngo to x: (item (CLONE_ID) of [item x v]) y: (-180)\nSmooth glide | x: (item (CLONE_ID) of [item x v]) y: (item (CLONE_ID) of [item y v]) friction: [8]\nrepeat until <<key (space v) pressed?> or <mouse down?>>\n    if <<touching (mouse-pointer v)?> and <key (up arrow v) pressed?>> then\n        delete all of [item link v]\n        add (Item Link) to [item link v]\n        add [Double click the link and copy and paste it in your browser.] to [item link v]\n        add ["Down arrow key" to close!] to [item link v]\n        hide list [item link v]\n        wait until <not <<touching (mouse-pointer v)?> and <key (up arrow v) pressed?>>>\n        wait until <key (down arrow v) pressed?>\n        show list [item link v]\n    end\nend\nshow list [item link v]\nwait (1) seconds\nSmooth glide | x: ((item (CLONE_ID) of [item x v]) + ([x position v] of [slides v])) y: (item (CLONE_ID) of [item y v]) friction: [8]\ndelete this clone\n\ndefine Smooth glide | x: (x) y: (y) friction: (friction)\nrepeat until <<(round (x)) = (round (x position))> and <(round (y)) = (round (y position))>>\n    change x by (((x) - (x position)) / (friction))\n    change y by (((y) - (y position)) / (friction))\nend\n\n@Logo \n\nset size to ((([cos v] of (((timer) + (-3)) * (150)) ) * (8)) + (25)) %\n\nwhen flag clicked\nhide\n\nwhen I receive [begin v]\nshow\nset size to (25) %\nforever\n    go to x: (210) y: (-150)\n    set [brightness v] effect to (50)\nend\n\ngo to x: (-203) y: (150)\n\n@TN\n\nwhen flag clicked\nforever\n    show\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n
ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ ᴍʏ ʙɪɢɢᴇꜱᴛ ᴀɴᴅ ᴍᴏꜱᴛ ᴛɪᴍᴇ-ᴄᴏɴꜱᴜᴍɪɴɢ ᴛᴜᴛᴏʀɪᴀʟ ʏᴇᴛ, ᴍʏ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ᴛᴜᴛᴏʀɪᴀʟ! ᴛʜɪꜱ ᴛᴜᴛᴏʀɪᴀʟ ᴡɪʟʟ ᴡᴀʟᴋ ʏᴏᴜ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ʙᴀꜱɪᴄꜱ ᴏꜰ ᴄʀᴇᴀᴛɪɴɢ ᴀ ꜱɪᴍᴘʟᴇ ꜰᴜʟʟ-ʟᴇɴɢᴛʜ ᴘʟᴀᴛꜰᴏʀᴍᴇʀ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ʙʀᴀɢ ᴀʙᴏᴜᴛ ᴀᴛ ꜱᴄʜᴏᴏʟ!  ꜰᴏʟʟᴏᴡ ᴛʜᴇ ɪɴꜱᴛʀᴜᴄᴛɪᴏɴꜱ ʙᴇʟᴏᴡ:\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nɪɴꜱᴛʀᴜᴄᴛɪᴏɴꜱ:- \n⭐ᴄʟɪᴄᴋ ᴛʜᴇ ɢʀᴇᴇɴ ꜰʟᴀɢ ᴛᴏ ꜱᴛᴀʀᴛ! \n⭐ᴘʀᴇꜱꜱ ᴛʜᴇ ꜱᴘᴀᴄᴇ ᴋᴇʏ ᴏʀ ᴄʟɪᴄᴋ ᴛᴏ ꜱʜɪꜰᴛ ʙᴇᴛᴡᴇᴇɴ ꜱʟɪᴅᴇꜱ. \n⭐ᴡʜᴇɴ ɪᴛᴇᴍꜱ ᴘᴏᴘ ᴜᴘ ᴏɴ ᴛʜᴇ ꜱᴄʀᴇᴇɴ, ᴘʀᴇꜱꜱ ᴛʜᴇ ᴜᴘ ᴀʀʀᴏᴡ ᴋᴇʏ ᴡʜɪʟᴇ ᴛᴏᴜᴄʜɪɴɢ ᴛʜᴇᴍ ᴡɪᴛʜ ʏᴏᴜʀ ᴍᴏᴜꜱᴇ ᴘᴏɪɴᴛᴇʀ ᴛᴏ ᴀᴄᴄᴇꜱꜱ ᴛʜᴇɪʀ ᴡᴇʙꜱɪᴛᴇ. ᴄʟɪᴄᴋ ᴛʜᴇ ᴅᴏᴡɴ ᴀʀʀᴏᴡ ᴋᴇʏ ᴛᴏ ʜɪᴅᴇ ᴛʜᴇ ʟɪɴᴋ!\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nᴅᴏ ʏᴏᴜ ᴡɪꜱʜ ꜰᴏʀ ᴍᴀɴʏ ᴏᴛʜᴇʀ ᴘᴇᴏᴘʟᴇ ᴛᴏ ʟᴇᴀʀɴ ꜰʀᴏᴍ ᴛʜɪꜱ? ᴘʀᴏᴘᴏꜱᴇ ɪᴛ ʜᴇʀᴇ! :- https://scratch.mit.edu/studios/28715018/\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nᴄᴏᴍᴍᴇɴᴛ ꜱᴇᴄᴛɪᴏɴ ʀᴜʟᴇꜱ:- \n ✅ᴄᴏɴꜱᴛʀᴜᴄᴛɪᴠᴇ ᴄʀɪᴛɪᴄɪꜱᴍ / ᴘᴏꜱɪᴛɪᴠᴇ ꜰᴇᴇᴅʙᴀᴄᴋ / ꜱᴜɢɢᴇꜱᴛɪᴏɴꜱ \n❌ʀᴇQᴜᴇꜱᴛɪɴɢ ꜰ4ꜰ, ꜰᴏʀ (ꜰᴏʟʟᴏᴡ ᴏɴ ʀᴇQᴜᴇꜱᴛ), ꜱᴘᴀᴍ, ʜᴀᴛᴇ, ᴀᴅꜱ, ᴘʀᴏᴠɪᴅɪɴɢ ᴘᴇʀꜱᴏɴᴀʟ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nɴᴏᴛᴇꜱ :- \n⭐ɪ'ʟʟ ʙᴇ ɢᴏɪɴɢ ᴏɴ ᴀ ᴏɴᴇ ᴍᴏɴᴛʜ ʜɪᴀᴛᴜꜱ ꜱᴏᴏɴ. ʜᴏᴡᴇᴠᴇʀ, ɪ'ʟʟ ꜱᴛɪʟʟ ʙᴇ ʀᴇʟᴇᴀꜱɪɴɢ 2 ᴘʀᴏᴊᴇᴄᴛꜱ ʙᴇꜰᴏʀᴇ ᴛʜᴇ ʙʀᴇᴀᴋ (ʜᴏᴘᴇꜰᴜʟʟʏ).\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nᴄʀᴇᴅɪᴛꜱ :- \n⭐@ɪᴄᴍʏ123'ꜱ ᴛʀɪɢᴏɴᴏᴍᴇᴛʀʏ ᴛᴜᴛᴏʀɪᴀʟ ʜᴇᴀᴠɪʟʏ ɪɴꜱᴘɪʀᴇᴅ ᴛʜᴇ ꜰᴏʀᴍᴀᴛ ᴀɴᴅ ᴛʜᴇ ɪᴅᴇᴀ ᴏꜰ ᴛʜᴇ ᴛᴜᴛᴏʀɪᴀʟ. \n⭐ᴛʜᴀɴᴋ ʏᴏᴜ ᴛᴏ @ꜰᴀᴢᴀʜ_ᴄʜᴀᴍᴘ, @ɪᴍʀᴏʜᴀɴ10187, @ᴀᴍᴀᴢɪɴɢQ, ᴀɴᴅ @ᴄʜᴇᴡɪɴɢꜰʀᴜɪᴛɢᴜᴍ, ᴀꜱ ᴛʜᴇɪʀ ɢᴀᴍᴇꜱ ʜᴀᴅ ʙᴇᴇɴ ɪɴᴄʟᴜᴅᴇᴅ ɪɴ ᴛʜɪꜱ ᴘʀᴏᴊᴇᴄᴛ :)\n⭐ᴛʜᴇ ꜱᴏɴɢ ᴛʜᴀᴛ ɪꜱ ɪɴ ᴛʜɪꜱ ᴛᴜᴛᴏʀɪᴀʟ ɪꜱ "ᴏᴠᴇʀᴛɪᴍᴇ" ʙʏ ᴄʜʀɪꜱ ʙʀᴏᴡɴ :ᴅ\n⭐ᴛʜᴀɴᴋ ʏᴏᴜ ᴛᴏ @-ɴᴇʀᴅᴀɴɪᴍᴀᴛᴏʀ ꜰᴏʀ ᴛʜᴇ ꜱʟɪᴅᴇ ᴄᴏᴅᴇ! \n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\nᴛʜᴀᴛ'ꜱ ᴀʟʟ! ᴍᴀᴋᴇ ꜱᴜʀᴇ ᴛᴏ ʟᴏᴠᴇ, ꜰᴀᴠᴇ, ᴀɴᴅ ꜰᴏʟʟᴏᴡ ꜰᴏʀ ᴍᴏʀᴇ :ᴅ . (ᴛᴇxᴛ ᴍᴀᴅᴇ ᴜꜱɪɴɢ ꜰᴏɴᴛꜱᴘᴀᴄᴇ.ᴄᴏᴍ ᴀɴᴅ ɢᴏᴏɢʟᴇ ᴅʀᴀᴡɪɴɢꜱ)