Page 1 of 1

splishSplash.lua - improved splashing effects!

Posted: Sat Mar 22, 2025 8:21 am
by DeviousQuacks23
This is outdated. You can find an updated version here.



Just a small library that adds some new effects for splashing.
Quicksand support is included, and NPC support is included too. It is also multiplayer compatible.
You can customize the effects and the sounds, and there are options to disable NPC and quicksand splashes.

Image

To use the library, simply put this code into your luna.lua file:

Code: Select all

local splishSplash = require("splishSplash")
Download
(Please give credit!)

Re: splishSplash.lua - improved splashing effects!

Posted: Sun Mar 23, 2025 7:02 pm
by Master of Disaster
Oh this is lovely! Vastly prefer this effect over the basegame water effect

Re: splishSplash.lua - improved splashing effects!

Posted: Thu Apr 03, 2025 10:06 am
by Alucard648
Speaking of splash: will it be possible to have lava splash, when player/NPC dies by falling into lava? And what about entering physical enviropment zones from sides?

Re: splishSplash.lua - improved splashing effects!

Posted: Fri Apr 04, 2025 4:24 am
by DeviousQuacks23
We already have lava splashes, and it wouldn't make much sense to create a splashing effect from the sides.

Re: splishSplash.lua - improved splashing effects!

Posted: Wed Apr 16, 2025 10:29 am
by PizzaNoob
Hey, i found an error. It's saying something about a timer in the script.

Image

Re: splishSplash.lua - improved splashing effects!

Posted: Wed Apr 16, 2025 2:11 pm
by Shaktool
PizzaNoob wrote:
Wed Apr 16, 2025 10:29 am
Hey, i found an error. It's saying something about a timer in the script.

Image
what caused it in the first place?

Re: splishSplash.lua - improved splashing effects!

Posted: Wed Apr 16, 2025 2:46 pm
by PizzaNoob
Retro wrote:
Wed Apr 16, 2025 2:11 pm
PizzaNoob wrote:
Wed Apr 16, 2025 10:29 am
Hey, i found an error. It's saying something about a timer in the script.

Image
what caused it in the first place?
I use easyliquids.lua (by Akromaly) throughout my levels. I ultimatly thought that the script caused this error, but checking other levels that uses easyliquids seem to work perfectly fine. Even by taking out the lua that creates the liquids, the error still shows up. I have no idea how to fix it if it only shows up for two of the levels I've made.

I was also just testing out one of the levels and turns out the script acts weird with MrDoubleA's SMM2 key AI. As for the other level with the problem, I don't know...

Added in 2 hours 34 minutes 27 seconds:
Ok, I found a solution. I justed changed all instances of "data.timer" to "timer" (and removed it from the data table), making it a basic variable.

Re: splishSplash.lua - improved splashing effects!

Posted: Fri Apr 18, 2025 5:33 am
by DeviousQuacks23
PizzaNoob wrote:
Wed Apr 16, 2025 10:29 am
Hey, i found an error. It's saying something about a timer in the script.

Image
Fixed