Please read my post on building the sprite-based Flappy Bird game in PlayCanvas:
In particular, read the section entitled ‘Creating the Sprites’.