Art is Art and Water is Water

October 23, 2009

October Game: Not much to look at

Filed under: Dark Stars, Month Games — foone @ 9:57 pm

A menu of level names

Not a lot to look at this time. I finally got the whole XML system working, so bullets, enemies, firing patterns, and levels are all loaded from XML files. This makes the built in stuff easy to handle, and the possibility of loading custom(user!) levels off the internets.

Now that levels actually exist, there’s an interface to them as you can see above. It shows you the levels you’ve unlocked, and you can click to play one. Beating the latest level unlocks the next, and this is persisted across launches. (This took awhile, as I had to split the program into two Activities, and I hadn’t learned how to do that at the time)

And writing this made me realize there was a bug: It incremented the level-unlock count even when you were replaying an old level. So playing Levels 1, 1, 3 was possible from a fresh save.



    Comment by Ycros — October 26, 2009 @ 11:37 pm

    • It is when your library will helpfully compile the XML into a binary object which’ll be compressed and stored in your app package, so you don’t have to do any actual parsing at runtime.

      Any other format, I’d have to actually parse it! HORRORS!

      Comment by foone — October 27, 2009 @ 5:13 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: