Friday, January 23, 2015

Anansi: Chapter 2: From Prototype To Game


It's finally weekend, time to continue with the hobby. We've seen that JavaFX gives us nice means to create a 2D vertically scrolling Shoot'em'up. What we do now is to find common denominators, unify the code from the prototype and extend it.

Here's a summary of what we need:

  • game loop
  • resource loading mechanism
  • input (keyboard in our case)
  • layers
  • sprites
  • sprite management (move, update ui, explode, artificial intelligence)
  • utilities (debug information, screenshot)

There would be some things to consider which we'll do later. I don't want to confuse you with an unnecessary complexity. For now. For a full game we'd need e. g.

  • a level manager for multiple levels
  • a resource manager 
  • a sprite manager
  • multi-player support
  • ...  

If we structure the code in regards to these requirements, it will be easy to add them later. For now we want a single player game with 1 Level, however one with diversity. Rewriting the prototype should be done within a few hours. So let's get coding!

No comments:

Post a Comment