add cover

This commit is contained in:
Fabien Freling 2021-08-13 18:34:53 +02:00
parent 97513db0b6
commit f98063c5d3

View file

@ -444,17 +444,6 @@ class Game is TIC{
_t=_t+1 _t=_t+1
} }
OVR() {
if (state == Game.title) {
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)
}
}
update() { update() {
if (state == Game.title) { if (state == Game.title) {
if (TIC.btnp(4)) { if (TIC.btnp(4)) {
@ -505,6 +494,12 @@ class Game is TIC{
TIC.cls(0) TIC.cls(0)
if (state == Game.title) { if (state == Game.title) {
_world.draw(state) _world.draw(state)
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)
} else if (state == Game.game) { } else if (state == Game.game) {
_world.draw(state) _world.draw(state)
} else if (state == Game.pause) { } else if (state == Game.pause) {
@ -598,6 +593,75 @@ class Game is TIC{
// 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000 // 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000
// </SFX> // </SFX>
// <SCREEN>
// 003:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddd0000000000000000000000000000000000000000
// 004:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddd00000000000000000000000000000000000000
// 005:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddd0000000000000000000000000000000000000
// 006:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddd000000000000000000000000000000000000
// 007:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddd00000000000000000000000000000000000
// 008:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddd0000000000000000000000000000000000
// 009:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddd0000000000000000000000000000000000
// 010:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd0000000000000000c0000000000000000
// 011:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd000000000000000ccc000000000000000
// 012:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd0000000000000000c0000000000000000
// 013:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd000000000000000000000000000000000
// 014:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd000000000000000000000000000000000
// 015:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd000000000000000000000000000000000
// 016:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddddd000000000000000000000000000000000
// 017:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddd0000000000000000000000000000000000
// 018:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddddd0000000000000000000000000000000000
// 019:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddddd00000000000000000000000000000000000
// 020:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddddd000000000000000000000000000000000000
// 021:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddddd0000000000000000000000000000000000000
// 022:0000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddddddd00000000000000000000000000000000000000
// 023:000000000000000000000000000000000000000000ccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ddddddd0000000000000000000000000000000000000000
// 024:0000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 033:000000000000000000000000000000000000000000000000000000000000002222222220000002222220000000000002222220000000000000002222222222220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 034:00000000000000000000000000000000000000000000000000000000000000222222222c00000222222c00000000000222222c00000000000000222222222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 035:00000000000000000000000000000000000000000000000000000000000000222222222c00000222222c00000000000222222c00000000000000222222222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 036:00000000000000000000000000000000000000000000000000000000000222222cccccc2220002222222222220000000cccccc000000000000000cc222222cccc0000022222222200000022222222222200c0000000000000000000000000000000000000000000000000000000000000000000000000000
// 037:00000000000000000000000000000000000000000000000000000000000222222c00000222c00222222222222c00000000000000000000000000000222222c00000000222222222c00000222222222222cccc000000000000000000000000000000000000000000000000000000000000000000000000000
// 038:00000000000000000000000000000000000000000000000000000000000222222c00000222c00222222222222c00000000000000000000000000000222222c00000000222222222c00000222222222222c0c0000000000000000000000000000000000000000000000000000000000000000000000000000
// 039:00000000000000000000000000000000000000000000000000000000000222222c000000ccc00222222cccccc222000222222000222222222000000222222c00000222222cccccc222000222222cccccc2220000000000000000000000000000000000000000000000000000000000000000000000000000
// 040:00000000000000000000000000000000000000000000000000000000000222222c00000000000222222c00000222c00222222c00222222222c00000222222c00000222222c00000222c00222222c00000222c000000000000000000000000000000000000000000000000000000000000000000000000000
// 041:00000000000000000000000000000000000000000000000000000000000222222c00000000000222222c00000222c00222222c00222222222c00000222222c00000222222c00000222c00222222c00000222c000000000000000000000000000000000000000000000000000000000000000000000000000
// 042:00000000000000000000000000000000000000000000000000000000000222222c00000222000222222c00000222c00222222c000ccccccccc00000222222c00000222222c00000222c00222222c000000ccc000000000000000000000000000000000000000000000000000000000000000000000000000
// 043:00000000000000000000000000000000000000000000000000000000000222222c00000222c00222222c00000222c00222222c00000000000000000222222c00000222222c00000222c00222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 044:00000000000000000000000000000000000000000000000000000000000222222c00000222c00222222c00000222c00222222c00000000000000000222222c00000222222c00000222c00222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 045:000000000000000000000000000000000000000000000000000000000000cc2222222220ccc00222222c00000222c00222222c00000000000000000222222c000000cc2222222220ccc00222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 046:00000000000000000000000000000000000000000000000000000000000000222222222c00000222222c00000222c00222222c00000000000000000222222c00000000222222222c00000222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 047:00000000000000000000000000000000000000000000000000000000000000222222222c00000222222c00000222c00222222c00000000000000000222222c00000000222222222c00000222222c000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 048:000000000000000000000000000000000000000000000000000000000000000ccccccccc000000cccccc000000ccc000cccccc000000000000000000cccccc000000000ccccccccc000000cccccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 062:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 063:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eccccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 064:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eeeeeeee9900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 065:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004dddddddddaa99000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 066:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004cccccddddaaaa900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 067:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043ddddccccaaaaa90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 068:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043ddddddddcccccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 069:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004dddddddddddddd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 070:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004eeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 071:00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccccccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 072:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 073:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 074:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 076:0000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 077:000000000000000000000000000000000000000000000000000000000000000000000000ccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 078:0000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 107:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000
// 108:00000000000000000000000000000000000000000000000022222000cc00000000000cc00000000000000000cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ccc000000000000000000000000000000000000000000000
// 109:00000000000000000000000000000000000000000000000000220000cc000000cccc0cccc000ccc000ccc00ccccc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000
// 110:000000000000000000000000000000000000000000000000022000000000000ccc000cc00c0cc00c0cc00c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 111:00000000000000000000000000000000000000000000000022000000cc0000000ccc0cc00c0cc00c0cc00c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 112:00000000000000000000000000000000000000000000000022222000cc00000cccc00cc00c00ccc000ccc0000ccc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 118:0000000000000c000000000000000000000000000000000022002000cc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 119:000000000000ccc00000000000000000000000000000000022002000cc00000cccc000cccc0cc00c00cccc00ccc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 120:0000000000000c0000000000000000000000000000000000022200000000000cc00c0c00cc0cc00c0ccc000cc0cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 121:00000000000000000000000000000000000000000000000022002000cc00000cc00c0c00cc0cc00c000ccc0ccc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 122:00000000000000000000000000000000000000000000000022002000cc00000cccc000cccc00ccc00cccc000ccc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// 123:000000000000000000000000000000000000000000000000000000000000000cc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
// </SCREEN>
// <PALETTE> // <PALETTE>
// 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57 // 000:1a1c2c5d275db13e53ef7d57ffcd75a7f07038b76425717929366f3b5dc941a6f673eff7f4f4f494b0c2566c86333c57
// </PALETTE> // </PALETTE>