Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Not sure why this doesn't work - texture atlas — Gideros Forum

Not sure why this doesn't work - texture atlas

Tom2012Tom2012 Guru
edited September 2012 in General questions
Hello

I've created both high resolution images and low resolution images in texture atlases and am using this code

local pack = TexturePack.new("Atlases/Atlas 1.txt", "Atlases/Atlas 1.png")
local background = Bitmap.new(pack:getTextureRegion("menu background.png"))
stage:addChild(background)

When I test on device (non retina ipod) the device shows the 2x image, not the low res one.

I've attached the game.

Thanks!

Tom

Sign In or Register to comment.