Game.sprite - Pixelize
game.draw = () => {
game.sprite(playerSprite, 10, 10);
};Game.sprite draws an AnimationSprite to the screen. It is intended to be run inside Game.draw.
Parameters:
sprite: anAnimationSpritexy
game.draw = () => {
game.sprite(playerSprite, 10, 10);
};Game.sprite draws an AnimationSprite to the screen. It is intended to be run inside Game.draw.
Parameters:
sprite: an AnimationSpritexy