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.
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.
Complete 1P without losing a life.
- 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.
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?
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?
Attachments
Last edited: