S’troidz!: Week 0 Update

19
Jun/09
10

It’s here! The zeroth weekly update on My Game Experiment! I’ve actually been working on S’troidz! for a few weeks now but I don’t like negative week indexes. That’s just crazy. This update will cover the development I’ve done so far and close with what’s on the table for next week’s build.

First let me tell you quickly why I’ve chosen this format to develop my first game…

I practice a type of Agile development at my “real job” where projects are broken down into sprints, cycles or whatever-you-want-to-call-them and releases are built at the end of each. Requirements drive these cycles and business folks get to choose what they’d like to see next. This empowers them to decide what’s most important and allows developers to show and share their work quickly and efficiently. The beauty is that you have a working “thing” every development period.

Moving on…

After creating what’s essentially a skeleton PushButton Engine project, I lifted some art from the interweb (I’ll totally give it back) and fleshed out the sprite sheets I’d need for the ship avatar and of course, the S’troidz!. The nice thing about using a framework like PBE is that once the project was setup, I only had to write a controller to deal with motion and collision. Input, rendering, spatial logic and other goodies are done for you. I spent about 12 seconds creating missiles in Graphics Gale which gave me all the assets I needed to move around the game screen and shoot stuff.

The next block of development was dedicated to object spawning and collision detection crap. The latter was a pain in the neck. I wrote a class a while back that I wanted to use but it flaked out way too often. Then I tried the PixelPerfectCollisionDetection class but that kept throwing runtime errors due to null object references (and I liked that one too :( ). Finally, I settled on yet another class that seems to be working well so far. (I haven’t played with Corey O’Neil’s Collision Detection Kit yet but it looks pretty solid.)

By the end of this period I had finished a family of Spawn classes that instantiate game objects based on things like collision detection. This allows me to easily create smaller chunks of S’troidz! when a large one was hit for example.

Now for the final development block where I spent most of my time writing countdown components, text render components and my own version of Dynamic Game Balancing.

The countdown component worked out really well. It’s amazing how handy this is for various game actions. PBE gives you a simple method to call functions in the future but I needed a few more bells and whistles. Once complete I was able to hook up the scoreboard, life counter and bonus point text rendering components. S’troidz! rewards fast play and the combination of countdown and bonus point render components makes it easy for the player to know how they’re doing.

Most recently, the game balancing piece was activated which relieves me of having to pre-package gameplay that accomodates 2 or 3 difficulty levels.

That brings us to today’s demo! Please keep a few things in mind:

  • Expect bugs.
  • Expect S’troidz! to spawn right on top of your ship killing you instantly.
  • Expect it to be either really hard or really easy while I fine tune the balancing.
  • Expect a slight delay while the game resources load after pressing the start button. I’m experiencing an old embedded resource issue again.
  • No fonts are being embedded so if you see a grey box with no text, click it and the game will begin.

Ok, I’ll shut up.

(NOTE: If you have trouble viewing it below you can view the swf directly here)

Get Adobe Flash player

Stroidz! Controls

S'troidz! Controls

If you’ve gotten this far it wasn’t so awful as to push you immediately from the page. That being said, I know it probably wasn’t a blast either. Good, bad or indifferent I’d love to hear your thoughts.

That wraps up week zero. The next dev cycle will focus on the installation of alien crafts and if I have time, implement a period of invulnerability for player ships that respawn after being destroyed.

Thanks so much for visiting. S’troidz! will be back next week!

Comments (10) Trackbacks (0)
  1. Jeff Tunnell
    9:36 am on June 19th, 2009

    The resources do not seem to be loading at all. The fonts fonts are working because there is a countdown at the top, but nothing shows up after that.

    -Jeff Tunnell, PushButton Labs

  2. Phil
    10:09 am on June 19th, 2009

    Hi Jeff. Thanks for stopping by. I hadn’t moved the resources when I published the post. Should be all set.

  3. Aaron Oliver
    10:17 am on June 19th, 2009

    Nice! I’m an expert of the “floor it and just keep shooting” technique.

  4. Chris
    11:00 am on June 19th, 2009

    This is a great step forward, no only in terms of playing with PBE but also in terms of doing a project the right way. I commend you for making your “play time” so productive and so instructive.

  5. Docwes
    11:38 am on June 19th, 2009

    awww yeah 13300 i’ll beat that soon the stroidz are evil i need more fiya powaz captain!

  6. Johnny V
    1:23 pm on June 23rd, 2009

    needs forklifts

  7. Rick Overman
    2:24 pm on June 24th, 2009

    Turning feels a little slow, but otherwise I had a blast. Great job! I did have an astroid appear nearly on top between levels and kill me.

  8. Phil
    7:49 pm on June 24th, 2009

    Rick – Thanks! I agree. Ship rotation speed has been bumped up slightly and will be in this weeks release.

    Johnny V – If S’troidz! makes it big, I’ll write a sequel that includes some kind of forklift. :)

  9. Maltech
    12:45 pm on July 11th, 2009

    Hey man, good work so far, better than me, I have been creating artwork for some games I want to put together, but I am not so good with flash, I wish I could partner up with someone or some people to let me do the php and art and they put the games part together lol.

    Anyway the main problem I noticed is sometimes the new astroids spawn on top of your ship, instant death.

  10. Phil
    6:15 pm on July 11th, 2009

    @Maltech Thanks for visiting. Collaboration is always a possibility. Kongregate is trying to bring artists and developers closer together and there’s always sites like FlashKit that get tons of traffic to their games forum. The PushButton Engine site is starting to aggregate a nice community of developers and they have a ‘Show Off’ forum where someone like yourself can share their work. If I were you, I’d push it out there as often and in as many places as possible.

    And yeah… the s’troid spawning on top of ship issue is being worked on. :)

    Good luck!

Leave a comment

No trackbacks yet.