Wednesday, July 9, 2008

About GlassFlame

OK, so now that I am up and running you probably want to know what exactly Glass Flame is...

Well you're in luck, because telling you is my primary purpose!

Glass Flame is a 2d game engine, which uses a event-based system for every thing, and is designed from the ground up to be easy to use.

What that means is when you create a Object in Glass Flame you do it like this:

  1. You write a Java class which is extends GLObject.

  2. You implement any event interfaces you want to use:

    A bullet would want to implement the collision interface.

    Your character would want to implement a key-press interface.

    Of course a Object can implement as many interfaces as you want

  3. You write code inside the interface methods to do whatever you want

    The bullet would lower the health of a monster if it collided with one(the collision method tells you what you have hit)

    Your character would move left when you pressed Left-Arrow

  4. You add() your Object to the Room!

If you have programed with swing/AWT than this will look familiar, if not you should probably learn that first.

Please note that at this point NONE of the things I have talked about have been implemented yet, so in the immortal words of my brothers: Please Wait...

No comments:

Post a Comment

reader input: