lua
corona director issues, can't make object join director's localGroup
I have a problem inserting my gameScreen into the director\'s localGroup, causing director to complain at my everytime my game starts.[详细]
2023-04-04 15:32 分类:问答Unable to dynamically load a library in Lua with package.loadlib
I\'m trying to create a library that I can load into Lua with require or package.loadlib, but I have so far been unsuccessful. The library itself is in C++, but as far as I can tell I\'ve taken the st[详细]
2023-04-04 10:23 分类:问答Register non-static C++ methods in Lua
I\'m trying to make a small C++/Lua system where I would create my objects and attach behaviors to them in Lua. Right now I\'m using LuaWrapper (a small header with basic C++ to Lua stuff), my problem[详细]
2023-04-04 08:26 分类:问答Getting a simple Haskell HsLua example to work
The HsLua examples on the Haskell Wiki are broken (dostring and dofile are not defined). Looks like the API has changed since the examples were written.[详细]
2023-04-04 08:21 分类:问答Lua and fake Typecast
I\'m working with Lua and C++ (using LuaWrapper) and I\'m having trouble with something. Let\'s say I have these classes:[详细]
2023-04-04 05:28 分类:问答Error while trying to call a class method: attempt to index local 'self' (a nil value) - Lua
I\'m creating a lua script that should run on the TI-Nspire calculator. The problem is that while running my script I get the error Attempt to index local \'self\' (a nil value) when the button:activa[详细]
2023-04-04 02:41 分类:问答variable scope when dealing with event handlers
function World:draw() --draw the tiles based on 2d int开发者_C百科 array --draw the player --draw the monsters[详细]
2023-04-04 01:29 分类:问答Syntax highlighting for Lua in LuaEclipse plugin
How do I turn syntax highlighting on i开发者_如何转开发n Eclipse editor?Using LuaEclipse 1.2 in Eclipse Helios on Ubuntu 11.04 (64-bit), Lua syntax highlighting seems to enable automatically as long a[详细]
2023-04-03 22:07 分类:问答Lua MiddleClass. How to pass "self" from another file
Say, If i have two or more files using the middleclass extension more or less like this. I omitted some of the obvious middleclass implementation code.[详细]
2023-04-03 15:17 分类:问答Case insensitive array in Lua
I\'m trying to program an addon for WoW (in lua).It\'s a chat filter based on specific words.I can\'t figure out how to get the array of these words to be case insensitive, so that any upper/lower cas[详细]
2023-04-03 08:38 分类:问答