FrenkelS / keensource456tandy

Commander Keen 4 Tandy 320x200 16 color source code port
GNU General Public License v2.0
19 stars 1 forks source link

Sprites reappear at the other side of the screen #2

Closed FrenkelS closed 2 years ago

FrenkelS commented 3 years ago

The Dopefish reappears at the other side of the screen.

When sprites are vertically clipped, the virtual window can be made smaller. This will leave room for one more row of tiles on-screen. When this is fixed, maybe the demo will be in sync again.

https://github.com/FrenkelS/keensource456tandy/blob/6fdcb4d8337b1196ea28138d1950a81d04d73101/KEEN4-6/ID_RF.C#L1602

FrenkelS commented 2 years ago

Vertical clipping is implemented and one more row of tiles is drawn at the bottom of the screen, but the demo is even more out of sync.