fix title layout

This commit is contained in:
Fabien Freling 2021-08-15 17:50:47 +02:00
parent d028675424
commit 1d09258005
2 changed files with 7 additions and 7 deletions

View file

@ -5,7 +5,7 @@ Limitation: the player must cheat
## TODO
- [X] game over & restart
- [ ] sound effects
- [X] sound effects
- [ ] background music
- [X] score overlay
- [ ] stage 1

View file

@ -636,12 +636,12 @@ class Game is TIC{
TIC.cls(Color.black)
if (Game.state == Game.title) {
_world.draw()
TIC.print("Chi-Tor", W/4, H/4, Color.white, false, 3)
TIC.print("Chi-Tor", W/4-1, H/4-1, Color.red, false, 3)
TIC.print("Z", W/5, 4*H/5, Color.red)
TIC.print(": shoot", W/5+8, 4*H/5, Color.white)
TIC.print("X", W/5, 4*H/5+10, Color.red)
TIC.print(": pause", W/5+8, 4*H/5+10, Color.white)
TIC.print("Chi-Tor", 69, H/4, Color.white, false, 3)
TIC.print("Chi-Tor", 70, H/4-1, Color.red, false, 3)
TIC.print("Z", 60, 110, Color.red)
TIC.print(": shoot", 68, 110, Color.white)
TIC.print("X", 130, 110, Color.red)
TIC.print(": pause", 138, 110, Color.white)
} else if (Game.state == Game.game) {
_world.draw()