Flatland

Tutorial

1 | Welcome: The Lowdown on 3DML

3DML is a simple markup language similar to HTML, the language used to build pages on the Web. 3DML creates, or “describes”, Internet-ready, three-dimensional environments called spots. Much of the syntax will be familiar to you, if you already know basic HTML.

3DML is unique because it allows you to build a 3D space on the Web without doing any 3D modeling. And you can integrate many kinds of media right into a spot, including sound, animation, 2D graphics, and text. Building a spot for the Web is actually very similar to building in the real world using familiar pieces such as simple wooden blocks or even two-by-fours from the local lumberyard. In 3DML, there are sets of predefined blocks that you can put together to build a house, or a waterfall, or anything you desire. These sets of blocks are aptly named blocksets. In the Basic block set, there are blocks which are the shape ramps, columns, signs and more. The Village block set has blocks shaped like trees, houses, and sidewalks. Each of these blocks is represented by a character on your keyboard.

Like an HTML file, a 3DML file has 2 major sections: the < head > and the
< body >.

The < head > is the section where you set attributes for the entire spot, such as the map dimensions, ambient light and sound, the sky texture, etc.

The < body > is the section where you can customize your blocks, and where you create your actual map. The map is the heart of a 3DML file, where you use different kinds of blocks (represented by ASCII characters) to build a 3D space. Each block typically occupies a space of 256 x 256 x 256 (pixels). Blocks are arranged into a grid pattern to create each horizontal level of a spot. Levels are stacked on top of each other to create multi-story spots.

This tutorial will take you step-by-step through the process of creating a 3DML spot. After you have completed your first spot, you may wish to use more advanced 3DML features. Check the 3DML Tag Guide for a complete list of 3DML tags. The Block Reference Guide has a complete list of the blocks in each blockset, with their default symbols and part names. The RoverScript Reference Guide describes the advanced topic of scripting your spots. Finally, the Blockset Builder Guide details the construction of your own blocksets.

Before you begin the tutorial, there are two things you will need to do:

1. Download and install the Flatland Rover software, and
2. Download and install the tutorial files.

If you haven’t downloaded your free Flatland Rover software, download Rover now!

There are also a few files you will need in order to follow along with the tutorial. You can get the tutorial files here. This download will unzip to a folder called Flatland Tutorial. Save your 3DML files that you create during the tutorial in this folder.


Welcome | Starting | Head Tag | Body Tag | Multilevels | Navigation | Textures | Orientation | Linking | Sound | Lighting | Popups | Sprites | Actions | Streaming 1 | Streaming 2 | More Blocks | Tips & Tricks | Orientation Guide | Texture Styles