Discord
Login
Community
DARK THEME

documentation typo

Hi,

I noticed in your PIXI documentation you have:

Creating a sprite

my_sprite = PIXI.Sprite.from("mysprite")
stage.add(my_sprite)

This tripped me up for a minute before I realized it needed to be addChild instead:

my_sprite = PIXI.Sprite.from("mysprite")
stage.addChild(my_sprite)

Btw, this is an awesome thing you're building here. Keep up the great work!

-Bob

Thanks Bob! I just fixed it.

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community