sprite sheet animation problom

i am animating a sprite for my game but as i hit play this came about 

i tried to fix it but yea not much luck help plz  :frowning:

ERROR: Syntax error

                    main.lua:34: ‘}’ expected (to close ‘{’ at line 32) near ‘height’

local options = { width = 192 height = 199.68 numFrames = 4 } local blob = graphics.newImageSheet ("blob\_SS.png", options) local blobsquence = { name = "normal" start = 1, count = 4, time = 300, loopCount = 0, loopDirection = "forward" } local blob1 = dispaly.newSprite (blob, blobsquence) blob1 :play{}

it is looking for a   ‘,’ comma at end of line 33 and line 34

thanks i will try it !

it  worked but now i am geting an error from line 41 

ERROR: Syntax error

                    main.lua:43: ‘}’ expected (to close ‘{’ at line 41) near ‘start’

Same problem. Different place.

When you create tables like that, you need to include “,” at the end of every item in the table expect for the very last item, i.e. add comma to the end of line 42.

 

it is looking for a   ‘,’ comma at end of line 33 and line 34

thanks i will try it !

it  worked but now i am geting an error from line 41 

ERROR: Syntax error

                    main.lua:43: ‘}’ expected (to close ‘{’ at line 41) near ‘start’

Same problem. Different place.

When you create tables like that, you need to include “,” at the end of every item in the table expect for the very last item, i.e. add comma to the end of line 42.