diff --git a/README.md b/README.md index 05586f0..28898ee 100644 --- a/README.md +++ b/README.md @@ -47,20 +47,40 @@ With the advent of fujinet (https://fujinet.online/) we are thinking about makin ## Changes: +###### Build 146 +2022-07-03 +Super heavy rewrite build. +Not much changed visually since the last build, but really large parts of the code were rewritten, optimized and improved. A fresh swath of buggies certainly introduced, too. +- completely new tank falling routine by @Pecusx - over 300 bytes saved, complexity reduced, more just energy deduction when falling. +- silly angle system rewritten to a proper, primary school angling. BTW - I had to dig into 8th grade trig to make it work. About 200 bytes saved, complexity reduced. Next build will have improved angle speed UI. I will also allow for an easier improvement of tank visuals. +- Weapon price and quantity balance - this is our honest attempt to make game more fun. We'll accept any critique and improvement proposals. +- New AI opponent - Tosser! Not much better than Poolshark, but still beats sharks most of the time. +- AI opponents can purchase defensive weapons what makes playing against AI somewhat more challenging. +- Improved Laser. It is still not ideal, but better. Still hard to aim :] +- Few small parachute related bugs fixed +- Death's Head bug fix + +Issues closed: +- https://github.com/pkali/scorch_src/issues/87 Angles are reasonable now. PROFIT!!! + + ###### Build 145 2022-06-26 Possibly last round of weapon additions! + @Pecusx added - working White Flag -- it is a way to give up while not making opponents richer! - Battery - a must for every tank with low energy. - Strong Parachute - like a normal parachute, but stronger (it has energy and can work more than once) - Nuclear Winter - a quick and efficient solution to global worming, err, warning, WARMING! + @mikerro added new SFX and in-game-tunes. - Pressing [S] turns on/off SFX (when aiming). Pressing [M] turns on/off in-game tunes. + Tickets closed: -- https://github.com/pkali/scorch_src/issues/54 - holding joystick up or down longer speeds up force change. It makes playing with joystick much nicer. -- https://github.com/pkali/scorch_src/issues/76 - a beginning of visual tweaks by Adam -- infinite defensive weapons purchase bug fixed, to chagrin of some... +- https://github.com/pkali/scorch_src/issues/54 - holding a joystick up or down speeds up force change. It makes playing with a joystick much nicer. +- https://github.com/pkali/scorch_src/issues/76 - a beginning of visual tweaks by @6502adam +- infinite defensive weapons purchase bug fixed, to the chagrin of some... ###### Build 144 2022-06-19 diff --git a/ai.asm b/ai.asm index a8e3f72..695f520 100644 --- a/ai.asm +++ b/ai.asm @@ -409,7 +409,7 @@ SorryNoPurchase mva #4 tempXroller; number of offensive purchases to perform ;ldx TankNr @ - randomize ind_Battery________ ind_Heavy_Roller___ + randomize ind_Missile________ ind_Heavy_Roller___ jsr TryToPurchaseOnePiece dec tempXroller bne @- diff --git a/lib/macro.hea b/lib/macro.hea index 6181aa6..4e29ec5 100644 --- a/lib/macro.hea +++ b/lib/macro.hea @@ -104,6 +104,9 @@ .macro randomize ;usage: randomize floor ceiling ;returns (in A) a random .byte between "floor" and "ceiling" + .if :2 < :1 + .error "floor higher than ceiling" + .endif ?rand lda random cmp #:1 ;floor diff --git a/scorch.asm b/scorch.asm index 3715f18..4283fed 100644 --- a/scorch.asm +++ b/scorch.asm @@ -36,7 +36,7 @@ ;we decided it must go in 'English' to let other people work on it .macro build - dta d"145" ; number of this build (3 bytes) + dta d"146" ; number of this build (3 bytes) .endm icl 'definitions.asm' @@ -1362,7 +1362,7 @@ MODUL equ $b000 ;address of RMT module TheEnd .ECHO 'TheEnd: ',TheEnd .if TheEnd > PMGraph + $300 - .error memory conflict + .error "memory conflict" .endif ;---------------------------------------------- diff --git a/scorch.xex b/scorch.xex index 78536c9..3f09126 100644 Binary files a/scorch.xex and b/scorch.xex differ