Brixtar - Day 5

Published May 25, 2007
Advertisement

It's not that easy to draw the GameDev logo, especially in bricks
I've implemented a simple XML level loader into Brixtar, so it should be pretty easy to whip up a series of levels. I still need to implement a couple of new brick types (most likely an unbreakable type and one that needs multiple hits). I also still need to make up my mind about how to deal with the powerups and the scoring system; I don't know if I should use the coloured bricks for anything other than decoration.

There's also still a few bugs in the collision code, which means the game isn't quite releasable yet. Most of the time it works fine, but often it missed a glancing collision. I think I need to rewrite the whole collision detection system as it has turned into a big glob of code.

Even though it's the weekend, I'm not sure I'm going to get Brixtar finished by the end of the week time limit. I'm feeling worn out from the programming and there's still an awful lot to be done. I might aim to just get the first releasable version by the end of the weekend, and next week slowly iron out the wrinkles as I also put some more work into the library.
Previous Entry Brixtar - Day 4
Next Entry Brixtar - Day 6
0 likes 4 comments

Comments

Ravuya
Quickly! Write an SVG -> Brixtar level generator! You must!
May 25, 2007 08:29 AM
ildave1
XML Level Loader... Now that's an interesting idea... *writes that down*
May 25, 2007 09:20 AM
jbadams
Looking good, great to see you making some good progress again. [smile]
May 25, 2007 11:34 AM
Trapper Zoid
Quote: Original post by Ravuya
Quickly! Write an SVG -> Brixtar level generator! You must!

Maybe for Brixtar Gold Edition, if it ever gets made [smile].

SVG would make it easier to see the levels as they're being made, but it's also a lot harder to parse and has the ability to place bricks anywhere, rather then in the nice rectangular grid that Brixtar expects. Consequently there'd be a lot of malformed levels.

Currently XML levels are pretty simple; there's just text files with a bit of markup. This is the logo level shown above:
<level name="Logo">
<background sprite="tile_steel" red="0.0" green="0.0" blue="0.5" />
<brix>
+--------------+
I..............I
I..............I
I.....BBBB.....I
I...BBBWWBBB...I
I..BBBWWWWWBB..I
I..BBBWBBWWBB..I
I.BBBWBBBBBBBB.I
I.BBWBBBBBBBBB.I
I.BWWBBBBBBBBB.I
I.BWWBBBBWWWBB.I
I.BWWBBBWWWBBB.I
I.BWWBBBBWWBBB.I
I.BBWWBBBWWBBB.I
I..BWWWWBWWBB..I
I..BBWWWBWWBB..I
I...BBBBBBBB...I
I.....BBBB.....I
I..............I
</brix>
</level>
May 25, 2007 05:57 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement