Skip to content

This is an OpenGL wrapper and basic game engine designed to be portable between Windows, OSX, Linux, and iOS.

License

Notifications You must be signed in to change notification settings

Dezt/LFA_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFA Engine

This is a very lightweight C++ OpenGL wrapper and basic 2D game engine designed to be portable between Windows, OSX, Linux, and iOS (and even Android, as GunApp at one point did have an Android port that ran this C++ code!). LFA Engine is the backbone of the games GunApp, 4P Air Battle, Guru Melon, and Pixation that were once published on iOS and designed for early versions of the iPhone and iPod Touch.

LFA Engine was developed from 2008 until about 2013, and has dependencies on SDL (for the OGL context) and the Hekkus Sound System by Thomas Maniero. I don't have a license to publish Hekkus, so I can not post the source here, but if you can't obtain it, calls to Hekkus can be easily replaced to use a different sound library in the sound manager (including FMOD, or even to SDL sound, which was originally used, but had problems in those days being ported).

LFA Engine may still useful if you want to develop a very lightweight game for very low-end hardware that Unity or UE3 are too heavy for.

The basic building block for using the engine is the QuadSet class, which is used to draw. Everything else flows from there.

As might be expected, the engine uses bitmap fonts for simplicity: bombadierTGA.tga, Dina.tga, arabTypeTGA.tga and glyphs.wstring are added for convinence to be able to start with some GUI. Note that colors in the glyphs can indicate letter spacing/formatting to the text manager.

4p Air Battle

4P Air Battle 4P Air Battle 4P Air Battle

GunApp

GunApp GunApp GunApp

Guru Melon

Guru Melon

Pixation

Pixation Pixation Pixation Pixation

About

This is an OpenGL wrapper and basic game engine designed to be portable between Windows, OSX, Linux, and iOS.

Resources

License

Stars

Watchers

Forks

Languages