Lua

C++ & Lua - Function Arguments


Posted in:

As we have been realizing here at SOTC, using Lua with C++ is really the only way to make Lua work for you. Lua itself is really not that useful, but used in conjunction with other languages, it can be quite powerful. It past tutorials, we have gone over how to use Lua with C++. However, we have yet to go over how to pass arguments back and forth between the two. This is what we will cover today.

Read More Icon Read More

C++ & Lua - Functions


Posted in:

So in our last Lua tutorial, we went over a basic way to get information from lua and use it inside C++ code. This time, we are going to use the same principals to run a lua function from C++ and a C++ function from lua. This opens up endless possibilities for communication between the two. So, how about we get started then.

Read More Icon Read More

Lua & C++ - The Basics


Posted in:

With Lua, almost anything is possible. It is akin to JS, but in some ways it is so much more powerful. With World of Warcraft incorporating Lua right into its core, you have to wonder how powerful you can actually make it. One of the things that make Lua so powerful is its easy integration into C++ and C. With this integration, you can accomplish just about anything. Today, we are going to go through the steps to get some basic interaction between C++ and Lua.

Read More Icon Read More

Lua - Simple Tables


Posted in:

Anyone who plays World of Warcraft and does even the slightest of development knows that Lua is an integral part of its core. It is so important in fact, that Lua can be interpreted from right inside the game itself. Now, besides WoW, Lua is used throughout the gaming world in a host of ways, typically for the UI. This makes Lua something some of us would like to learn about. Today, we are going to take the first step in Lua development and going over the powerful table.

Read More Icon Read More

Sponsors