{"id":21668,"date":"2020-07-21T10:07:57","date_gmt":"2020-07-21T17:07:57","guid":{"rendered":"https:\/\/www.tynker.com\/blog\/?p=21668"},"modified":"2023-08-23T16:58:53","modified_gmt":"2023-08-23T23:58:53","slug":"tynker-toolbox-the-level-editor-platformer-blocks","status":"publish","type":"post","link":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/","title":{"rendered":"Tynker Toolbox: The Level Editor &#038; Platformer Blocks"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Tynker Toolbox: The Level Editor &amp; Platformer Blocks<\/h2>\n\n\n\n<p>Have you ever played a Platformer game? It\u2019s a game where the player has to jump around to advance, like <em>Super Mario<\/em>, <em>Sonic the Hedgehog<\/em>, <em>Canabalt<\/em>, or <em>Geometry Dash<\/em>.&nbsp;<br><\/p>\n\n\n\n<p>Here&#8217;s an example of a Platformer coded with Tynker, where you&#8217;re a leprechaun who can&#8217;t stop running, collecting shamrocks, and pots o&#8217; gold. The game reports your final score when you fall.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720095908\/leprechaun1.gif\" alt=\"\" class=\"wp-image-21669\" width=\"300\" height=\"169\"\/><\/figure>\n<\/div>\n\n\n<p>Here&#8217;s another platformer game, where you collect coins and defeat bad guys.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720095928\/basic-rolo-demo.gif\" alt=\"\" class=\"wp-image-21670\" width=\"300\" height=\"169\"\/><\/figure>\n<\/div>\n\n\n<p><strong>All new Retro art! <\/strong>&nbsp;Keep reading to see how you can use the cute new actors in the <strong>Fantasy <\/strong>theme.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100213\/retro.gif\" alt=\"\" class=\"wp-image-21671\" width=\"150\" height=\"130\"\/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Make Your Own!<\/h2>\n\n\n\n<p>Let&#8217;s see how to do it by yourself. You can design your own platformer game in Tynker, using two cool tools.&nbsp;<br><\/p>\n\n\n\n<p><strong>#1<\/strong> The <strong>Level Editor<\/strong> lets you drag-and-drop game elements visually and create fun levels super fast. Here\u2019s what it looks like:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"357\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101620\/level-editor-painting-UPDATE-resample1.gif\" alt=\"\" class=\"wp-image-21701\"\/><\/figure>\n<\/div>\n\n\n<p><strong>#2 <\/strong>The <strong>Platformer Blocks <\/strong>help you code platformer actors. For example, these three scripts are everything you need for a player-controlled character that can move left-and-right. Many of the props and characters in the video game Level Editor come with prebuilt code, which you can customize as needed to Level Editor the game.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100336\/good-guy-combined.png\" alt=\"\" class=\"wp-image-21673\" width=\"500\" height=\"309\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100336\/good-guy-combined.png 999w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100336\/good-guy-combined-150x93.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100336\/good-guy-combined-300x185.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100336\/good-guy-combined-768x474.png 768w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">What is a Level Editor in Games?<\/h2>\n\n\n\n<p>Alright, imagine you&#8217;re playing with building blocks to create your own fun world. A level editor in games is like a special tool that lets game creators or players build their own exciting game levels. With this tool, you can place characters, objects, and other things in the game world, just like you do with your building blocks. You get to decide how the game looks and how challenging it is. It&#8217;s like making your own special adventure for others to play and enjoy. And guess what? Some games even let you use the level editor to make your own unique levels and share them with your friends! It&#8217;s like being a game designer and letting your imagination run wild!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are Platformer Blocks in the Level Editor?<\/h2>\n\n\n\n<p>Imagine you are playing a game where you control a cute character that can jump and run around. The game has different levels, and each level is like a different adventure. Now, a level editor is like a magic tool that lets you create your own levels for the game. You can use special blocks that act like floors and platforms where your character can walk and jump on. It&#8217;s like you&#8217;re the boss of the game world, and you get to decide how the levels look and where everything goes. You can make it easy or super tricky \u2013 it&#8217;s all up to you! It&#8217;s a bit like playing with building blocks, but instead of physical blocks, you use virtual ones to create your unique game adventures. You can share your awesome levels with your friends so they can play them too! How cool is that? With the video game level editor, you become a game designer and create fun challenges for everyone to enjoy!<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Get Started with the Platformer Blocks<\/h2>\n\n\n\n<p>To follow along, login at <strong>tynker.com<\/strong> or start the App. Create a new project, then choose <strong>Platformer Project<\/strong>. An empty Tynker project will appear.&nbsp;<br><\/p>\n\n\n\n<p>To access the <strong>Level Editor<\/strong>, which has drag-and-drop tools for placing game elements, click the <strong>Stage <\/strong>button at the top of Tynker Workshop:&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100358\/code-stage.png\" alt=\"\" class=\"wp-image-21674\" width=\"166\" height=\"38\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100358\/code-stage.png 331w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100358\/code-stage-150x34.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100358\/code-stage-300x68.png 300w\" sizes=\"auto, (max-width: 166px) 100vw, 166px\" \/><\/figure>\n<\/div>\n\n\n<p>After you click the <strong>Stage <\/strong>button, the Level Editor will appear.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"700\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-1024x700.png\" alt=\"\" class=\"wp-image-21676\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-1024x700.png 1024w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-150x103.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-300x205.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-768x525.png 768w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-220x150.png 220w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated-1280x875.png 1280w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100842\/main-annotated.png 1450w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>\u2776 Choose a Tool from these choices on the left.&nbsp;<br><\/p>\n\n\n\n<p>\u2777 Then see your tool&#8217;s Options below. For example, all the possible Tiles are shown at bottom currently.&nbsp;<br><\/p>\n\n\n\n<p>\u2778 Draw your level here. Draw tiles, place actors, and more.&nbsp;<br><\/p>\n\n\n\n<p>\u2779 Return to the Code View by clicking here\u2014you&#8217;ll exit the Level Editor View.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Swap Themes&nbsp;<\/h2>\n\n\n\n<p>If you like this retro art style, change the theme to <strong>Fantasy <\/strong>and you&#8217;ll see new Heroes and Awards in a cool new style to match. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"414\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100916\/pink-gal.gif\" alt=\"\" class=\"wp-image-21677\"\/><\/figure>\n<\/div>\n\n\n<p>Like the classic look instead? You can stick with <strong>Default.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"181\" height=\"282\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100924\/themes.png\" alt=\"\" class=\"wp-image-21679\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100924\/themes.png 181w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100924\/themes-96x150.png 96w\" sizes=\"auto, (max-width: 181px) 100vw, 181px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Move, Paint, and Delete Tiles<\/h2>\n\n\n\n<p>The Tile tools help you draw platforms your characters can stand on\u2014and walls your actors can&#8217;t walk through. You have three tools at the top to help with Tiles. Let&#8217;s look at each one.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"83\" height=\"78\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720100941\/move.png\" alt=\"\" class=\"wp-image-21680\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Move. \u2196 <\/strong>Click and drag to reposition the screen, so you can build your level in whatever direction you wish. This tool also lets you move, scale, and rotate actors and collectibles.&nbsp;<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>move <\/em><\/strong>\u2725&nbsp;<\/li>\n\n\n\n<li><strong><em>scale <\/em><\/strong>\u25ab\ufe0f\u25fb\ufe0f \u2b1c and&nbsp;<\/li>\n\n\n\n<li><strong><em>rotate <\/em><\/strong>\ud83d\udd04&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>When you click on an actor with this tool in the Level Editor, new buttons appear. Using them, you can <strong>Change Costumes<\/strong>, <strong>Delete the Actor<\/strong>, or <strong>See Actor&#8217;s Code<\/strong>.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101001\/actor-selected.png\" alt=\"\" class=\"wp-image-21681\" width=\"82\" height=\"79\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101001\/actor-selected.png 329w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101001\/actor-selected-150x144.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101001\/actor-selected-300x287.png 300w\" sizes=\"auto, (max-width: 82px) 100vw, 82px\" \/><\/figure>\n<\/div>\n\n\n<p>The handles on the corners let you change the actor&#8217;s size. The handle on top lets you rotate an actor (some actors can&#8217;t rotate freely, but can only face left or right).&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"102\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101020\/1x3x5x.png\" alt=\"\" class=\"wp-image-21682\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101020\/1x3x5x.png 404w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101020\/1x3x5x-150x38.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101020\/1x3x5x-300x76.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Paint. \ud83d\udd8c\ufe0f <\/strong>This tool draws copies of whatever tile you\u2019ve selected. <\/p>\n\n\n\n<p>You can paint with Tiles one at a time (<strong>1x<\/strong>)\u2014or choose <strong>3x <\/strong>or <strong>5x <\/strong>to place them in bigger sections. Choose the tile to paint with from the options at bottom\u2014you can also scroll to the right to see more options.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"84\" height=\"85\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101041\/erase.png\" alt=\"\" class=\"wp-image-21683\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Erase. <\/strong>This will remove tiles from your project.<br><br><br><\/p>\n\n\n\n<p><br><strong><em>BTW.<\/em><\/strong><em> <\/em><strong>Yes, there IS a minimap! <\/strong>When you move around your level (for example, using the Move tool or scrolling with the mouse), you\u2019ll see a <strong><em>minimap <\/em><\/strong>appear on the right, which gives you a view of your complete level. The bounding box shows what\u2019s currently on screen, but the map displays your complete level as a thumbnail image.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"311\" height=\"312\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101056\/minimap.png\" alt=\"\" class=\"wp-image-21684\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101056\/minimap.png 311w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101056\/minimap-150x150.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101056\/minimap-300x300.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101056\/minimap-250x250.png 250w\" sizes=\"auto, (max-width: 311px) 100vw, 311px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Level Editor Tools<\/h2>\n\n\n\n<p>Here\u2019s a detailed look at the other Tools you can use in the Level Editor, which can let you create a working game prototype quickly.&nbsp;<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"91\" height=\"84\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101110\/bg.png\" alt=\"\" class=\"wp-image-21685\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Backgrounds<\/strong>. This artwork doesn\u2019t affect how your level plays\u2014like the name suggests, it\u2019s only shown in the background. Click one and swap it out.<\/p>\n\n\n\n<p><br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"78\" height=\"74\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101117\/hero.png\" alt=\"\" class=\"wp-image-21686\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Heroes<\/strong> are playable, rigged characters you can control. They&#8217;re also called Good Guys. You usually only want one Hero for each level of your platformer. Heroes come with default movement controls, which you can customize on your own.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"80\" height=\"76\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101122\/villain.png\" alt=\"\" class=\"wp-image-21687\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Villains<\/strong> are the Bad Guys. They\u2019ll interact with the Good Guys\u2014Bad Guys attack Good Guys when they appear on stage together. Bad Guys can be defeated by the Good Guys\u2019 attack moves. Look inside their code to change their attacks, Health, and more. <\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"84\" height=\"83\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101138\/award.png\" alt=\"\" class=\"wp-image-21688\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Awards <\/strong>are Collectible items you can place on your level, which can be picked up by Heroes. The prebuilt collectibles are: <strong>Heart <\/strong>(adds Health), <strong>Coin <\/strong>(adds Points), and <strong>Star <\/strong>(gives Invincibility).<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"86\" height=\"79\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101148\/interface.png\" alt=\"\" class=\"wp-image-21689\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Interface <\/strong>elements are progress bars and scoreboards for the player\u2019s <strong>Health <\/strong>and <strong>Points.&nbsp;<\/strong>Look inside the Actor&#8217;s code to customize them and keep track of your own custom variables on-screen!<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"63\" height=\"68\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101157\/props.png\" alt=\"\" class=\"wp-image-21690\"\/><\/figure>\n<\/div>\n\n\n<p><strong>Props<\/strong>are background actors that aren&#8217;t collectible by default. You&#8217;ll need to add their code yourself! Look at <strong>Awards <\/strong>to get an idea of how they might be turned into collectibles.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"87\" height=\"81\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101203\/media-lib.png\" alt=\"\" class=\"wp-image-21691\"\/><\/figure>\n<\/div>\n\n\n<p><strong>The Media Library <\/strong>lets you add other game elements, props, and actors. Just be warned, you&#8217;ll need to code these actors yourself\u2014just like props, they won&#8217;t come with prebuilt code like the other Platformer elements.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Play Your Hero<\/h2>\n\n\n\n<p>If you haven\u2019t already, place a single Hero in your level from the Level Editor view.&nbsp;<br><\/p>\n\n\n\n<p>Pick a Hero and place them somewhere on your level\u2014pick a flat place where they can walk around. Add some tiles under their feet if you need to.<br><\/p>\n\n\n\n<p>Switch back to the <strong>Code View<\/strong> of Tynker. Look at your Hero\u2019s code to get a sense of the controls you can use:&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101220\/code-stage-CODE.png\" alt=\"\" class=\"wp-image-21692\" width=\"160\" height=\"39\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101220\/code-stage-CODE.png 319w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101220\/code-stage-CODE-150x36.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101220\/code-stage-CODE-300x72.png 300w\" sizes=\"auto, (max-width: 160px) 100vw, 160px\" \/><\/figure>\n<\/div>\n\n\n<p>Try playing the project (press <strong>Play<\/strong>) and practice with some of the moves you saw in the code:&nbsp;<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <strong>up-arrow <\/strong>to jump. You can double-jump!&nbsp;<\/li>\n\n\n\n<li>Press <strong>s <\/strong>to shoot \u2014 this is your ranged attack.&nbsp;<\/li>\n\n\n\n<li>Press <strong>a <\/strong>to slash \u2014 this is a close-quarters attack.&nbsp;<\/li>\n\n\n\n<li>Press <strong>down-arrow <\/strong>while jumping to slam attack.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Add Enemies<\/h2>\n\n\n\n<p>Stop your project and switch back into the Level Editor view. Choose the Villains, then drag one into your project. Then press <strong>Play <\/strong>again and see if you can defeat it. Make sure to check out the enemy\u2019s code in Code View.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101234\/codey-baddie.png\" alt=\"\" class=\"wp-image-21693\" width=\"276\" height=\"152\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101234\/codey-baddie.png 551w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101234\/codey-baddie-150x82.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101234\/codey-baddie-300x165.png 300w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Add Levels<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"87\" height=\"86\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101246\/folded-map.png\" alt=\"\" class=\"wp-image-21694\"\/><\/figure>\n<\/div>\n\n\n<p>Do you want to add more than one level to your game? You can modify your games with Level Editor, here\u2019s how. Click on the \u201cfolded map\u201d icon near the top of the Level Editor. It will have your current level\u2019s name.<br><\/p>\n\n\n\n<p>Click <strong>(+) Add New Level<\/strong> to add new levels. You can rename your levels here, too!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101318\/level-adder.png\" alt=\"\" class=\"wp-image-21695\" width=\"248\" height=\"209\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101318\/level-adder.png 496w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101318\/level-adder-150x126.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101318\/level-adder-300x253.png 300w\" sizes=\"auto, (max-width: 248px) 100vw, 248px\" \/><\/figure>\n<\/div>\n\n\n<p>Here\u2019s a very simple script for a collectible powerup that advances the player to Level 2.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101326\/level-advance-code.png\" alt=\"\" class=\"wp-image-21696\" width=\"158\" height=\"92\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101326\/level-advance-code.png 316w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101326\/level-advance-code-150x87.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101326\/level-advance-code-300x175.png 300w\" sizes=\"auto, (max-width: 158px) 100vw, 158px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>BTW:<\/strong> By default, new levels will start blank. That means you&#8217;ll need a hero, background, tiles, actors, and anything else you\u2019d like to add! This also means that each new level can have totally different controls and characters!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">You Can Change The World Size!<\/h2>\n\n\n\n<p>To start, the Platformer World is 50 x 50 <strong>tiles <\/strong>wide. Want to make something bigger? Or wider? Or taller? Or tiny?<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"93\" height=\"71\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101357\/background-settings.png\" alt=\"\" class=\"wp-image-21698\"\/><\/figure>\n<\/div>\n\n\n<p> Tweak the size by editing the Stage\u2019s <strong>World <\/strong>property. Click on the icon that looks like a <strong>background with a gear.&nbsp;<\/strong><br><br><\/p>\n\n\n\n<p>Then change the <strong>World Size <\/strong>attributes <strong>height <\/strong>and <strong>width<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits-860x1024.png\" alt=\"\" class=\"wp-image-21699\" width=\"430\" height=\"512\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits-860x1024.png 860w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits-126x150.png 126w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits-252x300.png 252w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits-768x914.png 768w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200720101427\/stage-edits.png 872w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/figure>\n<\/div>\n\n\n<p>You can change World Size depending on the style of game you want to create. Does your game scroll to the side, left-to-right? Try making it 25 x 100 tiles.&nbsp;<br><\/p>\n\n\n\n<p>Or is it a game where the player has to climb\u2014like mountaineering or scaling the ramparts of a castle tower? Or is your hero going <strong><em>down<\/em><\/strong>, venturing into the depths of an abandoned mine!? Make it tall and skinny, like 100 x 25 tiles!&nbsp;<br><\/p>\n\n\n\n<p>Change the World Size so it suits your vision of the game.&nbsp;You can also fine-tune your player&#8217;s <strong>Stage Size <\/strong>and how the Background image is formatted.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Do You Want to Create?&nbsp;<\/h2>\n\n\n\n<p>Now that you\u2019ve played around a little bit with the Level Editor, think harder about what kind of games you want to create.&nbsp;<br><\/p>\n\n\n\n<p>Is it an <strong><em>action game<\/em><\/strong>, where the player is always blasting baddies and picking up new weapons? Or something in an <strong><em>adventure game <\/em><\/strong>style, where the player discovers a story by picking up items, solving puzzles, and listening to characters talk? Or is it all about challenging jumps and avoiding tricky traps, a true <strong><em>platformer<\/em><\/strong>? A little bit of everything? Or something else entirely?!<br><\/p>\n\n\n\n<p>It\u2019s all up to your imagination. Make something cool? Share your platformer with us at <a href=\"mailto:community@tynker.com\">community@tynker.com<\/a><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">More Activities?&nbsp;<\/h2>\n\n\n\n<p>Looking for more coding activities? Check out the <a href=\"https:\/\/www.tynker.com\/parents\/\"><strong>Course Catalog<\/strong><\/a>.&nbsp;<br><\/p>\n\n\n\n<p>And read more of our <strong>Tynker Toolbox <\/strong>articles, too!<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-workshop-basics\/\"><strong>Tynker Workshop Basics<\/strong><\/a><strong> <\/strong>\u2014 Start coding with Tynker and learn about coordinates.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/animation-tool\/\"><strong>The Animation Tool<\/strong><\/a> \u2014 Learn about frame-based animation and other animation tips.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-character-creator\/\"><strong>The Character Creator<\/strong><\/a> \u2014 Take control of custom rigs using the Animation blocks.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-physics-blocks\/\"><strong>The Physics Blocks<\/strong><\/a> \u2014 Create games or simulations with gravity, collisions, and more. Think: <em>Angry Birds<\/em> and <em>Marble Madness<\/em>.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-pen-blocks\/\"><strong>The Pen Blocks<\/strong><\/a> \u2014 Make your actors draw as they move. Create patterns, draw geometric shapes, and more.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-sound-blocks\/\"><strong>The Sound Blocks<\/strong> <\/a>\u2014 Play music with code! Add custom sound effects, too. Tynker\u2019s brand new music tool supports MIDI and MP3.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-code-block-tricks\/\"><strong>Code Block Tricks<\/strong><\/a> \u2014 Get top-secret ninja tips for writing code fast in Tynker Workshop.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/debugger\/\"><strong>The Debugger<\/strong><\/a> \u2014 Learn about Tynker\u2019s data debugger and get bug-fixing tips.<\/li>\n<\/ul>\n\n\n\n<p>&nbsp;<br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tynker Toolbox: The Level Editor &amp; Platformer Blocks Have you ever played a Platformer game? It\u2019s a game where the player has to jump around to advance, like Super Mario, Sonic the Hedgehog, Canabalt, or Geometry Dash.&nbsp; Here&#8217;s an example of a Platformer coded with Tynker, where you&#8217;re a leprechaun who can&#8217;t stop running, collecting shamrocks, and pots o&#8217; gold. [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":21719,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[510,12,123],"tags":[429],"class_list":["post-21668","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-block-coding","category-ideas-and-tips","category-new-tynker-features","tag-tynker-toolbox"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tynker Toolbox: The Level Editor &amp; Platformer Blocks - Tynker Blog<\/title>\n<meta name=\"description\" content=\"Tynker makes game design easy with its Level Editor and Platformer blocks. Create your own game and share it with the world!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tynker Toolbox: The Level Editor &amp; Platformer Blocks - Tynker Blog\" \/>\n<meta property=\"og:description\" content=\"Tynker makes game design easy with its Level Editor and Platformer blocks. Create your own game and share it with the world!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/\" \/>\n<meta property=\"og:site_name\" content=\"Tynker Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Gotynker\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-21T17:07:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-23T23:58:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"996\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tynker Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@gotynker\" \/>\n<meta name=\"twitter:site\" content=\"@gotynker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tynker Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tynker Toolbox: The Level Editor & Platformer Blocks - Tynker Blog","description":"Tynker makes game design easy with its Level Editor and Platformer blocks. Create your own game and share it with the world!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/","og_locale":"en_US","og_type":"article","og_title":"Tynker Toolbox: The Level Editor & Platformer Blocks - Tynker Blog","og_description":"Tynker makes game design easy with its Level Editor and Platformer blocks. Create your own game and share it with the world!","og_url":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/","og_site_name":"Tynker Blog","article_publisher":"https:\/\/www.facebook.com\/Gotynker\/","article_published_time":"2020-07-21T17:07:57+00:00","article_modified_time":"2023-08-23T23:58:53+00:00","og_image":[{"width":996,"height":450,"url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png","type":"image\/png"}],"author":"Tynker Team","twitter_card":"summary_large_image","twitter_creator":"@gotynker","twitter_site":"@gotynker","twitter_misc":{"Written by":"Tynker Team","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#article","isPartOf":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/"},"author":{"name":"Tynker Team","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/934d769f4839cb9df678306ee728f671"},"headline":"Tynker Toolbox: The Level Editor &#038; Platformer Blocks","datePublished":"2020-07-21T17:07:57+00:00","dateModified":"2023-08-23T23:58:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/"},"wordCount":1947,"publisher":{"@id":"https:\/\/www.tynker.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#primaryimage"},"thumbnailUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png","keywords":["Tynker Toolbox"],"articleSection":["Block Coding","Ideas and Tips","New Tynker Features"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/","url":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/","name":"Tynker Toolbox: The Level Editor & Platformer Blocks - Tynker Blog","isPartOf":{"@id":"https:\/\/www.tynker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#primaryimage"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#primaryimage"},"thumbnailUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png","datePublished":"2020-07-21T17:07:57+00:00","dateModified":"2023-08-23T23:58:53+00:00","description":"Tynker makes game design easy with its Level Editor and Platformer blocks. Create your own game and share it with the world!","breadcrumb":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#primaryimage","url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png","contentUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200721092219\/platformer-blog-header.png","width":996,"height":450,"caption":"Make Games with Platformer Blocks"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-level-editor-platformer-blocks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Coding for Kids","item":"https:\/\/www.tynker.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/www.tynker.com\/blog\/"},{"@type":"ListItem","position":3,"name":"Tynker Toolbox: The Level Editor &#038; Platformer Blocks"}]},{"@type":"WebSite","@id":"https:\/\/www.tynker.com\/blog\/#website","url":"https:\/\/www.tynker.com\/blog\/","name":"Tynker Blog","description":"Tynker makes it fun and easy to learn computer programming. Get started today with Tynker&#039;s easy-to-learn, visual programming courses designed for young learners in grades K-12.","publisher":{"@id":"https:\/\/www.tynker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tynker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.tynker.com\/blog\/#organization","name":"Tynker - Coding for Kids","url":"https:\/\/www.tynker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20220713063303\/appicon-120.png","contentUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20220713063303\/appicon-120.png","width":120,"height":120,"caption":"Tynker - Coding for Kids"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Gotynker\/","https:\/\/x.com\/gotynker","https:\/\/www.instagram.com\/tynkercoding\/","https:\/\/www.pinterest.com\/gotynker\/","https:\/\/www.linkedin.com\/company\/tynker"]},{"@type":"Person","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/934d769f4839cb9df678306ee728f671","name":"Tynker Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/53c002ba171d44324489e00b00f5b0ebf381cabfef3347db5e6d5257409d92ba?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/53c002ba171d44324489e00b00f5b0ebf381cabfef3347db5e6d5257409d92ba?s=96&d=mm&r=g","caption":"Tynker Team"},"url":"https:\/\/www.tynker.com\/blog\/author\/lpateltynker-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/comments?post=21668"}],"version-history":[{"count":19,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21668\/revisions"}],"predecessor-version":[{"id":35350,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21668\/revisions\/35350"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/media\/21719"}],"wp:attachment":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/media?parent=21668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/categories?post=21668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/tags?post=21668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}