Sorting Tables in Lua
Sometimes, you’ll need to sort a table in alphabetical or numerical order. Fortunately, Lua provides an easy function called table.sort(). This function will sort...
Leave a comment |No products in the cart.
Sometimes, you’ll need to sort a table in alphabetical or numerical order. Fortunately, Lua provides an easy function called table.sort(). This function will sort...
Leave a comment | Tagged luaRecently, I had to strip out some HTML entities from a RSS feed so it’s readable. Since there’s is not a built-in way...
Leave a comment | Tagged luaIn other programming languages, you can use functions like print_r() in php to display the information stored in a table (known as an array in php)....
Leave a comment | Tagged luaA common feature of a mobile games is the ability to fire projectiles from the player. The projectiles could be bullets, lasers, fireballs,...
Leave a comment | Tagged corona sdk , luaHello and welcome to another tutorial about the programming language Lua! In game programming, you will need to randomize which objects, decisions, or choices...
Leave a comment | Tagged luaIn order to create unique games with Corona SDK, you’ll run across different scenarios where you need a bit of math. Whether it’s...
2 Comments | Tagged corona sdk , luaRecently, I had the need to combine two tables in my Corona SDK app and unfortunately, there wasn’t a table function that already...
2 Comments | Tagged corona sdk , lua