Over a million developers have joined DZone.
Silver Partner

Iterative Software Development, Part 2

· Agile Zone

The Agile Zone is brought to you in partnership with Zephyr. Learn more about the implementation of a Test Management system to automate business processes is a strategic investment for any development and QA project team.

Originally authored by Andrew Wagner

Welcome back for episode 2! (Part 1 is posted here.) It's time to implement our first real feature. And with that, comes a decision: what feature should we implement? Some map to fly around in? A way of keeping track of all the entities in the application? A game loop?

Well, I'm not going to say that these are wrong, and they'll all be needed eventually, but let me tell you how I would make the decision. That is, after all, the point of this series. I make decisions like this based on value for the user.

What is it we're building? A space game. What is a space game? One in which you fly around a spaceship. Well, flying is a bit much to take on all at once, so I'll settle for being able to draw a spaceship. After all, that is the definition of a space game. If I were to show this empty window that we created last time to someone and say "here's my space game", the most obvious question would be "...well, where's the space ship?". So, that's what we'll do!

Now, I'm no artist at all. Fortunately, there's some awesome free art available on opengameart.org. In particular, I'll be using this set of graphics, done by kenney.nl.

There's one other credit to give out. I did a bunch of research to figure out the absolute minimum java graphics programming I could get away with for this series. Many of the screencasts out there do lots of crazy copying around of bits of arrays. I may very well need to do that eventually, but I wanted something ultra-simple to start with. Ultimately, this page was extremely useful in figuring that out, so props to them.

Ok, enough talk, let's get coding!



The Agile Zone is brought to you in partnership withZephyr. Learn more about the implementation of a Test Management system to automate business processes is a strategic investment for any development and QA project team.

Topics:

Published at DZone with permission of Scott Leberknight , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}