Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing an updated screenful in one go
Not to worry. I was totally rambling there!

Yes, I'm storing the floor of the map in an array and compressing the horizontal tiles by using bits. I'm pretty happy with it as it'll generate lovely random maps that increase in size as the levels go by.

As for displaying the screen in one go, I decided to set up another array that takes the floor and works out what wall tiles are needed around it. The array is then drawn by another routine, all in one go with a bit of top-down perspective on it. Its speed is rather acceptable at this stage of development, although I could probably do with shrinking my code a bit.

So all going well so far. Thank you again for making zxbasic!

Messages In This Thread
RE: Printing an updated screenful in one go - by worcestersource - 02-01-2021, 06:23 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)