James Owen's Dev Site.

Applications/Programs I have worked on. Looking for the next challenge!


Please give some feedback about the website here.

Project Page


Aie OpenGL Engine - Lua:

Lua Lib as an extension of the game engine I made, You can do almost everything in lua that the engine is capable of.

Languages:

  • C++
  • Lua


Project: Aie OpenGL Engine - Lua.

Description:

A Implemtation for Lua using bindings built into my C++ OpenGL engine (Link to the side),

Within Lua you can:

  • Transform creation.
    • Transform movement.
    • Transform rotation.
    • Transform parenting.
  • Mesh/Image creation.
  • Material load and colour
  • Camera modifications.

All objects are given a number that relates to the object within the C++ code.
Almost like a pointer to the object in C.
there is also common Lua files that maintain input and the different data types that are creatable and useable.

Images/Gifs:

an example of Lua being used within the engine

So, whats going on here...
Well it's a demonstration of my Lua implementation.
The starting plane is created, colored and scaled within lua.
It starts off with spawning a bunch of planes assigning them to a array which gives them the bird like movement and applying the texture swap animation.
I can select planes and control them with WASD and mouse movement.
Then I spawn a un textured bunny and move that around the scene.

If you want to see the lua code that handles this scene Link.
It does a little more than whats shown here and gives an idea of how the lua aspect of the implementation operates