Search found 216 matches
- Mon Aug 30, 2021 6:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Draggable Screen always return to initial positionning
- Replies: 3
- Views: 814
Draggable Screen always return to initial positionning
Hello, I have a prefeclty draggable working screen. Each time I calling it, it appear to the initial position I gave him, thats mean at xpos 1250 and ypos 100. Even if the player move it previously to an other location. So I would like it too show up at the same position the player leave it before. ...
- Mon Aug 30, 2021 6:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Condition with negative integer with If statement
- Replies: 2
- Views: 709
Re: Condition with negative integer with If statement
Thank you for your answer I'm really dumb I forgot the "==" when you are in a if statement ! As for your really good example also thank you, I didn't know this way to process and I will try to use the "range" function next time but in this case, saddly I can't use it since the text ("text" in the pr...
- Thu Aug 26, 2021 5:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: Condition with negative integer with If statement
- Replies: 2
- Views: 709
Condition with negative integer with If statement
Hello everyone, This time, really simple. I have a small syntax issue (I think) with the writing of negative integer inside a condition. If you can show me the correct writing it will be great cause google didn't help me with that. Thank you ! if (variable_A < -200): $ variable_todisplay_text = "{co...
- Mon Aug 23, 2021 2:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Tooltip hovering on a spot of a draggable screen
- Replies: 6
- Views: 645
Re: Tooltip hovering on a spot of a draggable screen
Yeah... In a misplaced outburst of pride I tried to preserved my own way of writing this code. An inelegant and riddled code with erroneous paradoxes. I should just have "copy-paste" your code. Sorry for the inconvenience.
Thank you really much to help me identify the last mistake !
Thank you really much to help me identify the last mistake !
- Mon Aug 23, 2021 11:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Tooltip hovering on a spot of a draggable screen
- Replies: 6
- Views: 645
Re: Tooltip hovering on a spot of a draggable screen
Should'nt I try to familiarise myself with the "fit" property ? like here : https://www.renpy.org/doc/html/atl.html?highlight=xsize#transform-property-fit I'm saying this because I don't manage to use the xsize, ysize, size, property. Maybe it's just because I am codding for too many hours non stop ...
- Mon Aug 23, 2021 10:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Tooltip hovering on a spot of a draggable screen
- Replies: 6
- Views: 645
Re: Tooltip hovering on a spot of a draggable screen
That's amazing ! Thank you for the quick answer. It work. Both method does. I wasn't expecting an acceptable result so fast :) There is only a tiny rock in my shoes which is irritating me a little but nothing major. I don't know how to manage to force a text to fully occupied a delimitated space. Le...
- Mon Aug 23, 2021 7:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Tooltip hovering on a spot of a draggable screen
- Replies: 6
- Views: 645
[SOLVED] Tooltip hovering on a spot of a draggable screen
Hello again and sorry about the harassment but I'm on vacation so I enjoy some codding time :) Thank to the help of Remix and Ocelot I manage to reach a good functionnal screen which display certain variables. Previous helping topic: https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=62972&p=5458...
- Mon Aug 23, 2021 6:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Simple window screen text positionning
- Replies: 3
- Views: 791
Re: Simple window screen text positionning
Great ! Thank you really much everythings works fine. I was about to try for the first time to use the grid but since my images inside my screen are not perfectly aligned, I just place 8 text displayables at predefined coordinates. Thank you !
- Sun Aug 22, 2021 9:57 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Draggable Screen stop working
- Replies: 7
- Views: 566
Re: Draggable Screen stop working
I'm sorry but this is still not working. I tried all the declination of what you write, even calling an other screen with the "use screen" fonction inside the drag block but the result is always the same (with frame) With "window block" the beavhior is slightly diffrent but still not working as expe...
- Sun Aug 22, 2021 9:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Simple window screen text positionning
- Replies: 3
- Views: 791
Re: Simple window screen text positionning
Anyone to guide me on the right path ?
- Sun Aug 22, 2021 7:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Draggable Screen stop working
- Replies: 7
- Views: 566
Re: Draggable Screen stop working
Generally, when two or more children are supplied to the statement, which expects only one, a fixed is implicitely created to hold them. By default fixed expands to the whole avaliable area (so you cannot drag it, as there is nowhere to drag it: it is already everywhere) and keeps contained display...
- Sun Aug 22, 2021 3:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Draggable Screen stop working
- Replies: 7
- Views: 566
Re: Draggable Screen stop working
No I d'ont. So okey, that's noted, I won't do that. Thank you for this observation, but sadly the problem is still there, even without any id use. When I'm using the comment section of this code, my screen swtich from a draggable state to a non draggable state. screen minigame_spank_screen: style_pr...
- Sat Aug 21, 2021 8:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Draggable Screen stop working
- Replies: 7
- Views: 566
[SOLVED] Draggable Screen stop working
Hello guys, I'll try to be less talkative than usual and go straight to the point. I need some help with a second matter. It's still about this screen : IMAGE 1 https://imgshare.io/images/2021/08/21/Spank_Screen_MiniGame.png IMAGE 2 https://imgshare.io/images/2021/08/21/3.1---Spank_Screen_MiniGame_e...
- Sat Aug 21, 2021 8:12 am
- Forum: Ren'Py Questions and Announcements
- Topic: Simple window screen text positionning
- Replies: 3
- Views: 791
Simple window screen text positionning
Hello guys, I'll try to be less talkative than usual and go straight to the point. I need some help. Text positionnement inside a window/hbox/vbox etc. I never fully understood some of the ren'py interface system to put text inside a screen and usually I do something really complicated like trying a...
- Mon Aug 16, 2021 5:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Variables in a strange image statement
- Replies: 4
- Views: 858
Re: Variables in a strange image statement
More over, I don't really understand how should I use this : init python: def _random_pause(*args): return renpy.random.random() * 1.5 # pause randomly between 0.0 and 1.5 transform random_pause: # same as above just added this for much easier referencing... function _random_pause I don't understand...