Making screen layouts in code

The place for codemasters or beginners to talk about programming any language for the Spectrum.
User avatar
clebin
Manic Miner
Posts: 979
Joined: Thu Jun 25, 2020 1:06 pm
Location: Vale of Glamorgan
Contact:

Re: Making screen layouts in code

Post by clebin »

dfzx wrote: Sat Apr 23, 2022 2:29 pm
clebin wrote: Sat Apr 23, 2022 2:18 pm I'm saving 40-60% depending on the screen with no noticeable extra delay in switching screens, so that'll give me enough space to be getting along with for now.
Has this restored stability?
Yes it's running stable now thanks. I'm not relocating the DATA section anywhere at the moment as I haven't figured out z88dk-appmake yet, but speed is fine so far with the code in contended memory.
User avatar
clebin
Manic Miner
Posts: 979
Joined: Thu Jun 25, 2020 1:06 pm
Location: Vale of Glamorgan
Contact:

Re: Making screen layouts in code

Post by clebin »

Another little screenshot:

Image

It might be obvious now which game I'm remaking... although it's not exactly a well-loved title!

I was on the verge of releasing it, but decided to bit the bullet and revise those screen layouts again. By saving each building, tree, phone-box, etc as an individual tilemap and combining them to build the screen I should be able to save 2-3k total. That's huge in the context of this game as I'd had to strip everything right back to fit into RAM, including the wasp pictured in this shot.
Post Reply