Declaring Some Base Code

Since I intend to enter the compo proper and am prone to just writing stuff myself instead of finding more or less working libaries and make them fit my work, I have uploaded the base code I’ll most likely be using. It’s just a .zip file containing a Netbeans Java project with the following contents:

  • Main and MainApplet classes that include the structure for creating a simple window or Java Applet, initializing and running the game.
  • TextureLoader, Texture and Animation classes and the IRenderable interface handle loading and displaying of graphics
  • Sound and SoundLoader clases for playing sounds
  • Path and Pathfinding classes handle generic pathfinding if needed
  • The HeightMap class generates an array of numbers representing height on random terrain using the Diamond-Square-Algorithm
  • The ludumdare19.system.ui package contains code for simple UI elements so I can easily display text, buttons and the like
  • Map, Position and Tile classes are deliberately kept generic to allow for 2D or 3D-based tiles if I make a tile-based game

The code is mostly undocumented and not intended for commercial use. But I’m not stopping anybody. You’d have to set your classpath to contain the lwjgl native files for your OS, though.

Since I have no experience writing a platformer, I’ll most likely write a tile-based Top-Down or isometric game, or something that doesn’t use tiles at all (Like a shoot-’em-up). I’m not making any specific calls, though, since half the fun in my opinion is deciding what the game will be like from the theme. Let’s see what crazy things people will come up with!

Either way, I’m really looking forward to this weekend and hope I won’t have to use the jam as a safety-mechanism to release a game.