Tutorial: Basic Editor Usage - Printable Version +- 2DWorlds Forums (http://2dworlds.buildism.net/forum) +-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4) +--- Forum: Help (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=21) +--- Thread: Tutorial: Basic Editor Usage (/showthread.php?tid=11) |
Tutorial: Basic Editor Usage - Jacob__mybb_import1 - 09-29-2012 To make games on 2DWorlds, you use the Game Editor. There are two ways to access the editor:
Once you're in the editor, you'll notice a row of buttons at the top of the screen, called the toolbar. Here's what it should look like:
Buttons 8-20 control the mouse mode; only one can be selected at a time. To place boxes, circles, water, or ladders, click and drag your mouse. To place a weld or hinge, click where two parts (and ONLY two parts) intersect. To place a rope, click and drag the mouse from one part to another. You can move the camera by clicking your right mouse button and dragging. If you want to zoom in or out, use the scroll wheel or press the +/- keys. A: If you wish to test your game, click the Add Character button. Make sure physics are running (button 21). Click again to remove your character. B: You can change some more properties of parts by using the advanced tools; click the pencil icon on the left to access them. Select the parts you want to change by click them, or select multiple ones by clicking the left mouse button and dragging. The table at the bottom lists all of the properties you can change. If you don't understand what a property means, go to the Object List on our wiki. Some useful properties to know:
C: The Lua icon opens up the Scripting Console, which is a grey bar at the bottom of the editor. Type in a one-line Lua script and click "Run". D: The box opens the Model Showcase, which contains several premade items that you can add to your game, such as lava, a spawner, a helicopter, a gun, or a chasing NPC. As with any other programs, you should save often to ensure that you don't lose much work. To save to 2DWorlds.org, use the appropriate item in the file menu. However, it's a good idea to keep a copy on your local computer as well; to do this, use the save button. You can open saved games by using the open button and navigating to where you saved the file. More relevant guides: Scripting, Welds, Textures |