Sorry if this is an error on my part but I can’t find a reference to this, nor is there any source code to check it against:
Step 1:
local sprite = require “sprite”
Sprite object is OK:
table: 0x3ce930
pairs(sprite):
__gc function: 0x1ae19760
Step 2:
local spriteSheet = sprite.newSpriteSheet(“chimpTex8x8.png”, 128, 128)
Result:
…attempt to call field ‘newSpriteSheet’ (a nil value)
No other documented methods (such as sprite.newSprite()) seem to be available on the returned object either.
I’m probably doing something wrong, as I’m not very familiar with Lua. Thanks in advance for anyone who can point me in the right direction.
Version: 0.1.0
Build: 2010.6.17.1
[import]uid: 3953 topic_id: 1445 reply_id: 301445[/import]