Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 5780

8-bit acorn software: classic games • Re: The Advent of Beeb Games

$
0
0
For Day 20, we heard about how bad the controls are in Maze Eater. My thought is that it feels a bit random because even if you release a key at a known timed point in the game loop, the key repeat may or may not have already put the key in the buffer, so it's hard to accurately hold down a movement key to move as far as you want.

I changed the input routine to ignore the keyboard buffer, so there's no interaction between key repeat timing and the timing of the game loop.
Renumber 2805 to 2808:
2808IFQ$="I"THENX9=-1:A$=B$(Y1):S=X1+X9:F=X1+X9:GOSUB1900:IFM$="#"THEN2890

and add these:
2803IF INKEY(-38)THENQ$="I"
2804IF INKEY(-56)THENQ$="P"
2805IF INKEY(-17)THENQ$="Q"
2806IF INKEY(-98)THENQ$="Z"

I had to type these into the emulator but unless I made a typo, I tested this and it works.

I wouldn't be surprised if something similar helps with other games on the disc. I remember weird responsiveness issues with at least some of the others.

Statistics: Posted by caspian — Mon Dec 22, 2025 11:34 am



Viewing all articles
Browse latest Browse all 5780

Trending Articles