Continuing my foray into preparing for collaborative Flash Game Developement, I’ve been thinking a lot about tools, how to set the project up to allow for a maximum variety of skill levels and skill sets to collaborate on the project while trying to keep Flash and Actionscript as much removed as possible.
In a recent post, I mentioned 3 things I had learned so far about collaborative game dev. During one of my first “test runs” of the engine ( aka.. one of the ‘more successful failures’ ) I had realized that with a number of people working on the project, most of which have no idea what the inside of Flash looks like. Which is great! We all have our strengths, and because they dont know Flash, it just leaves more room for things that *I* dont know.
As the only coder in the little group, my goal is to remove Flash, AS3 and any other technical programs or bottlenecks from as much of the process as I can. I want to try to remove dependency upon me in the situation, the need for people to come looking for me when they want something changed.
So I had mentioned earlier that I wanted to externally load (at least now for development ) all assets… Music, Images, xml files containing map and level tile values, etc. So once you have all of those assets loading in dynamically,
Thats great, but step ahead to thinking about the intro of your game? Or the title screen? what happens to these buttons and sprites and images you’ve posted up when they’re clicked on? Do they move? Fade out? How does your game “feel”? If this responsibility falls to the designer with no flash experience…?
XML provides the perfect way for them to be able to enter values and control animations by simply editing the text/xml file. You, as the developer, can easily get XML data and parse through it. It’s the perfect middle ground. Now, how do you implement this ‘perfect middle ground?’
Sample XML File:
This is the xml file in the sourcecode. Ideally, if I keep playing with this idea, this will obviously become a bit more filled out and structured. But for the test here, this xml data is loaded in. You may need to refresh the page if you didn’t see the little image move.
So this is essentially where this test came from… a way to put all of the animation code into an XML file so artists and designers can change values easier.