Hi,
I tried the search option but it is giving me 0 results which is weird because I know there are topics with imagesheets in it. I actually found some before :s
Ok my question is: Does anyone have a complete imagesheet example for use with sprites.
I tried plowing through the blog post but that is a mess.
I want to use my image sheet preferably in an external file.
This is the part I have:
local sheet =
{
frames = {
{ x=2, y=2, width=29, height=26 }, -- uilFladder1
{ x=33, y=2, width=29, height=26 }, -- uilFladder2
{ x=2, y=30, width=29, height=26 }, -- uilFladder3
{ x=33, y=30, width=29, height=26 }, -- uilFladder4
{ x=2, y=58, width=29, height=26 }, -- uilFladder5
},
sheetContentWidth = 64,
sheetContentHeight = 86
}
local frameindex =
{
"uilFladder1" = 1,
"uilFladder2" = 2,
"uilFladder3" = 3,
"uilFladder4" = 4,
"uilFladder5" = 5,
}
But when I add this to a storyboard scene I get errors. And this is not even the complete code.
This code was generated by texturepacker btw.
Preferably I would like to have my table data in a separate file, but I would be happy to just get it working.
Thanks,
Tayari [import]uid: 100901 topic_id: 25173 reply_id: 325173[/import]