Revamped menu level-preview

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

Here I've doubled the zoom of the level preview. I felt the smaller version just didn't give a good visual of what was there, even though we saw more of the cave. As you see, you can scroll around so you have as long as you want to preview all around the level(s).  Also I run the animation loop so we see various auto-animations working (star, dogecoin).


I would keep the smaller version too, but don't really have an intuitive way to switch between them, as the button goes back to the status grid, and a second long-press seems kinda extremely non-intuitive having just done a long-press to get to the preview in the first place.

Bomberman94

Why not simply use the difficulty switch - I guess you will make this ,,couch compliant" but you can play nevertheless. The instructions will tell us...

Andrew Davie

Quote from: Bomberman94 on 12 Sep 2026, 08:03 AMWhy not simply use the difficulty switch - I guess you will make this ,,couch compliant" but you can play nevertheless. The instructions will tell us...


Good idea. It could be like the CC/iCC/pCC mode - set and forget.
Can be changed if you really want, but defaults to "my choice" and saved in SaveKey. TY.

Andrew Davie

The menu level preview zoom is now on the right difficulty switch, and persistent through the SaveKey. Can be changed at any time.

I've added a mini game-loop which runs during the menu preview, so that those various objects on the board can "do their thing" properly. Specifically, the insulators and beams are now (mostly) correct and actually look pretty cool.


Andrew Davie

I cleaned up the electric fence animations/logic.  Now the crossed streams look perfect.
Video shows switching between the two zoom levels. Looks great, actually.


Andrew Davie

Aside from the difficulty switch, the zoom level is now switchable via a double-click of the joystick. It works smoothly and puts that function on the "Couch Compliant" list.

Andrew Davie

#6
Here's an iCC screenshot - which is cheating a little bit, because it makes the shapes look more solid than they do to the eye.  This is the "large" zoom (default) on the preview window. These characters are not "native" to the preview - in fact the draw uses the large characters from the game itself, and sub-samples them vertically to achieve approximately the correct aspect ratio. So the trick becomes - how do I draw large characters that also look good in the two zoom resolutions.

The large zoom shows only scanlines { 0, 2, 3, 5, 7 , 9 } from the 10 lines defining each character. The small zoom shows only scanlines { 1, 4, 7 }.  The problem, then, is to make sure that a shape drawn using scanlines { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 } still looks like the "same" shape when only the subset scanlines shown above are used. It's tricker than it sounds, because you don't get to choose on a per-character basis. The subset operates over the entire character set.

The CC and pCC ALSO have to look ~good when the trixel lines (groups of 3 scanlines) are displayed in just 1/3 or 2/3 of those scanlines "on". Actually pCC is way more complex and I really don't understand exactly how it manages to trick the eye like it does. But anyway, it is what it is.

I have spent more hours on drawing these characters than I care to mention. Let's just say it took me more than an hour just to do the anchor character.


Andrew Davie

Here's the ChronoColour (CC) version.
I don't expect anyone to use this mode, but it's there nonetheless.
This is, by the way, the equivalent of the original Boulder Dash display system in terms of technology (every third line being a set colour, basically RGB RGB RGB down the screen)

It's not dreadful - and it does get around the single-colour PF.  But it was first superseded by interleaved ChronoColour (iCC) and more recently by phased ChronoColour (pCC) which is the default.





Andrew Davie

Finally, here's the pCC version -- the default.