HentHighSchool Development Forum

Game Development => HHS+ => HHS+ Development => Topic started by: Fen_Going_To_School on Jun 03, 2022, 12:29 AM

Title: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Fen_Going_To_School on Jun 03, 2022, 12:29 AM
Good evening, I'm Professor Fen and welcome to my TIT talk. I got my Doctorate in Degeneracy at the prestigious Bigville University where I graduated as Gigus Chadicus of my class. I come to you today to discuss a very serious problem, we lost all the documentation. Like any dick-punch, the fall of the old forums left us winded, disoriented, and scrounging around for our misplaced testicles. This is my small contribution to reclaim what has been lost, which will be updated as I test the depths of the current build.
IMG Format
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Fen_Going_To_School on Jun 03, 2022, 12:35 AM
Reserved for Sound
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Fen_Going_To_School on Jun 03, 2022, 05:01 AM
Reserved for Extra Notes
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Umgah on Jun 03, 2022, 03:54 PM
The problem with WEBP is that the base platform (DotNet) might not support WEBP on all versions of Windows equally.
For instance, WEBP images might not work on Windows 7 (however this have to be checked).

That's why WEBP is not yet added as a format that HHS accepts in the image editor.

PS: Topic about WEBP support was discussed internally just a week ago.
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Fen_Going_To_School on Jun 03, 2022, 11:52 PM
I'm stupid when it comes to the backend of programming, but from what I've seen it works for Windows XP and beyond. I know for certain that WEBP images can be viewed on 7 via the projects file viewer. But can't say for certain it wouldn't be buggy.

I know that web-sites that use WEBP also use a function to decompress a WEBP file back into a PNG/JPEG in the event that the browser doesn't support it. Can't speak for the speed, but that might be a solution.
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Shilo on Jun 04, 2022, 10:19 AM
I think for WEBP in WPF, it has some issues with transparency. So while it may work okay for fully opaque images, you may want to stick to PNG for anything with transparency.
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Fen_Going_To_School on Jun 04, 2022, 06:34 PM
Just tested, and can confirm. It really does not like transparency.
Safe_Ruby_Bunny_3.webp It's very angry.png
Title: Re: [MOD DEVELOPMENT] Professor Fen's Discovery Corner!!!
Post by: Umgah on Jun 05, 2022, 06:20 AM
Yeah. That's the bug: https://github.com/dotnet/wpf/issues/1436

I think that we should add WEBP support even if that means opaque images only. However somebody have to test it first on Windows 7.