These are chat archives for pixijs/pixi.js

18th
Nov 2017
scarejar
@scarejar
Nov 18 2017 02:57
does Container.addChildAt( sprite, index) overwite at the index if it already exists? because my code for some reason is adding to the end of the array..
scarejar
@scarejar
Nov 18 2017 03:09
-facepalm-
spent half an hour wondering why it no overwrite lmao
Chad Engler
@englercj
Nov 18 2017 03:21
add not replace :)
scarejar
@scarejar
Nov 18 2017 03:22
@englercj todayilearned...
Ivan Popelyshev
@ivanpopelyshev
Nov 18 2017 07:53
you can add and then swap instead