Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Documentation bug or library error? — Gideros Forum

Documentation bug or library error?

techdojotechdojo Guru
edited August 2012 in General questions
I noticed another issue (not sure if this introduced with 2012.8.1 or if it was already present).

The documentation for Sprite:addChildAt(child,index) says that indices start at 1, so in theory :addChildAt(child,1) should add a sprite as the first child of the parent, in fact it adds it AFTER the first child making it the second child in the chain.

However :addChild(child,0) works and add's the child correctly at the start of the chain.

WhiteTree Games - Home, home on the web, where the bits and bytes they do play!
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill

Comments

Sign In or Register to comment.