A slider made from sprites

1

Attached Files

The following files have been attached to this tutorial:

.capx

simple-slider.capx

Download now 181.54 KB

Stats

3,092 visits, 4,194 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 11 Oct, 2014. Last updated 19 Feb, 2019

Hey!, so i decided to make a custom slider bar because the default slider plugin looks really unfitting with any game.

We're gonna make a slider bar for effects paramters, you can use it for anything you want.

the idea of making this happen is to make an empty sprite and setting it's X to 0 and making a boundary between 0 and 100, because we're gonna make the max to the effect 100.

And then pinning the empty sprite to the actual slider button, and adding a drag and drop behavior to the slider bar Horizontal only.. then putting a boundary to the slider.

I can't really explain further, but you can download the Capx from the top-left and trying it out for yourself.

Screenshot

:

Needed plugins to open the Capx:

Boundary behavior by rexrainbow

Will post a demo soon!

.CAPX

simple-slider.capx

Download now 181.54 KB
  • 1 Comments

  • Order by
Want to leave a comment? Login or Register an account!