Table of Contents | ||
|
||
Scene data | ||
![]() |
||
Scene Objects Here is where all the scene objects are listed. Selecting a scene object will display its properties for editing Scene ID Here is where you define the ID for the scene object. The ID is the string used to reference the object in code. IDs can be anything but they must follow these two rules:
Also, when you edit the ID the changes are immediatly displayed in the list box Scene Options Currently the only scene option is the ability to disable/enable the mouse cursor in a given scene. Unchecking this box will totally disable the mouse cursor. If you still want the ability to show and hide the cursor at certains times in the scene, leave this box checked. Scene Layers Here is where the layers in the scene are displayed. The top-most item is Layer 0, which means that it will be the first object rendered on the screen and all other layers following it will be rendered on top. Since you can possibly have multiple objects with the same names, the caption box above the list box will tell you what type of object is in the selected layer. You can move layers up and down by selecting a layer and pressing the Up and Dw buttons. To remove a layer, use the "-" button, and to add a layer first select the object from the Scene Layer Objects list box below and then click the "+" button to add the layer at the bottom of the list. Scene Layer Objects There are 5 types of game objecs that can be put in a scene and layered: Music, Sprites, Images, Texts, and Buttons. Music objects are not layered, but including them in a scene causes them to automatically begin playing when a scene is loaded. Playback stops when a scene is unloaded. For all the other objects, where you place them in the Scene Layers list is important. To display the various objects to choose from, you must first have loaded the data files for all the objects. Then simply select the object type from the drop down list to display objects you can then select and add to the scene.
|
||
|
||
|