http://i699.photobucket.com/albums/vv356/zeejfps/Logo_zps2ef3f054.png
Game Example:
[spoiler]
http://i699.photobucket.com/albums/vv356/zeejfps/SnakeGameExample_zpsf3712408.png
[/spoiler]
Hello, I am Zeejfps and I am fairly new to this forums. I have programmed in java for a while now and I want to share something I have been working on for a few days now. It is a 2D game engine like frame work of sorts. I had attempted this before however this time I think its by far my best, so here goes nothing:
The basic principle of this project is to create a framework / engine that will help out in creating very simple prototype 2D games in java without using any external libraries and then be able to display it in either a JFrame or an Applet.
The basic steps are: you extend a Game class and then do your game logic and rendering in the appropriate methods without having to worry about the game loop or how the rendering works, as well as a couple of helpful classes for loading SpriteSheets, etc…Because the only real way I am able to render without using openGl is using AWT Graphics, the performance is not superb, however I believe I have made it render as fast as it is possible without an external library.
I am still working on all of the java docs and comments any and all criticism will be appreciated and if somebody wants to contribute they can go ahead.
The code as well as examples can be found here: https://github.com/Zeejfps/AWTEngine2D
Update (07/05/2014) :
- Added toString() and equals() methods to the Vector2 class
- Added Matrix2 and Matrix3 classes
- Getting ready to change around the rendering code
Update (07/04/2014) :
- Finished the Vector2 class
- Added ability to rotate a Bitmap
- Created a very simple snake game as an example