Hi everybody…
I’m using this sprite : http://iliketenerife.com/mosca_spr.png
And i have a system.getInfo(“maxTextureSize”)of 2048 on my Samsung Galaxy S1
I use the sprite of the alien (that is in the corona example) and that’s all ok… but if i use this sprite nothing appears!
local pandaSheet = sprite.newSpriteSheet( "/media/mosca\_spr.png", 128, 128 )
local spriteset = sprite.newSpriteSet(pandaSheet, 1, 2)
sprite.add( spriteset, "set", 1, 2, 100, 0 )
local mosca = sprite.newSprite( spriteset )
mosca.x = -200; mosca.y = -100;
--mosca.xScale = 0.5; --mosca.yScale = 0.5;
mosca.myname = "mosca";
mosca:prepare("set")
mosca:play()
and this is the code! If i use the sprite of the aliens (changing the number of frame of course) everything works ok!
P.s. In the emulator all it’s OK!!!
but in the mobil i only see the sprite with the alien…
i don’t know if i’m saving the .png in a bad way… Someone can i help me? [import]uid: 153233 topic_id: 27196 reply_id: 327196[/import]
(I’m SORRY!!!)