Wheel UI ready to use ez

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
Dr_arell
Regular
Posts: 70
Joined: Sun Feb 23, 2020 11:24 pm
Deviantart: DarellArt
Contact:

Wheel UI ready to use ez

#1 Post by Dr_arell »

Hi, i want to give back something for the community, i'm noob so if you are an oldie i got nothing new to teach you, in fact this is quite very simple.
i'm doing a ben 10 game, and i made this wheel to use along with the omnitrix, so i wanna give it away if someone wants to use it, and for someone i mean new people.
this is not the actual one, it's a more neutral version made for this post.

once again this is the one from my game, not the one im giving out
Image

below a short video showing the actual wheel

https://www.youtube.com/watch?v=24MXnYN ... e=youtu.be


this wheel creates a variable called output that can be used in a lot of scenarios, here im using it to change the background but it can do anything you want.
all you have to worry about are the if statements, that are each of the buttons 1-8 counting clockwise

Code: Select all

screen stuff_wheel_displays_or_does:

    if output == 1:
        add "/images/Wallpapers/w (1).jpg"
    elif output == 2:
        add "/images/Wallpapers/w (2).jpg"
    elif output == 3:
        add "/images/Wallpapers/w (3).jpg"
    elif output == 4:
        add "/images/Wallpapers/w (4).jpg"
    elif output == 5:
        add "/images/Wallpapers/w (5).jpg"
    elif output == 6:
        add "/images/Wallpapers/w (6).jpg"
    elif output == 7:
        add "/images/Wallpapers/w (7).jpg"
    elif output == 8:
        add "/images/Wallpapers/w (8).jpg"
Font used: LEMON/MILK
Opacity used: 40-50% over pure black

backgrounds are not mine, feel free to do whatever you want with everything else
http://www.mediafire.com/file/5xdzsjxam ... I.rar/file
Last edited by Dr_arell on Sun Sep 20, 2020 9:33 pm, edited 5 times in total.

User avatar
timepatches
Regular
Posts: 91
Joined: Sun Aug 14, 2016 1:52 am
Completed: When Aster Falls; Were|House; DemiDato: Monster Dating Show; Grand-Nya
Projects: The Bat-Chelor
Organization: Sad Ghost Studios
Tumblr: sadghoststudios
itch: Sad Ghost Studios
Location: Australia
Contact:

Re: Wheel UI ready to use ez

#2 Post by timepatches »

Yoo. This is awesome!
ImageImage Image

★☆ currently: DEMIDATO RELEASED MARCH 14 \ *°▽°* /
i appreciate honest critique!

Post Reply

Who is online

Users browsing this forum: No registered users