(UNDER CONSTRUCTION) Basic Tutorial
From Color Infection Wiki
If you are about to read this tutorial you are probably wanting to learn how to make use the Phyard Builder. There are actually many things to learn, but for now we'll just cover the basics.
In this tutorial we will make a simple domino effect using just physics. As we build it, we will be setting up the game world, creating and handling shapes, testing the design, and finally, saving a backup and publishing it on the web. Let's begin!
(NOTICE: you can select the "Copy Source Code" from the context menu of all flash windows in this tutorial and load the copied source code in Phyard Builder.)
Setting the game World
The first thing you've got to decide when making any design is how do you want your world to look like. You must choose it's size, colors, etc. All of these properties can be accesed by going to Config Design > Config World Appearance:
The Scene Appearance Settings window will show up. We're going to change only these paramters:
- World size: Custom (Left: 0, Top:0, Width: 1000, Height: 500)
- Background Color: DDDDFF (light blue)
- Border Thicknesses: 5 (in all four textboxes)
Hit ok to see the changes. A world of 1000x500 will be big enough for our first attempt... if you prefer, you can pick other colors for the border, background and such.
Note, you may find that a part of the world is outside the screen. You can scroll around the world by holding Shift and dragging with the mouse.