Hey all. I was trying to help out another member in his thread and needed to make a TexturePack. I read the TexturePack documentation (
http://docs.giderosmobile.com/reference/gideros/TexturePack) and used the first example (which has a typo ("(}" instead of "})").
I made a new project and added 4 images to it. I then used the following line of code..
local pack = TexturePack.new({"p1.png", "p2.png", "p3.png", "p4.png"}) |
Now when I run this super 1 line program in the desktop player, the player crashes immediately :-&
Is this easily reproduced by anyone else?
Comments
I also can confirm the typo - but can't file a PR or even an issue on github because I can't find the corresponding file. Any help?
@rolfpancake currently the docs are dynamically generated, but it might be a good idea to pregenerate them once and put on github?
Likes: antix
Yeah I really would like to have a reference point when submitting issues. Would make fixing alot easier, I think.
local pack = TexturePack.new({["1"]="p1.png", ["2"]="p2.png", ["3"]="p3.png", ["4"]="p4.png"}) but later i can not get the texture regions by its names.