• entries
    383
  • comments
    1075
  • views
    352191

Brixtar - Day 5

Sign in to follow this  
Trapper Zoid

79 views


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.
Sign in to follow this  


4 Comments


Recommended Comments

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>

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now