Search found 237 matches

by Nero
Tue Jun 16, 2020 12:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Image Zoom From Center Doesn't Work
Replies: 3
Views: 207

Re: Image Zoom From Center Doesn't Work

Both of your solutions worked fine guys.

Per K Grok your case also works now that I fixed the frame problem.

Remix as you said problem was that it was inside of a frame but I managed to make it work with some tweaking.

Thanks!
by Nero
Mon Jun 15, 2020 11:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Image Zoom From Center Doesn't Work
Replies: 3
Views: 207

[SOLVED]Image Zoom From Center Doesn't Work

Hi, this might be a simple problem to solve but I'm having some trouble. Basically I want my picture to be zoomed out from the CENTER of its position not from the LEFT upper corner as it is default. I was searching some documentation but it seems like it doesn't work or maybe I'm using it incorrectl...
by Nero
Fri Jun 05, 2020 2:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Making Screen Disappear After Few Seconds
Replies: 3
Views: 233

Re: Making Screen Disappear After Few Seconds

Yes that's exactly what I wanted, timer inside of a screen. Thanks!
by Nero
Thu Jun 04, 2020 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Making Screen Disappear After Few Seconds
Replies: 3
Views: 233

[SOLVED]Making Screen Disappear After Few Seconds

Does anyone know how can I make screen that will close itself after few seconds? For example I use show screen test and then after 3-4 seconds it should disappear? Im aware that this can be done via function but then I need to use pause which will interfere with the program itself. I looked everywhe...
by Nero
Thu Jun 04, 2020 2:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]For Loop Python Question
Replies: 1
Views: 185

Re: For Loop Python Question

Found solution:

Just use reversed so loop would happen for every item.

Code: Select all

for x in reversed(deck):
by Nero
Thu Jun 04, 2020 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]For Loop Python Question
Replies: 1
Views: 185

[SOLVED]For Loop Python Question

Hi, I have noticed interesting thing about for loops for example I wanna add all items from one list to another if some condition is met. Now thing is when first item is added to a list the for loop will just break (even if i never gave break or return command in code). Now can anyone can explain me...
by Nero
Tue Mar 31, 2020 9:13 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Animation Help
Replies: 2
Views: 225

Re: Animation Help

Ahhh I see how this works. That's it thank you!
by Nero
Mon Mar 30, 2020 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Animation Help
Replies: 2
Views: 225

[SOLVED]Animation Help

I'm learning how to do simple animations. I would like to know how to make simple animation happens when you append variable to a list. So my idea would be like this. Player is holding few cards in his hand, when you do card draw by that i mean (append card to his hand(list)) simple animation should...
by Nero
Sat Mar 28, 2020 4:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Changing Specific String in Sentence
Replies: 2
Views: 172

Re: Changing Specific String in Sentence

Okay I figured it out. No this is what I meant:

Code: Select all

text "%s" % (s.description if s.damage == s.damage_base else s.description.replace("[s.damage]","{color=#ff0000}[s.damage]{/color}"))
by Nero
Sat Mar 28, 2020 3:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Changing Specific String in Sentence
Replies: 2
Views: 172

[SOLVED]Changing Specific String in Sentence

I have a text that says something like "Skill deals 5 damage." so the next thing I want it to show is IF damage goes up then show "Skill deals {color=ff0000}5{/color} damage" Basically say same thing just change the color of number in sentence does anyone have idea how to make that work in my exampl...
by Nero
Thu Mar 19, 2020 5:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Making Tooltip Appear After Few Seconds
Replies: 6
Views: 342

Re: Making Tooltip Appear After Few Seconds

Late reply is better than no reply at all :D. It is okay I work on other things while I wait for your response. Without you and other nice people on this forum I would be stuck with my problems forever I'm grateful for your existence. Well about mouse tooltip when I run it it is okay but when I hove...
by Nero
Thu Mar 19, 2020 12:34 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How To Make vbox Go Vertical But On Opposite Side?
Replies: 4
Views: 215

Re: How To Make vbox Go Vertical But On Opposite Side?

Yes! That's it good thinking, nice little window cheat. Thanks! If anyone ever get this problem this is the solution: screen test(): vbox: box_reverse True xpos 500 ypos 300 yalign 1.0 # just add yaling so screen is forced to push items up for x in test: text "%s" % (x) default test = [1] label star...
by Nero
Thu Mar 19, 2020 9:10 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]How To Make vbox Go Vertical But On Opposite Side?
Replies: 4
Views: 215

Re: How To Make vbox Go Vertical But On Opposite Side?

I think you didn't understand what I want. This can be simply done by putting "box_reverse = True" inside vbox . I don't want order inside vbox to be changed. I want the position of numbers go UP in screen itself. So after you set xpos of vbox items inside box needs to go UP like so: https://i.ibb.c...
by Nero
Thu Mar 19, 2020 8:30 am
Forum: Ren'Py Questions and Announcements
Topic: Making Tooltip Appear After Few Seconds
Replies: 6
Views: 342

Re: Making Tooltip Appear After Few Seconds

Oh I corrected the mistake on tooltip new method is easier to use. Yeah example of this in action would be nice thanks. By the way I was looking at your other posts about tooltips that follow mouse cursor but it seems its outdated also so if you did it for new renpy maybe you can post link of update...
by Nero
Wed Mar 18, 2020 9:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Making Tooltip Appear After Few Seconds
Replies: 6
Views: 342

Making Tooltip Appear After Few Seconds

Does anyone knows how to make tooltip appear only after you hold mouse cursor at the textbutton for 2 seconds (example)? Is there some easy code line I'm missing or its complex thing to code? default tt = Tooltip("") screen test(): text tt.value xsize 1200 yalign 0.500 xalign 0.500 textbutton "Toolt...