couch-rust/main.lua

12 lines
239 B
Lua
Raw Normal View History

2022-04-09 12:42:18 -05:00
print("Hello from a lua script!")
2022-04-11 16:14:09 -05:00
function init()
print("Hello from \"init\"")
couch.debug("init")
2022-04-11 17:41:18 -05:00
couch.say_hello("dane", "Hi!")
2022-04-11 16:14:09 -05:00
end
function update(delta)
2022-04-15 17:44:05 -05:00
print(couch.root:find_node("cube"):get_transform().position[3])
2022-04-11 16:14:09 -05:00
end