Difference between revisions of "Main Page"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 10: | Line 10: | ||
− | < | + | <pre> |
-- script.lua | -- script.lua | ||
-- Receives a table, returns the sum of its components. | -- Receives a table, returns the sum of its components. | ||
Line 21: | Line 21: | ||
io.write("Returning data back to C\n"); | io.write("Returning data back to C\n"); | ||
return x | return x | ||
− | </ | + | </pre> |
Revision as of 21:18, 17 February 2013
Welcome to the (unofficial - for now) Visionaire Studio™ Adventure Game Engine Wiki.
Here you can find the official documentation (in various languages) for Visionaire Studio™, as well as various - user contributed - examples, resources, links, tutorials, lua script snippets & examples via the public section of the wiki; as linked below!
Please consult the User's Guide for information on using the wiki software.
Index List
Official Visionaire Studio™ Documentation
-- script.lua -- Receives a table, returns the sum of its components. io.write("The table the script received has:\n"); x = 0 for i = 1, #foo do print(i, foo[i]) x = x + foo[i] end io.write("Returning data back to C\n"); return x