Here is my code:
[lua] --List of Sprite Sets
require “sprite”
local LB_Sheet1 = sprite.newSpriteSheet( “Sprites/LightBlue_Row1.png”, 480, 854 )
local LB_Set1 = sprite.newSpriteSet(LB_Sheet1, 1, 250)
sprite.add( LB_Set1, “LB_Slinky_R1”, 1, 200, math.random(10, 90), 0)
local LB_R1 = sprite.newSprite( LB_Set1 )
LB_R1:prepare(“LB_Slinky_R1”)
LB_R1:play()
local LB_Sheet2 = sprite.newSpriteSheet( “Sprites/LightBlue_Row2.png”, 480, 854 )
local LB_Set2 = sprite.newSpriteSet(LB_Sheet2, 1, 250)
sprite.add( LB_Row2, “LB_Slinky_R2”, 1, 200, math.random(10, 90), 0)
LB_Row2:prepare(“LB_Slinky_R2”)
LB_Row2:play()
local LB_Sheet3 = sprite.newSpriteSheet( “Sprites/LightBlue_Row3.png”, 480, 854 )
local LB_Set3 = sprite.newSpriteSet(LB_Sheet3, 1, 250)
sprite.add( LB_Row3, “LB_Slinky_R3”, 1, 200, math.random(10, 90), 0)
LB_Row3:prepare(“LB_Slinky_R3”)
LB_Row3:play()
local LB_Sheet4 = sprite.newSpriteSheet( “Sprites/LightBlue_Row4.png”, 480, 854 )
local LB_Set4 = sprite.newSpriteSet(LB_Sheet4, 1, 250)
sprite.add( LB_Row4, “LB_Slinky_R4”, 1, 200, math.random(10, 90), 0)
LB_Row4:prepare(“LB_Slinky_R4”)
LB_Row4:play()
–End Sprite Sets[/lua]
The error I keep getting is:
“frameWidth” must be less than height width
Just a back story on what I’m doing. I’m a computer animator and I rendered my sprite animations to the exact dimensions as the droid. Could that be causing the error? How do I stop this error message, and what does this error message mean/trying to tell me?
I was also wondering if there was a list of error messages on this website. You could search your error and find it’s meaning and how to stop it.
Thanks for anyone who can help. [import]uid: 77916 topic_id: 13248 reply_id: 313248[/import]
[import]uid: 52491 topic_id: 13248 reply_id: 111325[/import]