Search found 55 matches
- Mon Mar 10, 2014 7:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
Outstanding, thank you so much for your help- in a few posts you've helped with stuff I've been slamming my head into for a good while ^^
- Mon Mar 10, 2014 7:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
Excellent, thank you! This is the very final thing, but there's a logical leap I'm not making with what I'm using this for: after the player has made whatever changes they wish to the images, I basically want to evaluate each of the imagebuttons in order, and depending on which image has been assign...
- Mon Mar 10, 2014 7:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
Ooh this is really helpful, thank you! I understand the concept, but bear with me as I work out the syntax- if I adapt the example you gave in your second edit and created a Selected action, am I correct that to implement it, in every imagebutton within the $button_info = [] block, I would want to r...
- Sun Mar 09, 2014 6:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
Quick follow-up to the above- if I want to change the idle and hover images of one of the imagebuttons in response to player input, how do I specify which imagebutton I want to change? I know I can use selected_idle and selected_hover as the attributes to change, but I'm not sure how to target a spe...
- Sat Mar 08, 2014 7:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
Holy cow, that is exactly what I've been trying to do for 2 weeks... adapted it to my project and it works perfectly! Thank you very much ^^
- Sat Mar 08, 2014 2:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Re: Automatically align imagebuttons around a coordinate?
I'm afraid my math is pretty bad, could you help me understand exactly how I can use math.sin/cos?
- Sat Mar 08, 2014 12:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatically align imagebuttons around a coordinate?
- Replies: 15
- Views: 2205
Automatically align imagebuttons around a coordinate?
Let's say I have twelve imagebuttons that I want to display in a circle on my screen: do I need to set coords for each button manually, or is there an easy way for me to set a center point, give it a list of the imagebuttons I have, and tell it to space and align in a circle around my center point?
- Fri Jan 24, 2014 10:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using pie chart as interface
- Replies: 6
- Views: 1463
Re: Using pie chart as interface
Oh that's excellent to know, now I know that I have at least one option if all else fails.. thank you very much for the advice + clarification, I'll post back later when I've tried the original suggestion. ^^
- Fri Jan 24, 2014 9:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using pie chart as interface
- Replies: 6
- Views: 1463
Re: Using pie chart as interface
Ooh thank you for the citation, I'll try implementing it and report back... this probably won't work, but I'm reading about imagebuttons and if I were to make multiple .pngs, with each .png being one wedge of a circle with a transparent background, would hover and selected idle/active trigger when t...
- Fri Jan 24, 2014 7:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Using pie chart as interface
- Replies: 6
- Views: 1463
Using pie chart as interface
Hi everyone, I'm working on a life simulator game that requires the player to decide how to budget their time each day, which obviously makes it a perfect fit for DSE. However, instead of displaying a button for each possible activity the player can spend a period doing, I would like to use a pie ch...