SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Mods

Reply
 
Thread Tools
Mirror Mode Details »»
Mirror Mode
Version: 1, by Jazz Jazz is offline
Developer Last Online: Oct 2018

Category: Version: SRB2 Rating: (1 votes - 3.20 average)
Released: 09-29-2018 Last Update: Never Installs: 0
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.
https://github.com/STJr/SRB2.git

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 srb2mm.zip (1.42 MB, 101 views)
File Type: zip srb2mm-src.zip (3.15 MB, 45 views)

Screenshots

Click image for larger version

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

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

Show Your Support

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

Comments
Old 1 Week Ago   #2
Prime 2.0
Grape flavored
Administrator
 
Prime 2.0's Avatar
Default

Welcome to Releases!
__________________
Science tells us that nothing can be proven, only rendered more likely to be true. If we do not question what we already know, how can we know, much less admit, when we're wrong? Such things are vital to progress.
Prime 2.0 is offline   Reply With Quote
Old 1 Week Ago   #3
GreenKnight9000
 
GreenKnight9000's Avatar
Default

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
-Known as ThomasTheHedgehog888 in matches-
GreenKnight9000 is offline   Reply With Quote
Old 1 Week Ago   #4
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default

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.
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 1 Week Ago   #5
Steel Titanium
 
Steel Titanium's Avatar
Default

What was the reason for disabling png screenshot support?
__________________
I regret something I never did.

Last edited by Steel Titanium; 1 Week Ago at 11:19 PM.
Steel Titanium is online now   Reply With Quote
Old 1 Week Ago   #6
RomioTheBadass
PK3 Fetishist
 
RomioTheBadass's Avatar
Default

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.
__________________
Sonic 3D Ass : Horrible camera island.
RomioTheBadass is offline   Reply With Quote
Old 1 Week Ago   #7
Jazz
 
Jazz's Avatar
Default

Quote:
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.

Quote:
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; 1 Week Ago at 09:56 PM.
Jazz is offline   Reply With Quote
Old 1 Week Ago   #8
Steel Titanium
 
Steel Titanium's Avatar
Default

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.
__________________
I regret something I never did.
Steel Titanium is online now   Reply With Quote
Reply

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 10:24 AM.


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