[Code] Wide Titlescreen Backgrounds

Post your example zscripts/ACS scripts/etc here.

[Code] Wide Titlescreen Backgrounds

Postby The Zombie Killer » Fri Dec 25, 2015 3:04 am

By default, TITLEPICs are squashed when they are widescreen.
This resource fixes that by stretching them back out.
Take a look at cvarinfo.txt inside the PK3 to find out how to use this resource.

Image

Updated: Now works with all resolutions, without cutoff (although 5:4 resolutions will have windowboxing)
Updated again: Added scaling modes (scale, crop)
Download
Last edited by The Zombie Killer on Fri Dec 25, 2015 10:06 am, edited 2 times in total.
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: [Code] Wide Titlescreen Backgrounds

Postby Nash » Fri Dec 25, 2015 6:05 am

Cool trick, I assumed it was a TITLEMAP even before I took a look at the file, but to be honest, this is something the engine should take care of and has no business being hacked through ACS/TITLEMAPs. :/

Also it doesn't look right in 1920x1200 (16:10), the sides go beyond my screen and get cut off.

Not putting your work down though, that's some neat scripting there. :D Cool stuff.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: [Code] Wide Titlescreen Backgrounds

Postby The Zombie Killer » Fri Dec 25, 2015 6:51 am

Yeah, it does get cut off in some resolutions. I'm planning to fix that eventually.
I agree that this should be an engine-side feature though, kinda surprised it hasn't been added yet.
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: [Code] Wide Titlescreen Backgrounds

Postby The Zombie Killer » Fri Dec 25, 2015 9:44 am

Fixed. Now works with all resolutions (although 5:4 resolutions have windowboxing)
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: [Code] Wide Titlescreen Backgrounds

Postby camaxide » Thu Apr 28, 2016 6:38 am

Jummy - I'd like to be able to implement this to the load-image of all my maps as well.. Which is also cut when playing at a different resolution than the image is (even if aspect ratio is the same).
I really hope they will make image scaling and un-needed cropping/cutting better in zdoom - its quite poor today I think.
User avatar
camaxide
 
Joined: 11 Jun 2015


Return to Script Library

Who is online

Users browsing this forum: No registered users and 1 guest