Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
add/remove or setvisible true/false? — Gideros Forum

add/remove or setvisible true/false?

keszeghkeszegh Member
edited May 2013 in General questions
so i remember that there might have been something about this on the forum, but cannot find it now. so a clean question cannot hurt.

i have a card with two faces, both a mesh. when it is turned, currently i remove from stage the visible side and add to stage the hidden side (when the card is halfway in turning). when turning back, i repeat this the opposite way. etc, this happens all the time during the game with many such cards.
would it be more efficient to not add/remove repeatedly, but instead setvisible true/false the cardside-meshes repeatedly?

thanks

Comments

Sign In or Register to comment.