diff --git a/README.md b/README.md index ea2799e..b931009 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ Limitation: the player must cheat - [ ] background music - [X] score overlay - [ ] stage 1 -- [ ] stage ending -- [ ] win state +- [X] stage ending +- [X] win state - [ ] update itch page - [ ] other cheats? - [ ] explicit goal? diff --git a/chi-tor.wren b/chi-tor.wren index 204e540..ab92b57 100644 --- a/chi-tor.wren +++ b/chi-tor.wren @@ -239,6 +239,7 @@ class Player { } shoot() { + TIC.sfx(1) _bullets.add(Bullet.new(_x + _w / 2, _y)) } @@ -254,6 +255,8 @@ class Explosion { _y = y _countdown = 10 _t = 0 + + TIC.sfx(0) } expired { _t > _countdown } @@ -748,10 +751,12 @@ class Game is TIC{ // 000:00000000ffffffff00000000ffffffff // 001:0123456789abcdeffedcba9876543210 // 002:0123456789abcdef0123456789abcdef +// 003:ffffffff00000000ffffffff00000000 // // -// 000:000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304000000000 +// 000:05000500150015002500250035003500450045005500550065006500750075008500850095009500a500a500b500b500c500c500d500d500e500f500304000000000 +// 001:0330037003a003cf03ff03ff03fe03fe03fd03fd03fc03fc03fb03faf3f9f3f9f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8f3f8cbb000000000 // //