[v1.1] Flipper - DoomGuy's World Gone Backwards

Projects that alter game functions but do not include new maps belong here.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

[v1.1] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Wed Jul 31, 2019 12:56 pm



Spoiler: Before

Spoiler: After


Warning: This mod requires OpenGL 3.3 or greater, and it is recommended you run it on a modern version of GZDoom!
Note: This mod requires GZDoom 4.3.x or higher or compatible!

Github

Ever wondered what it would be like to live in a mirror universe?

Well, now you can find out!

This mod reverses the entire world on its Y axis, making everything a mirror of itself.

It should be compatible with nearly any game, mapset, or other gameplay mod.

CREDITS: Gutawer and Nash Muhandes helped a little bit with this, and ideas and small code snippets were also used from Tilt++.
v1.1 Release
Spoiler: pre-github versions
You do not have the required permissions to view the files attached to this post.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby BerserkerNoir » Wed Jul 31, 2019 1:59 pm

NICE!
Something so basic like this can change the pace of the gameplay, reminds me when I was younger and played TLOZ Master Quest or Twilight Princess in Wii version.
User avatar
BerserkerNoir
...
 
Joined: 10 Nov 2016
Location: Veracruz, Mexico
Discord: BerserkerNoir#7735
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Wed Jul 31, 2019 2:06 pm

Thank you, and yeah, that's part of why I put it here. It will confuse you about which is left and which is right, which, until you get used to the levels in their "new" format, you're going to be stuck exploring once familiar levels all over again!

It's also good for testing your own levels from a "new perspective". Might help you spot misalignments and bugs that you've gone blind to!
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Toberone » Wed Jul 31, 2019 2:43 pm

This makes me want a mod where you go backwards thru levels like its mario kart lol. Cool Stuff tho, strange how much a simple change like this makes everything so unfamiliar.

also for some reason my weapons not being flipped is making my brain go haywire, I keep thinking everything is still on the other side for certain secrets and areas
Toberone
 
Joined: 12 May 2013

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby NightFright » Wed Jul 31, 2019 2:55 pm

There is a similar mod out there for EDuke32. I was wondering when it would finally be available in GZDoom as well. Thanks a lot for making it happen!
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Beed28 » Wed Jul 31, 2019 3:19 pm

The game seems to crash when moving to a new level; I was running Russian Overkill if anyone's curious.

Code: Select allExpand view
MAP02 - Underhalls

VM execution aborted: tried to read from address zero.
Called from FlipperInventory.Tick at flipper_alpha_v0.2.pk3:zs/flipper.zsc, line 89
User avatar
Beed28
Making entire worlds bounce up and down.
 
Joined: 24 Feb 2013
Location: United Kingdom

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Wed Jul 31, 2019 4:35 pm

Thanks. Pushed a fix and published a new version.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Wed Jul 31, 2019 11:36 pm

Minor update: Mouse movement should be a little bit smoother now. The angle tracking was stored in a float instead of a double, and it seems like GZDoom still sends the player angle as fixed point, which doesn't fit in a float, but fits perfectly fine in a double.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Nems » Thu Aug 01, 2019 9:35 am

Oooo, gonna have to give this a spin once I clear out my mod backlog. <3
User avatar
Nems
"small monster loops"
 
Joined: 12 Jan 2005
Location: Your forum thread
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby doomfiend » Fri Aug 02, 2019 7:07 am

I think there might be an issue with sound? enemies in the flipped version will have sound generate on the opposite speaker? i.e imp charging me on the right side of the screen and his alert / attacking sounds will come out on the left ear or is that just a me issue?
User avatar
doomfiend
 
Joined: 27 Aug 2006
Location: some where

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Fri Aug 02, 2019 7:24 am

That is an issue that can't be solved easily without redoing the mod a different way. The current implementation simply uses a shader to flip the view and some ZScript hackery to reverse your angle. Unfortunately, there's no way to reverse the sound.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Nash » Fri Aug 02, 2019 7:48 am

doomfiend wrote:I think there might be an issue with sound? enemies in the flipped version will have sound generate on the opposite speaker? i.e imp charging me on the right side of the screen and his alert / attacking sounds will come out on the left ear or is that just a me issue?


It's not just sound, even the automap doesn't match the 3D view. As Rachael explained, this is a simple shader effect that only works on the 3D view that merely mirrors it.

Rachael if you could pull it off with the LevelCompatibility idea I was talking about in PM, I look forward to doing a serious playthrough with it. XD It's gonna mess my brain up so bad!
User avatar
Nash
AKA Nash Muhandes! Twitter/Facebook/Youtube: nashmuhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Twitch ID: nashmuhandes
Github ID: nashmuhandes

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Fri Aug 02, 2019 8:02 am

Doing the LevelCompatibility method will take a lot of work and will have a few caveats - notably that some scripted interactions are likely to break. Anything using absolute coordinates for the map or textures (since those will be reversed) will probably break as well. Any level that does not use scripts (i.e. vanilla Doom/Heretic maps) will probably function just fine. Maps that use MapSpots instead of absolute coordinates will function fine, as well.

However, if possible, the linedefs will be properly flipped to the new orientation, so front/back linedefs will continue to function.

The idea is thus: First all verteces are flipped on their X axis over (0,y) (simply by multiplying by -1). Then, each line will have its vertex references reversed. This will flip vertical lines properly, and will also properly maintain the orientation of horizontal lines. Afterward, the length of each line will be measured, the texture scale will be multiplied by vec2(-1, 1), and the offset will be added by the length of the line. This should help to maintain texture alignments throughout the entire level.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby JacenXtreme » Fri Aug 02, 2019 8:55 am

This is probably gonna be a mistake I make, but judging by screenshots, this is Funny AF!
JacenXtreme
Some guy on the webz
 
Joined: 10 Feb 2017
Location: USA
Discord: ssbjdlucas#3231
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia (Modern GZDoom)

Re: [Alpha] Flipper - DoomGuy's World Gone Backwards

Postby Rachael » Fri Aug 02, 2019 11:27 am

NeonLights95 wrote:This is probably gonna be a mistake I make, but judging by screenshots, this is Funny AF!

It's meant to be. :) Part of the joke is how you go into familiar areas and get completely lost because you lose your sense of left and right.

When I get the LevelCompatibility version done, I'll post a gameplay vid of E1M1 or MAP01.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Debian-like Linux (Debian, Ubuntu, Mint, etc) 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Next

Return to Gameplay Mods

Who is online

Users browsing this forum: Kinsie, knocturnal_one, Sierra and 7 guests