Posts Tagged Java Web Start

Fun project: small role playing game

I always was interested in computer games, so I wanted to create a small role playing game for fun and self-education. In 2007 I started to do this from scratch, so I did not use any existing libraries, just plain Java. I decided to develop a tile-based 2D game engine. It is not finished yet (it is more work than one could expect at first sight if you want to do a good job), I work on it when I have time and feel like it.

Features that work at this time:

  • Walking around using the arrow or “WSAD”-keys
  • Collision detection and “hiding” behind greater items (like trees)
  • Mouse support on the map, left click: select an enemy or pick up items (weapon, shield, armor) to be added to inventory, right click: look at/read items
  • Inventory functionality (to open press “C”), mouse left click: inspecting items (weapon, shield, armor) in detail, mouse middle click: throw items away, mouse right click: equip items
  • Equipped items extend statistics of the player (more health, armor or damage)
  • Entering houses and other teleport events
  • Very basic balancing engine (with items attached, defeating an enemy is easier)
  • Two enemies walking on the map that will attack the player if (really) near, select enemy with a left click of the mouse to fight back, one ememy carries loot
  • Map editor to design new maps and all items on it


In 2007, using Java Web Start was quite a good idea and I did not change that so far.
Link to start: Game

, , ,

No Comments