Search found 284 matches
- Mon Oct 16, 2017 2:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Get the name of the showing image ?
- Replies: 10
- Views: 2362
Re: Get the name of the showing image ?
I sort of wrote a function that returns a list of image tags currently showing along with their attributes on a string, I don't know if it's what you need but it can be changed later. I tried to explain what it does step by step but if you need more help feel free to ask. image eileen happy = "eilee...
- Fri Oct 13, 2017 3:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Character dissolve running in background?
- Replies: 9
- Views: 2575
Re: Character dissolve running in background?
You can use renpy.show() , show command's python equivalent to pass arguments to it. show eileen happy Is equivalent to: $ renpy.show("eileen happy") You could also write a function to automate the process as you mention, probably like this: image eileen = "eileen.png" image eileen happy = "eileen_h...
Re: Guestbook
A bit late to sign the guestbook, but oh well... Hey all, RicharDann here. I really like videogames, specially visual novels thanks to the simple yet engaging mechanics and overall I've enjoyed every single one of them I've been able to play, I came to know Ren'Py thanks to Katawa Shoujo, a game tha...
- Thu Oct 12, 2017 8:48 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inventory system for Multiple Characters
- Replies: 1
- Views: 387
Re: Inventory system for Multiple Characters
Nevermind I used dictionaries in the end and it seems to be working, dunno why I didn't think of that earlier since I recently worked with them. Also I found a tutorial in the cookbook basically on this so I'll probably end up relying on it if anything unexpected happens.
Thanks anyway.
Thanks anyway.
- Wed Oct 11, 2017 3:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Displaying Images After Choices
- Replies: 2
- Views: 401
Re: Displaying Images After Choices
Do you want the image to quickly flash when the player hovers on the choice, or after the player already picked the choice? Either way you could make a transform that shows the image and hides it after a short time, depending on wich way you want to show it you would need to use different code. Here...
- Wed Oct 11, 2017 1:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Inventory system for Multiple Characters
- Replies: 1
- Views: 387
[Solved] Inventory system for Multiple Characters
So I have different POV characters in my story and I want to have each of them manage their own set of items and clothes. And at some points I want them to be able to exchange items. So I figured classes where a good way to represent each character and their inventory. However, I want each inventory...
- Wed Oct 11, 2017 8:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Problem getting mouse position in a screen
- Replies: 5
- Views: 1831
Re: [SOLVED]Problem getting mouse position in a screen
I realized this just yesterday, hadn't come up with a solution yet but timer looks like a fine solution, I didn't know it could be used like that, it works wonderfully. Only problem left is that the animation doesn't show up above buttons and other clickable areas, but that is to be expected since p...
- Mon Oct 09, 2017 2:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Problem getting mouse position in a screen
- Replies: 5
- Views: 1831
Re: [SOLVED]Problem getting mouse position in a screen
UPDATE: Oddly enough, when I added the show animation code to the key statement, getting the mouse pos started slowing down again unless I double clicked. I started tinkering with it once again and I stumbled upon what seems to be a solution: adding a mouse_up event along with the mouse_down seems ...
- Mon Oct 09, 2017 12:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved]bar questions (love meter)
- Replies: 1
- Views: 504
- Mon Oct 09, 2017 11:31 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Problem getting mouse position in a screen
- Replies: 5
- Views: 1831
- Mon Oct 09, 2017 9:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Problem getting mouse position in a screen
- Replies: 5
- Views: 1831
[SOLVED]Problem getting mouse position in a screen
I'm trying to make a screen where I need to get mouse position when the player clicks the mouse (or touches the screen if on Android), to then show a small click animation on that position. Browsing through the documentation I found renpy.get_mouse_pos() and it seems to be what I need. I made a scre...
- Fri Oct 06, 2017 8:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Imagebutton with text?
- Replies: 8
- Views: 3219
Re: [SOLVED] Imagebutton with text?
xavimat, you're totally right! At first I thought button was a kind of hotspot like on imagemaps I didn't imagine it could accept children, this will be indeed very useful, thank you!
- Fri Oct 06, 2017 1:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to move menu buttons?
- Replies: 26
- Views: 2994
Re: How to move menu buttons?
Well now I'm totally confused. There might be a problem with the pictures (but then Ren'Py wouldn't probably show them in the first place). Why don't you try creating a new project and star over from there? Don't change anything except the textbuttons and place them exactly where they were by defaul...
- Fri Oct 06, 2017 12:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Letting the player choose their pronouns?
- Replies: 13
- Views: 6376
Re: Letting the player choose their pronouns?
It is possible with a little Python programming, you might need to make a variable (or maybe a list) for every single possible combination of words, his, him, her, etc., minding upper and lower case as you write the script, it is doable but still a lot of work troublesome so most people use genderle...
- Fri Oct 06, 2017 11:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to move menu buttons?
- Replies: 26
- Views: 2994
Re: How to move menu buttons?
That's odd, it works fine for me. Only other thing that may be interfering is the xpos property or the spacing, maybe the buttons are showing but off-screen, try removing those, or, just in case, use this code, I've tested it and there seems to be no problem in it: screen navigation(): hbox: style_p...