VixMLSearch |
Getting StartedThis page describes the main steps required to get up and running with VixML.System Requirements
Download the VixML Software and ToolsHere is the latest version of the VixML SDK (updated March 31st):The SDK contains the following:
Interested in the differences between vxEngine 1.0b1 and v1.0b2? Check out the B2 release notes?. Download a Text EditorWe recommend using TextMate (available from www.macromates.comThe TextMate text editor is optional. Though any text editor will work, Viximo recommends TextMate with the VixML plugin, which includes macros that greatly simplify the content creation process. Throughout this documentation, when a Text Editor is referenced, we'll assume that you're using TextMate. The VixML TextMate Bundle included in the SDK contains a set of macros that enable quick and easy creation of VixML tags through the use of simple keyboard shortcuts. To install the bundle, you'll need to preform the following steps:
Verify Your InstallationThe best way to ensure that you've downloaded the SDK & configured TextMate correctly is to run some sample code.Verifying the VxEngineTo do this, you'll need to run the VxEngine that is included in the SDK. The VxEngine desktop application is a Mac OS X application that interprets and executes VixML code. It is used for testing and previewing VixML code during development, before deploying to the iPhone. Run the sample Bell code by:
You should see: Clicking on the "Shake" button at the bottom should cause the image of the bell to rotate back and forth and play a sound. Verifying TextMate macrosThe TextMate macros included in the VixML SDK bundle allow you to easily create VixML markup tags such as a sprite or a controller through the use of the shortcut keys.To use the macros, open up a blank document within the TextMate application. At the bottom of the new window should exist a toolbar that enable you to change the language format of the file you are editing. Click on the "language" toolbar and change the language to VixML. You can now easily create VixML tags with default attributes by typing the name of the object (e.g. group, trigger, controller, sprite, etc...) followed by the Tab key. Test this by creating a scene and typing scene[tab]. It should then layout an entire scene for you: Get Started Building VixML Content!After you're up and running with the VixML simulator and have run the sample content, you're ready to dive into VixML content development. Open up the index.xml file for a piece of sample content to see how the content is built in VixML. Then:
|