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
: anAnimationSprite
x
y
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 AnimationSprite
x
y