Hi
Today finally I started working with new image sheet / sprite API, and run into a strange error when trying to create sprites with multiple animations:
WARNING: Sequence (running) has an invalid index (0) that falls outside the range of valid image sheet frame indices: 1 <= index <= 10.
In order to eliminate possibility on any bug on my side, I am passing sequence data directly from Jon Bebe’s article:
local sequenceData = {
{ name="walking", start=1, count=3 },
{ name="running", frames={ 3, 4, 5, 6, 7, 8 }, time=50, loopCount=4 }
}
There is a problem when passing “frames” as argument instead of start/count, because values in frames table get changed to zero. If I try to pass “running” sequence as continuous (using start+count), itworks.
I found only this information on internet regarding this bug:
http://www.raywenderlich.com/forums/viewtopic.php?t=2696&p=18558#p18524
I work in 777, also tried 768, didn’t work there neither.
Apparently this is a known bug, anything done about this ?
Thanks
N
[import]uid: 80100 topic_id: 24514 reply_id: 324514[/import]