Link to home
Create AccountLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

Where is this JS phaser example's image?

Hi

On this phaser pong ball example,

The blue ball asset must be the determiner of the object size in phaser? not code. it is specified only to be circular.  here


Where do they keep the  "pangball.png" ball file?

Thanks

Avatar of Norie
Norie

It's stored in the 'assets/sprites' folder.
preload ()
    {
        this.load.image('ball', 'assets/sprites/pangball.png');
    }

Open in new window

Avatar of James Hancock

ASKER

Thanks.


How do I find that?


ASKER CERTIFIED SOLUTION
Avatar of Norie
Norie

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer

Thanks,


That worked, but it is also at :


https://labs.phaser.io/assets/sprites/pangball.png