Precious Engine
A 2D game engine written from scratch for Android, started September 2010 and released under the LGPL. The documentation below is preserved as it was published.
Precious Engine is a game engine I developed for Android. I started working on my game and the engine way back in September 2010, and it took me several months to do it in my free time. I built the game using a simple framework that I made from scratch. I'm happy that I managed to complete both projects, given that I was struggling with my job so hard.
You have free access to the engine source code, the engine documentation and the code documentation, so if you're bored you're going to have a great time reading the material.
The engine was released under the LGPL, and it went on to power the game Precious Drop.
Nine chapters.
- ForwardWho the engine is dedicated to, and why a developer in Bahrain wrote one.
- LicenseReleased under the LGPL, with a request attached.
- IntroductionWhy fragmentation across Android hardware pushed him to write an engine from scratch.
- Engine FeaturesEight deliberately simple subsystems, scoped to what Precious Drop actually needed.
- Engine's HierarchyAn object-oriented tree with a single Entity base class at the root.
- Engine's ComponentsClass by class through the core, GUI, input and extra components.
- Engine IntegrationEmbedding the engine in an Android activity through a SurfaceView.
- Using Precious EngineWhy there is no level editor, and how to organize a scene so Android can reclaim it.
- ContributingAn open invitation, written while holding down a day job.