Hi everyone! This time I come with a brand new kind of thing. A fully fledged JS module!
There's not too much to explain, and I'm gonna be honest, it's pretty late right now and I'm too tired to write detailed explanations.
So instead, here's a cool gif
Basically, this is a slider that shows the value, allows you to fully customise its appearance using Sprite, Tiled Backgrounds or 9Patches. It has support for mouse, touch and mouse wheel to change the value, and you can double click to open a text input. You can also clamp values so they never leave the minimum and maximum values of the slider, or you can decide to let the value be as high as the user wants.
But most important of all: It requires 0 events to set up. In that gif, I have a single event for the rainbow effect, and that's it. Everything else is set up on the Slider object, on the other objects you'll need to set up, or is handled automatically by the JS module.
You'll need to copy the BetterSlider script in your project. You'll also need to copy the objects in the "COPY THOSE" layout, and paste them inside your project.
After that, you can use and place your BetterSlider object wherever you need (you only need that object placed in the layout). You can use all of the Slider ACEs and they should work fine. You can also change the instance variable at any point, including the object names!
Classic Script Mode
Modules Script Mode