ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 3442

Scroll bar?

by Joalson - 05-16-2019 - 01:59 AM
#11
btw joalson nice rep at uc also xD funny that you just take a copy pasta kek code to your skidded shit btw. I dont blame you thats your nature ;)
             Elitedox Official
                 
                          
Reply
#12
(05-17-2019 - 09:39 PM)Elitedox Wrote: btw joalson nice rep at uc also xD funny that you just take a copy pasta kek code to your skidded shit btw. I dont blame you thats your nature ;)

Still curious why you here. Since you seem to talk a lot about skids. So i assume about urself as well?
Reply
#13
....... //Too Short
             Elitedox Official
                 
                          
Reply
#14
(05-16-2019 - 04:38 AM)iLLuminder Wrote:
(05-16-2019 - 01:59 AM)Joalson Wrote: I was wondering on how to get this https://prnt.sc/np4vlf? If you have it mind sharing the code? ive been looking everywhere but i couldnt find anything. Also do you know how to get a smoother scroller? thanks

You just have to draw the outer rectangle and change the coordinates to finish.  Very simple code.

Code:
void SetupScroller()
{
    if (optionCount > maxOptions) {
        if (currentOption > maxOptions)    {
            GRAPHICS::DRAW_RECT(0.8900, ((maxOptions *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
            //SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((maxOptions *  0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
        }
        else {
            GRAPHICS::DRAW_RECT(0.8900, ((currentOption *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
            //SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((currentOption *  0.030f) + 0.1413f), -0.0100, 0.0350, 269,  SRL_R, SRL_G, SRL_B, 255);
        }
    }
    else {
        GRAPHICS::DRAW_RECT(0.8900, ((currentOption *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
    }
}

by RF0oD x M0Dz
This is a shit way of doing this, the easier way is doing this is actually 1 line of code
Reply
#15
(05-20-2019 - 01:45 AM)GeostormXD Wrote:
(05-16-2019 - 04:38 AM)iLLuminder Wrote:
(05-16-2019 - 01:59 AM)Joalson Wrote: I was wondering on how to get this https://prnt.sc/np4vlf? If you have it mind sharing the code? ive been looking everywhere but i couldnt find anything. Also do you know how to get a smoother scroller? thanks

You just have to draw the outer rectangle and change the coordinates to finish.  Very simple code.

Code:
void SetupScroller()
{
if (optionCount > maxOptions) {
if (currentOption > maxOptions) {
GRAPHICS::DRAW_RECT(0.8900, ((maxOptions *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((maxOptions *  0.030f) + 0.1413f), -0.0100, 0.0350, 269, SRL_R, SRL_G, SRL_B, 255);
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
//SPRITE("hunting", "huntingwindarrow_32", 0.6180, ((currentOption *  0.030f) + 0.1413f), -0.0100, 0.0350, 269,  SRL_R, SRL_G, SRL_B, 255);
}
}
else {
GRAPHICS::DRAW_RECT(0.8900, ((currentOption *  0.030f) + 0.1410f), 0.0050, 0.0285, SRL_R, SRL_G, SRL_B, 189);
}
}

by RF0oD x M0Dz
This is a shit way of doing this, the easier way is doing this is actually 1 line of code

If you have a better way to do this, help people, do not just complain.
[Image: a8keeuutawx01.gif]
Reply

Users browsing: 1 Guest(s)