update score draw

pull/1/head
Evan Hemsley 2019-06-06 17:53:36 -07:00
parent 66265021d7
commit b6cec1ea4b
2 changed files with 11 additions and 1 deletions

View File

@ -51,7 +51,16 @@ export class ScoreRenderer extends GeneralRenderer {
if (score_component) { if (score_component) {
score_text.set(score_component.score.toString()); score_text.set(score_component.score.toString());
love.graphics.draw(score_text, x, y); love.graphics.draw(
score_text,
x,
y,
0,
1,
1,
score_text.getWidth() * 0.5,
score_text.getHeight() * 0.5,
);
} }
} }
} }

1
public Submodule

@ -0,0 +1 @@
Subproject commit 4079ce298e3653eb7799940ffc88c6f5d37d9b38