Archives for lua

[ADV] Lua Stacks – used with Plug-ins or C API

Google is your friend, this is the most common feeling, in a way it is as over the years, it is the source of all information. Maybe for me, growing up in a non-google era and relying on a printed compiled/collated sources then also called (User Manuals) that outlined a lot of things, Google has been very good but I would still rather a collation that has everything together with the relevant bits than the whole whiz-bang. So when I was looking up Lua stacks, there were two things that happened, I found nothing that helped me with what I wanted or the information was so much that I could not read it as I was interested in a specific portion of that information. If you are like me and would like to know about a specific topic and Google for more detailed information read on. If you are from those that would like a very detailed overview or think that there are enough articles on this topic, please by all means don’t bother yourself reading on. Read More

Using Tables in Lua

IF there are a series of conditions, most developers are tempted to use a series of if..then statements which can work, but in terms of extensibility and CPU cycles, this might not be a good way. This article would look at how tables can be used. Read More