Search found 3094 matches

by Alex
Sat Jul 08, 2023 6:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving Screen Frame Along With Mouse Position
Replies: 1
Views: 206

Re: Moving Screen Frame Along With Mouse Position

... Check this - https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=47205 Or try to play some with this sample # transform to show/hide tooltip frame transform frame_anim_tr(t=0.5): on show: alpha 0.0 linear t alpha 1.0 on hide: linear t alpha 0.0 # transform to positioning tooltip frame tr...
by Alex
Thu Jul 06, 2023 2:48 pm
Forum: Ren'Py Questions and Announcements
Topic: My Ninja Way: need help with the correctness of writing lines of code
Replies: 9
Views: 506

Re: My Ninja Way: need help with the correctness of writing lines of code

cuteankle wrote: Thu Jul 06, 2023 4:14 am ...
What do you have at the end of 'house_street' and 'house_yard' labels?
If it's the 'return' statement then game jump to main menu is correct. So, either use 'jump newday' at the end of labels, or call 'house_street' and 'house_yard' labels instead of jumping to them.
by Alex
Mon Jul 03, 2023 3:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Question about viewport edge
Replies: 6
Views: 346

Re: Question about viewport edge

vp = renpy.get_widget('night_time', 'my_vp') if vp.xadjustment.value < 1: #looking at left imagebutton "arrowLeft" action SetVariable("view", "window") Because i'm doing it in a "screen", I can't create variables or change their value as in the first line in ...
by Alex
Fri Jun 30, 2023 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Question about viewport edge
Replies: 6
Views: 346

Re: Question about viewport edge

It looks like what I need but I don't understand how it works... Can someone explain what should I use and what does things do ? Well... vp = renpy.get_widget('vp_scr', 'my_vp') gets the viewport's bar from the screen, so later you could use it to get its value. if vp.yadjustment.value < vp.yadjust...
by Alex
Fri Jun 30, 2023 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: help... asking about variable
Replies: 3
Views: 216

Re: help... asking about variable

This might be interesting for you - viewtopic.php?f=8&t=52548#p499157
by Alex
Thu Jun 29, 2023 3:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem With Showing and Hiding a Screen With a Custom Transition
Replies: 2
Views: 247

Re: Problem With Showing and Hiding a Screen With a Custom Transition

... Try it like # Achievement Pop-up screen achievementpopupscreen(): frame: at gotachievement # <--- xpos 0.5 ypos 0.5 vbox: use achievementx_displayable # Call Function for Achievement label achievement_popup: show screen achievementpopupscreen "Hi!" hide screen achievementpopupscreen &...
by Alex
Thu Jun 29, 2023 3:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How Do I Make a Fading Timer From Left to Right
Replies: 6
Views: 273

Re: How Do I Make a Fading Timer From Left to Right

galaga_ghost wrote: Wed Jun 28, 2023 11:48 pm okay I tried it and the bar just stopped showing and it missed my choices of color and background. I don't know if I did it right.
What's your code looks like?
by Alex
Thu Jun 29, 2023 3:35 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved]How to both react with textbox and screen?
Replies: 2
Views: 179

Re: How to both react with textbox and screen?

...I tried Jump from screen action but when textbox showed screen was hidden You need to 'show' screen instead of 'call' it. And you can use ui.interact() to wait for player's interaction with game. https://www.renpy.org/doc/html/screens.html#screen-statements https://www.renpy.org/doc/html/screen_...
by Alex
Thu Jun 29, 2023 3:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Automating keysym for a matrix
Replies: 1
Views: 124

Re: Automating keysym for a matrix

... Try to store your matrix as a list of lists, like m = [ [1, 2, 3]. [4. 5. 6]. [7. 8. 9]. ] So, in this rectangular game field you'll be able to use x (horizontal axis) and y (vertical axis) for player position. The place (position) on this field would be m[y][x]. Also, you'll be able to check t...
by Alex
Wed Jun 28, 2023 5:53 pm
Forum: Ren'Py Questions and Announcements
Topic: How Do I Make a Fading Timer From Left to Right
Replies: 6
Views: 273

Re: How Do I Make a Fading Timer From Left to Right

galaga_ghost wrote: Wed Jun 28, 2023 3:37 pm ...The code said it's dissolve but it just kinda does more of a chop when time goes down.
Try 'Timed Choice Menus' instead - viewtopic.php?f=51&t=47328
by Alex
Wed Jun 28, 2023 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Question about viewport edge
Replies: 6
Views: 346

Re: Question about viewport edge

lignix wrote: Wed Jun 28, 2023 11:15 am Hello !

Is there a way to know if the viewport is completely scrolled to a side ?
...
This should help - viewtopic.php?f=8&t=66229#p558811
by Alex
Tue Jun 27, 2023 2:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Cycling through hotspots with keyboard controls?
Replies: 1
Views: 207

Re: Cycling through hotspots with keyboard controls?

GlitchyOddity wrote: Tue Jun 27, 2023 1:29 am ...I wanna cycle through hotspots using the arrow keys. ...
Just a thought, try to give ids for all the hotspots, make a list with those ids and make buttons cycle through this list and set focus to hotspot with id.

https://www.renpy.org/doc/html/screen_p ... .set_focus
by Alex
Sat Jun 24, 2023 5:40 am
Forum: Ren'Py Cookbook
Topic: Interaction Afterlife (restart interaction after it ended)
Replies: 7
Views: 1959

Re: Interaction Afterlife (restart interaction after it ended)

The purpose of the trick was to return to the original interaction, instead of losing it by standard Ren'Py ways. It's not about having different threads of dialogue and jumping here and there. (Which is a different idea, though interesting too, and I can imagine games that could use it... Affectin...