@Brent
I manage to build it for Android.I installed the app on my phone,but I get an error,and I can’t figure it out at what line it is (maybe at line 80?).I don’t fully uderstand the error.Does the variable blowFish got a nil value somewhere or what?(What I think the error is about),but I checked it,and it never got a nil value.
If the error is at line 80,then here’s the code.
local sheetData = {width = 200,height = 200,numFrames = 10,sheetContentWidth = 400,sheetContentHeight = 1000} local mySheet = graphics.newImageSheet ("blowFish.png",sheetData) local sequenceData = { {name = "swim5",start = 1,count = 10,time = 1100,loopCount = 0}} local blowFish = display.newSprite (mySheet,sequenceData) -- This is line 80 blowFish:play() physics.addBody (blowFish,"static",{radius = 30}) blowFish.isVisible = false sceneGroup:insert (blowFish)
Thanks for the support!
Bogdan
