Artifact : Sliders
|
The artifact that I will go through this week will be the Sliders. What is the Slider ? The sliders I’ve created can be used either as a Health bars or Volume controllers or in any scenario where you have a bar that needs to get re sized often and without effort.
How was the Slider created? The way i created was by the use of two rectangles that are placed on top of each other. The idea here is that one of them will be re sized to represent the value between 1-100 and the other rectangle will be used to highlight the bar on certain events like Low HP or by Mouse Hovering over it. Depends on where the specific slider is being used. Functions that the slider have are the following:
Why was the Slider needed? The slider is needed in order to create a simple tool for creating sliders that can be used in multiple ways. The mouse functions are for example not needed for a health bar, while the mouse function would prove very useful while having a volume slider. At this moment the slider is being used as a Health bar, and Energy Bar inside our GUI. but in the future whenever needed, creating sliders for volume control or similar will be quick and easy. |
