MMBasic: Knightmare Game


Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 565
Posted: 02:49am 21 Dec 2023      

  Turbo46 said  Well I downloaded the file from GITHUB and tried it on the CMM2 and ended up with the same error:
Error in line 186: Buffer not in use

With MMB4W I got caught by a river and got taken off the bottom of the screen and got the error:
Error in line 63: 200 is invalid (valid is -15 to 199)
I repeated that on the CMM2 and got the same error except the invalid number was 201.

The same errors as before and the CMM2 sprites are the same as before. I believe that the files on GITHUB were unchanged from the first time I tried it.

I have not updated the CMM2 firmware yet.

Bill


Thank you Bill

The river issue is caused by the missing implementation of the player's death. The player is pushed out of bounds until the sprite is out of range, which causes the issue.
I need to investigate the buffer not in use and also the problem with the sprites and black background. The PNGs are transparent, which is visible on the MMB4W, and I'm using page 0 for the background and page 1 for the sprites, which should work fine.

I need to remove the dust from my CMM2, update it's the firmware and spend some hours debugging the issue :)