dMZX Forums: c0? Overlay Inherits Background Color of Underlaying Layer -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 837 Title c0? Overlay Inherits Background Color of Underlaying Layer
Product Archived MegaZeux Bugs Status Closed - No Change (Severity 2 - Fair)
Version 2.93 Fixed in -
Introduced In Version <2.80Operating System All?

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #837: c0? Overlay Inherits Background Color of Underlaying Layer

#1 User is offline  
Joseph Collins 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 10-October 02
  • Gender:Not Telling
  • Location:United States

Posted 21 January 2024 - 10:20 AM

This is definitely one of those "I didn't even know this was a bug" moments…

Issue: Overlay tiles with a blank background color ("c0?") inherit the background color of any tile underneath it.
Versions Affected: v2.51 s1 to v2.93
Introduced in Version: v2.51 s1
Operating System: DOS, Windows, more than likely others…

Further Details
Alright, so. There's a… "feature"? "Bug"? In MegaZeux v2.51 s1. Starting very specifically with that version, any overlay with a background value of 0 will inherit the background value of whatever it passes over. I honestly remember this from a long time ago (probably around the time these were first being released) and I'm pretty sure I assumed it was intentional. I might've even commented on it somewhere, but I have no idea. Regardless, it was a thing that I accepted.

While discussing bugs and issues with the modern version of MegaZeux with someone, I brought to their attention that in "classic" MegaZeux, overlays will always maintain their selected colors regardless of what they pass over. For example, if an overlay with a back background passes over a tile with a yellow background, the overlay will keep its lack of background color. In mentioning this, I genuinely surprised them as they forgot that wasn't the standard behavior for the original MegaZeux. They also mentioned it's been around since v2.51 s1. So, I did some research.

Upon looking through the change log for 2.51 s1, I noticed that it doesn't mention the new overlay behavior anywhere. In fact, s1 doesn't even have a Help File! I checked s3 as well, and… that one doesn't even mention anything earlier than s2! Finally, I checked the manual's change logs. Again, no mention of the changed overlay behavior in s1… but I did find this under s3's changes:

Quote

* Fixed overlay transparency weirdness. Now, background of lower layer will ALWAYS show through if background of overlay is 0

This tells me that JZig was aware of it, and apparently there was some kind of bug involving not inheriting the background color, but they fixed it? Weird.

Anyway, it was recommended to me that I file this as a bug report, so here I am. Researching this, I have to wonder if this change was genuinely intentional and why it was undocumented. And why just the background? Why not make c?0 symbols inherit foreground colors, too? Seems odd…

Relevant Screenshots
Posted Image Posted Image
An overlay of c00 double-pipe characters (205 / $CD) rendering over a rainbow background in MegaZeux v2.51 and v2.51 s1
Note: The upper-leftmost tile with a blue background is the player.

This post has been edited by Joseph Collins: 21 January 2024 - 10:22 AM



Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 4)

#2 User is online  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,943
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 22 January 2024 - 04:35 AM

Updating status to: Confirmed
Updating severity to: 2 - Fair
Updating version to: 2.93

It is an intentional feature and it was added to provide pseudo-transparency, AFAIK. It shouldn't be applied to 2.51 worlds that don't expect it, though. I wonder if any 2.51 worlds actually did expect this effect when played in newer versions, though.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#3 User is offline  
Joseph Collins 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 31
  • Joined: 10-October 02
  • Gender:Not Telling
  • Location:United States

Posted 22 January 2024 - 09:02 AM

I have made a critical error. Seemingly, c0? overlays capturing the background was always intended.

I just checked MegaZeux verions 2.02, 2.07, and the cobbled-together 2.50. In each and every one of these versions, overlays using black as a background inherits the background color of the tile underneath it. So… it seems like v2.51 was the odd one out, here; being able to use solid c0? normally was, in fact, an anomaly. Seemingly.

I (also) wonder if any game worlds intentionally made use of this 2.51-exclusive feature…?

This post has been edited by Joseph Collins: 22 January 2024 - 09:03 AM

I'm not that hard to find… if you know where to look.
-=( https://jolikmc.tumblr.com )=-

#4 User is online  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,943
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 05 May 2024 - 06:06 AM

Updating status to: Closed - No Change

Since this bug is isolated to 2.51 specifically, it's probably impossible to ever detect games that rely on it automatically. I don't think it will ever be possible to support this in any meaningful way. Closing this for now.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#5 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,966
  • Joined: 12-October 00
  • Gender:Male

Posted 12 September 2024 - 06:23 PM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2025  IPS, Inc.