Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Apr 18, 2024
1 parent 19a93aa commit 332c468
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sandbox/tests/sprite/sprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ var sprite = new ex.Sprite({
height: 1000
}
});
var actor = new ex.Actor({
x: 0, y: 0,
var actor = new ex.Actor({
x: 0,
y: 0,
anchor: ex.vec(0, 0),
coordPlane: ex.CoordPlane.Screen,
z: -10
Expand All @@ -38,8 +39,8 @@ actor.onInitialize = () => {
actor.graphics.add(sprite);
};
actor.onPostUpdate = (engine, delta) => {
sprite.sourceView.x += .05 * delta;
}
sprite.sourceView.x += 0.05 * delta;
};
game.add(actor);
game.start(loader);

Expand Down

0 comments on commit 332c468

Please sign in to comment.