fix title layout
This commit is contained in:
parent
d028675424
commit
1d09258005
|
@ -5,7 +5,7 @@ Limitation: the player must cheat
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
- [X] game over & restart
|
- [X] game over & restart
|
||||||
- [ ] sound effects
|
- [X] sound effects
|
||||||
- [ ] background music
|
- [ ] background music
|
||||||
- [X] score overlay
|
- [X] score overlay
|
||||||
- [ ] stage 1
|
- [ ] stage 1
|
||||||
|
|
12
chi-tor.wren
12
chi-tor.wren
|
@ -636,12 +636,12 @@ class Game is TIC{
|
||||||
TIC.cls(Color.black)
|
TIC.cls(Color.black)
|
||||||
if (Game.state == Game.title) {
|
if (Game.state == Game.title) {
|
||||||
_world.draw()
|
_world.draw()
|
||||||
TIC.print("Chi-Tor", W/4, H/4, Color.white, false, 3)
|
TIC.print("Chi-Tor", 69, H/4, Color.white, false, 3)
|
||||||
TIC.print("Chi-Tor", W/4-1, H/4-1, Color.red, false, 3)
|
TIC.print("Chi-Tor", 70, H/4-1, Color.red, false, 3)
|
||||||
TIC.print("Z", W/5, 4*H/5, Color.red)
|
TIC.print("Z", 60, 110, Color.red)
|
||||||
TIC.print(": shoot", W/5+8, 4*H/5, Color.white)
|
TIC.print(": shoot", 68, 110, Color.white)
|
||||||
TIC.print("X", W/5, 4*H/5+10, Color.red)
|
TIC.print("X", 130, 110, Color.red)
|
||||||
TIC.print(": pause", W/5+8, 4*H/5+10, Color.white)
|
TIC.print(": pause", 138, 110, Color.white)
|
||||||
|
|
||||||
} else if (Game.state == Game.game) {
|
} else if (Game.state == Game.game) {
|
||||||
_world.draw()
|
_world.draw()
|
||||||
|
|
Loading…
Reference in a new issue