Search results
Create the page "Lua function" on this wiki!
- {{lua-function|setCurrentFrame|object, frame}} {{lua-function-param|object|object to operate on}}237 B (25 words) - 23:01, 8 February 2014
- {{lua-function|translate|object, vector, local}} {{lua-function-param|object|object to operate on}}831 B (92 words) - 23:17, 8 February 2014
- {{lua-function|setPosition|object, vector}} {{lua-function-param|object|object to operate on}}681 B (77 words) - 23:18, 8 February 2014
- {{lua-function|getObject|objectName}} {{lua-function-param|objectName|object name}}775 B (113 words) - 23:13, 8 February 2014
- {{lua-function|rotate|object, vector, angle, local}} {{lua-function-param|object|object to operate on}}943 B (110 words) - 23:17, 8 February 2014
- {{lua-function|getPosition|object}} {{lua-function-param|object|object to operate on}}821 B (102 words) - 23:18, 8 February 2014
- {{lua-function|setCameraFov|object, fov}} {{lua-function-param|object|object to operate on}}587 B (69 words) - 23:07, 8 February 2014
- {{lua-function|getCameraFov|object}} {{lua-function-param|object|object to operate on}}467 B (59 words) - 23:05, 8 February 2014
- {{lua-function|setLightIntensity|object, intensity}} {{lua-function-param|object|object to operate on}}697 B (78 words) - 23:30, 8 February 2014
- {{lua-function|getLightIntensity|object}} {{lua-function-param|object|object to operate on}}482 B (57 words) - 23:29, 8 February 2014
- {{lua-function|activate|object}} {{lua-function-param|object|object to operate on}}440 B (51 words) - 23:15, 8 February 2014
- {{lua-function|deactivate|object}} {{lua-function-param|object|object to operate on}}371 B (40 words) - 23:15, 8 February 2014
- {{lua-function|addCentralForce|object, vector, local}} {{lua-function-param|object|object to operate on}}863 B (98 words) - 23:26, 8 February 2014
- {{lua-function|setText|object, text}} {{lua-function-param|object|object to operate on}}643 B (84 words) - 23:04, 8 February 2014
- {{lua-function|isCollisionBetween|object1, object2}} {{lua-function-param|object1|first object}}1 KB (125 words) - 23:27, 8 February 2014
- {{lua-function|getAxis|axis}} {{lua-function-param|axis|[[Axis|axis]] contant}}153 B (16 words) - 17:59, 8 February 2014
- {{lua-function|getProperty|name}} {{lua-function-param|name|string with property name}}161 B (17 words) - 17:59, 8 February 2014
- {{lua-function|getTouchPhase|touchId}} {{lua-function-param|touchId|touch id}}244 B (25 words) - 11:38, 9 February 2014
- {{lua-function|getLastTouchPosition|touchId}} {{lua-function-param|touchId|touch id}}159 B (15 words) - 18:00, 8 February 2014
- {{lua-function|getTouchPosition|touchId}} {{lua-function-param|touchId|touch id}}155 B (15 words) - 18:00, 8 February 2014
- {{lua-function|getCurrentSceneId|}} [[Category:Lua scripting]]108 B (10 words) - 15:50, 8 February 2014
- {{lua-function|getSystemTick|}} [[Category:Lua scripting]]105 B (10 words) - 15:56, 8 February 2014
- {{lua-function|getAnimationSpeed|object}} {{lua-function-param|object|object to operate on}}192 B (20 words) - 22:59, 8 February 2014
- {{lua-function|getCurrentFrame|object}} {{lua-function-param|object|object to operate on}}188 B (20 words) - 23:00, 8 February 2014
- {{lua-function|setTextColor|object, color}} {{lua-function-param|object|object to operate on}}548 B (68 words) - 23:04, 8 February 2014
- {{lua-function|isCollisionTest|object}} {{lua-function-param|object|object to operate on}}456 B (53 words) - 23:27, 8 February 2014
- {{lua-function|getNumCollisions|object}} {{lua-function-param|object|object to operate on}}620 B (84 words) - 23:27, 8 February 2014
- {{lua-function|playSound|object}} {{lua-function-param|object|object to operate on}}1 KB (186 words) - 15:00, 15 February 2014
- {{lua-function|isVisible|object}} {{lua-function-param|object|object to operate on}}257 B (34 words) - 23:15, 8 February 2014
- This example shows how to create a basic object using lua metatables :<br><br> function MyObject.create(ref, pos, speed) -- object creation870 B (126 words) - 14:01, 5 February 2014
- {{lua-function|getCurrentAnimation|object}} {{lua-function-param|object|object to get animation from}}226 B (26 words) - 22:57, 8 February 2014
- {{lua-function|addTorque|object, vector, local}} {{lua-function-param|object|object to operate on}}517 B (67 words) - 23:27, 8 February 2014
- {{lua-function|clearForces|object}} {{lua-function-param|object|object to operate on}}204 B (24 words) - 23:26, 8 February 2014
- {{lua-function|isKeyPressed|key}} {{lua-function-param|key|[[Keys|key]] constant}}212 B (27 words) - 17:57, 8 February 2014
- {{lua-function|getText|object}} {{lua-function-param|object|object to operate on}}192 B (24 words) - 23:04, 8 February 2014
- {{lua-function|pauseSound|object}} {{lua-function-param|object|object to operate on}}175 B (20 words) - 23:01, 8 February 2014
- {{lua-function|stopSound|object}} {{lua-function-param|object|object to operate on}}173 B (20 words) - 23:02, 8 February 2014
- {{lua-function|changeScene|scene}} {{lua-function-param|scene|scene to change to}}552 B (83 words) - 22:54, 8 February 2014
- {{lua-function|getLightColor|object}} {{lua-function-param|object|object to operate on}}208 B (26 words) - 23:28, 8 February 2014
- {{lua-function|getTextColor|object}} {{lua-function-param|object|object to operate on}}260 B (35 words) - 23:04, 8 February 2014
- Lua doesn't have a way to do Object Oriented Programming. But you can fake it. This is how you create a class and object in LUA:5 KB (690 words) - 14:01, 5 February 2014
- ...text file in your project/scripts folder, name it like you want, e.g.: new.lua ...ne script can be added to a scene at a time. To add more, use the 'dofile' function within a script, and include multiple other scripts.979 B (158 words) - 08:24, 10 February 2014
- {{lua-function|changeAnimation|object, animationId}} {{lua-function-param|object|object to operate on}}679 B (75 words) - 22:58, 8 February 2014
- {{lua-function|dofile|file}} Use this command to include additional lua files.689 B (92 words) - 10:06, 6 April 2014
- {{lua-function|vec3|x, y, z}} {{lua-function-param|x|the ''x'' component of the vector}}580 B (79 words) - 17:53, 8 February 2014
- {{lua-function|length|vector}} {{lua-function-param|vector|vector to calculate length of}}255 B (39 words) - 17:54, 8 February 2014
- {{lua-function|normalize|vector}} {{lua-function-param|vector|vector to normalize}}222 B (27 words) - 17:54, 8 February 2014
- {{lua-function|dot|vector1, vector2}} {{lua-function-param|vector1|first vector}}274 B (32 words) - 17:55, 8 February 2014
- {{lua-function|cross|vector1, vector2}} {{lua-function-param|vector1|first vector}}273 B (32 words) - 17:56, 8 February 2014
- {{lua-function|getUnProjectedPoint|object, vector}} {{lua-function-param|object|object to operate on}}820 B (101 words) - 23:13, 8 February 2014