I’ve created a sprite sheet with 125 images using Zwoptex. I’ve also created a coordinate file from within Zwoptex. When I test the project in Corona Game edition, the sprite flickers and jumps to incorrect frames. I think the issue is that the Coordinate file is not being read correctly, but I’m not getting any errors
here is the code I’m using for my main.lua
require (“sprite”);
local zwoptexData = require “pigCord”
local data = zwoptexData.getSpriteSheetData()
local sheet=sprite.newSpriteSheetFromData(“PigSheet.png”,data)
local set=sprite.newSpriteSet(sheet,1,125)
local instance=sprite.newSprite(set)
instance.x=200;
instance.y=200;
instance.yScale=1;
instance.xScale=1;
instance:play();
I can provide the sprite sheet and coordinate file if needed. Is there a most recent example of using Zwoptex and Corona?
Thanks
[import]uid: 6893 topic_id: 3725 reply_id: 303725[/import]