A 2D Game Engine with a component-based architecture style, dynamic audio scaling, separating axis theorem collision detection. - GitHub - Kali-Zoidberg/Java-Engine: A 2D Game Engine with a compone...
Hi all,
I've never shared this publicly though it was my intent. I figure to help contribute to Lemmy, this would be a good first post.
I wrote a 2D game Engine in Java as an undergraduate project. It's fairly simple: audio, sprites, physics, and component based architecture. If you're interested in writing a small 2D game in Java and have past experience with Unity, you may find this to be as a helpful starting point. I will say this: this engine is not meant for serious game development -- I started this project with 'can I do this?' mentality.
Though I no longer work on this project, I hope that someone may find use of it.
It actually started as a high school project and became a bigger project for when I started interviewing for internships in college. The high school project was to make a game and we were encouraged to use Java GUI libraries so I made the classic snake game. It had static frame rates, many bugs, out of bound issues, and many violations of OOP, but it was more than what was expected. I kept it around in a local hard-drive and when I started my undergrad, I realized I needed to make a github and start some projects. I initially wanted to just add a repo for the current code I had but it wasn't really well written...
So I decided to abstract it. The more I abstracted it, the more I realized I was moving towards a game engine. Eventually I took a pause but I got an SDE intership interview that wanted me to present a project so I crunched JEngine during my winter break.