Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Topic started by: Whatever on September 28, 2016, 08:58:30 AM

Title: Natashi's Stuff
Post by: Whatever on September 28, 2016, 08:58:30 AM
[Boss's Background-Bendy Effect-Thing]
(First Edition) link (https://www.dropbox.com/s/o3s2wtlkir5vsui/WaveEffect_HLSL.zip?dl=0)
(Second Edition) link (https://www.dropbox.com/s/0b5juaxrfccdol1/WavyThing%20V.2.zip?dl=0)
It's not perfect, therefore it isn't cancer.
Just include example.txt and call it. First parameter is the parent object, second is color ([R,G,B]).
(http://imgur.com/a/DAmj5)

[Unreal Tale of a Bootleg Cupid's Excessive Blood Loss]
My contest entry for the Len'en 1 contest.
link (http://www.bulletforge.org/u/natashi/p/lenen-contest-entry-unreal-tale-of-a-bootleg-cupids-excessive-blood-loss)

[A terrifyingly short Aunn script]
It's more like a package test than an actual script :v
link (http://www.bulletforge.org/u/natashi/p/a-super-short-aunn-script)
Title: Re: Natashi's Stuff
Post by: TTBD on September 29, 2016, 10:27:45 PM
It may not be perfect, but it doesn't lag the game, which certainly surprised me.  :V

10/10 nonetheless!  :D
Title: Re: Natashi's Stuff
Post by: Dark Kitsune on September 29, 2016, 11:07:46 PM
Looking at the code, it looks like it was just made from the sample wave effect with some magic numbers thrown in, a couple variables renamed, formatting changed a little and comments replaced with your own? Oh and a color parameter, I guess that part is useful.
Title: Re: Natashi's Stuff
Post by: Whatever on September 30, 2016, 08:13:35 AM
I just noticed that if the source of the wave goes near the edge of the screen, the wave would try to bend something outside of the STG field inside, creating a black void.
Version 2 will be coming right up.
By the way, thanks for the positive feedback.
Title: Re: Natashi's Stuff
Post by: Whatever on September 30, 2016, 09:10:43 AM
Wave Effect version 2 is now available.
Title: Re: Natashi's Stuff
Post by: Whatever on February 03, 2017, 01:04:01 PM
Updated with my latest script.
Title: Re: Natashi's Stuff
Post by: Whatever on July 08, 2017, 03:19:58 AM
[Point Filtering Shader]

You've probably tried to scale a small image up a lot in dmf at least once, and saw how ugly it got.
(https://cdn.discordapp.com/attachments/290818968627970049/330960448553746435/Untitled.png)
^ like this

So I've created a way to fix it by forcing the image filtering from linear(blurs pixels if scaled up), to point(does not blur if scaled up)
by using some shader divinity.
(https://cdn.discordapp.com/attachments/290818968627970049/330960953799868416/Untitled.png)

Side-by-side comparison starring Iesua:
(https://cdn.discordapp.com/attachments/290818968627970049/331250835868745729/Untitled-124.png)

Download: https://www.dropbox.com/s/wta6xrc8x1du6ko/PointFiltering_HLSL.zip?dl=0 (https://www.dropbox.com/s/wta6xrc8x1du6ko/PointFiltering_HLSL.zip?dl=0)
I've already wrote some explanation on how to use it at the top of lib_pointFilter.dnh, have a great day scaling up sprites.