SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > Outdated Releases (2.1.X) > Mods (2.1.X)

Thread Tools
Mirror Mode Details »»
Mirror Mode
Version: 1, by Jazz Jazz is offline
Developer Last Online: Jun 2020

Category: Version: SRB2 Rating: (1 votes - 3.20 average)
Released: 09-29-2018 Last Update: Never Favourites: 1
Code Changes

Long time no see. I had an idea, so I did it. It's ugly at the moment, but most if not all maps should be playable.

This modification adds "Mirror Mode" to SRB2. This works in the same fashion as its namesake in Mario Kart. When enabled, levels are mirrored over the Y axis. In effect, all left turns become right turns, all clockwise motions become counterclockwise. This is achieved by reversing parts of the map as it is loaded. This feature is implemented as an unlockable in single player, but freely available to use in multiplayer without needing to unlock it. This modification contains this hypothetical unlocking mechanism and saves to its own gamedata file. Once unlocked, it appears in the secrets menu.

However in the meantime, the "mirrormode" console command can be used at any time to enable or disable this feature, the unlock requirement portion is commented out. Once you change the variable, it will mark the game as modified, and take effect on the next map load.

I have tested netplay locally and it seems to work without a hitch.

Hope you guys have as much fun playing with this as I have so far.

Spoiler: The unlock condition
Complete 1P without losing a life.
Spoiler: Known Issues

  • No multiplayer menu option.
  • Most texture X offsets are not mirrored, some walls will look different as a result, and textures that scroll by offset will scroll in the wrong direction. For example, the ropes in ACZ1.
  • Right/left facing textures are not replaced with their opposite equivalents. For example, directional arrows and CEZ flags.
  • Some textures which have no offset end up offset in Mirror Mode. For example, the console at the end of ERZ2. Not sure offhand what causes it.
  • The angles of swinging chains and maces are not currently adjusted for Mirror Mode. This is most obvious in the tree section in CEZ1.
Spoiler: Notes about the source code
This particular copy of SRB2's source was branched off master @ 4b5ebef6c21c4b626472ed5fa4924ac705af87ad.

I plan to rebase the next release against the current released tag (2.1.20 as of the time of this writing) if there is enough interest to warrant another one. Maybe even get a GitHub account, who knows?

Download Now

File Type: zip (1.42 MB, 642 views)
File Type: zip (3.15 MB, 373 views)


Click image for larger version

Name:	srb20001.png
Views:	1143
Size:	36.1 KB
ID:	13574   Click image for larger version

Name:	srb20002.png
Views:	1021
Size:	52.3 KB
ID:	13575  

Show Your Support

  • This addon may not be copied, reproduced or published elsewhere without the author's permission.

Old 10-03-2018   #2
Prime 2.0
Permanently Banned

Welcome to Releases!
Prime 2.0 is offline  
Old 10-03-2018   #3
GreenKnight9000's Avatar

This should actually be in 2.2, though possibly a real pain to implement
A nice challenge that's hilariously so agonizing for muscle-memory moments that I just can't find the words to express it
Certified Emerald Hunter for online matches
-Oldbie that still sucks-

Still waiting for Controller Support to be fixed...
GreenKnight9000 is offline  
Old 10-03-2018   #4
Wandering Protagonist
Goldenhog's Avatar

This made my brain hurt, but in a good way. I felt myself reset every time I turned left and then saw a wall telling me I had to turn right now.

And actually yeah, this could be a nice unlockable for 2.2.
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline  
Old 10-04-2018   #5
SteelT's Avatar

What was the reason for disabling png screenshot support?
How can you combine steel and titanium?

Last edited by SteelT; 10-04-2018 at 11:19 PM.
SteelT is offline  
Old 10-04-2018   #6

It's amazing how much different some of the levels can feel with this, a fun way to replay levels and add an extra layer of challenge, Nice work.
Also known as "RTB" on Discord
RomioTheBadass is offline  
Old 10-04-2018   #7
Jazz's Avatar

Originally Posted by Steel Titanium View Post
What was the reason for disabiling png screenshot support?
Not intentional, my build environment is cobbled together, and apparently not all that well.

I also noticed that some types of tracker music doesn't play, either has to do with build flags or the version of the library msys2 provides. Didn't get a chance to look too deeply into it.

Originally Posted by Goldenhog View Post
This made my brain hurt, but in a good way. I felt myself reset every time I turned left and then saw a wall telling me I had to turn right now.
Every time I went to try the other path for the ERZs or ACZ: "Wait! Wrong way!"
Now that's a real game logo.

Last edited by Jazz; 10-04-2018 at 09:56 PM.
Jazz is offline  
Old 10-04-2018   #8
SteelT's Avatar

I have an feeling the issues with some music type is due to the way how it works, since PNG supports depends on zlib decompression, disabling PNG supports explicitly disables zlib. But I plan on fixing that so it's separated.
How can you combine steel and titanium?
SteelT is offline  

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 02:57 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.