Changed rotation on text

This commit is contained in:
Brian Fertig 2026-05-24 15:48:30 -06:00
parent b2ef3cecf7
commit 349d2736c9
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ export default class BlackjackGame extends Phaser.Scene {
const a = start + i * anglePer; // offset from straight-down
this.add.text(centerX + radius * Math.sin(a), cy + radius * Math.cos(a), ch, style)
.setOrigin(0.5)
.setRotation(a)
.setRotation(-a)
.setDepth(depth);
}
}