Lua is a powerful, fast, lightweight, embeddable scripting language. Lua is widely used as a scripting language by game programmers, perhaps owing to how easy it is to embed, its fast execution, and its short learning curve.
2
votes
2answers
569 views
How to bind std::map to Lua with LuaBind
Is this possible in lua to achieve?
player.scripts["movement"].properties["stat"] = "stand"
print (player.scripts["movement"].properties["stat"])
I've done getter method in c++ with this approach:
...
1
vote
0answers
88 views
Determine required camera pitch/yaw change based on mouse movement and roll?
I'm sure this is going to be a pretty simple answer but I can't quite figure it out on my own. Each frame, I'm getting the mouse's distance from the center of the screen (left/up is positive) and ...
1
vote
0answers
39 views
Overlay scene not showing
I have 2 scenes: One main scene with a button, and another scene with only 1 text.
button action in Main Scene:
local options =
{
effect = "fade",
time = 400,
params =
{
...
0
votes
0answers
49 views
Gideros Repeating and Clipping Background
I want to have a background with a repeating x-axis, that can be moved horizontally.
What I have so far:
local background = Texture.new("parallax01.png", true, {wrap = Texture.REPEAT})
local shape = ...