Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
TexturePack.new crash — Gideros Forum

TexturePack.new crash

bugcaptorbugcaptor Member
edited July 2014 in Bugs and issues
local t = TexturePack.new({"test01.png"})

When I run this code, the player always crash.
Windows player, Mac player, even device player too!

What am I wrong? Is this API abandoned?

I tried padding and other arguments filled, it was same.
If I type wrong file name I can see normal error 'No such file or directory'. (that explain I typed right path)
Changed png's resolution to small or big, nothing changed.
Tried |D| path, |R| path all the same.

Plz anyone know this problem?

My Gideros version is 2014.01.

Comments

  • ar2rsawseenar2rsawseen Maintainer
    I would assume this is a bug, due to loading only on single texture, if you would try multiple files:
    local pack = TexturePack.new({"1.png", "2.png", "3.png", "4.png")}
    does it work?
  • bugcaptorbugcaptor Member
    edited July 2014
    nop same crash X_X
Sign In or Register to comment.