Tile/Tilemap visibility odd glitch (Haxe + OpenFL) -
i took sprite sheet of 7 frames (character running animation) , put in tile array. strange reason, can toggle visibility of each frame (on or off) unless placed inside conditional (if/then), in case stays on scree though trace reveals visibility false. ideas why?
char[0].visible = false; //works! s = 10; if (s > 2) { char[0].visible = false; //trace's false, remains on screen }
Comments
Post a Comment