Search found 3094 matches

by Alex
Wed Jul 26, 2023 3:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Making tooltips disappear when the mouse is not hovering over the word
Replies: 5
Views: 303

Re: Making tooltips disappear when the mouse is not hovering over the word

BeepBoop wrote: Wed Jul 26, 2023 2:16 pm ...It's giving me this error. ...
You did something wrong with your code - all you have to do is just add one line (marked in my post) to the code you've posted in first post.
by Alex
Wed Jul 26, 2023 2:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Making tooltips disappear when the mouse is not hovering over the word
Replies: 5
Views: 303

Re: Making tooltips disappear when the mouse is not hovering over the word

...So far, I've tried removing the timer, but the tooltip stays up once the player hovers their mouse over it. Any ideas?... Try def hyperlink_hovered(*args): if not args[0]: # Ren'Py 7+ recent nightly only, see below renpy.hide_screen("lexicon_popup") renpy.restart_interaction() # <--- e...
by Alex
Tue Jul 25, 2023 1:36 pm
Forum: Ren'Py Questions and Announcements
Topic: help... trying to pause the game
Replies: 1
Views: 153

Re: help... trying to pause the game

Rnot2000 wrote: Tue Jul 25, 2023 6:51 am ...i try to pause the game ...
Try this - https://www.renpy.org/doc/html/statemen ... enpy.pause
by Alex
Mon Jul 24, 2023 3:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Switch variable at random intervals.
Replies: 2
Views: 314

Re: Switch variable at random intervals.

... In your code you: - declared changable global variable 'watched', - set 'currentwatch' variable to False at every game start, - created the 'swapWatch' function that takes 'currentwatch' argument. In 'swapWatch' function: - if given argument is True, you set the local (related only to this func...
by Alex
Wed Jul 19, 2023 1:12 pm
Forum: Creator Discussion
Topic: Technical support - implement a video
Replies: 6
Views: 1766

Re: Technical support - implement a video

The original video was in mp4-format. Used the page "https://video-converter.com/de/" to convert it into a webm file, with VP9 and Vorbis. I´m getting really paranoid :cry: Even tried importing a video from another project, which worked in their script and tried using that for experimenta...
by Alex
Tue Jul 18, 2023 3:26 pm
Forum: Ren'Py Questions and Announcements
Topic: How to show a potentially infinite list in a screen
Replies: 4
Views: 373

Re: How to show a potentially infinite list in a screen

abduhl wrote: Tue Jul 18, 2023 1:25 pm ...
For your first approach try

Code: Select all

for i in range(len(guys)):
by Alex
Tue Jul 18, 2023 3:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Music Player showing same title for different songs
Replies: 4
Views: 727

Re: Music Player showing same title for different songs

... Well, you've added your tunes to the musicroom and make them set some variables on play: mr.add(track[0], always_unlocked = True, action=[SetVariable('current_track', track[0]), SetVariable("song_name",track[1]),SetVariable("song_description",track[2])]) but you didn't use i...
by Alex
Sun Jul 16, 2023 3:45 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Music Player showing same title for different songs
Replies: 4
Views: 727

Re: Music Player showing same title for different songs

... its showing the same track name for every song. ... You have 'song_name' and 'song_description' set during the init phase and they have the last values from 'song_list' list. In your screen you need to use a function to get tune that is playing. Also, you'll need renpy.restart_interaction() in ...
by Alex
Fri Jul 14, 2023 2:03 pm
Forum: Ren'Py Questions and Announcements
Topic: My Ninja Way: need help with the correctness of writing lines of code
Replies: 9
Views: 494

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

I do not know how to fix it. I also changed this part with all the call values, but it doesn't come out. Try to "execute" your code line by line by yourself to find the problem part. As I see it: - player jumps to some location (like 'house_street' label, so location 'variable' value beca...
by Alex
Wed Jul 12, 2023 2:33 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disabling viewport movement
Replies: 2
Views: 194

Re: Disabling viewport movement

lignix wrote: Mon Jul 10, 2023 6:15 pm ...
Try to make the 'panel_open' screen to be the modal one - https://www.renpy.org/doc/html/screens. ... -statement
by Alex
Wed Jul 12, 2023 1:23 pm
Forum: Ren'Py Questions and Announcements
Topic: 1415x3353 sprite incorectly shows ingame
Replies: 1
Views: 157

Re: 1415x3353 sprite incorectly shows ingame

This might be the problem with video card drivers on your comp.
by Alex
Sun Jul 09, 2023 2:27 pm
Forum: Ren'Py Questions and Announcements
Topic: My Ninja Way: need help with the correctness of writing lines of code
Replies: 9
Views: 494

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

... label newday: show screen DayDisplay call statlock if location == 'street': jump house_street elif location == 'yard': jump house_yard else: if energy == 3: call morning elif energy == 2: call day elif energy == 1: call night else: if extra_rest == True: You need to correct this part, 'cause fo...
by Alex
Sun Jul 09, 2023 9:53 am
Forum: Ren'Py Questions and Announcements
Topic: Player controlled sprites?
Replies: 1
Views: 110

Re: Player controlled sprites?

Hi there! I was wondering if it's possible to have a sprite be controlled by the player and if yes, how? ... This might give you an idea how you can do it: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=52871 https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=59039 https://lemma...
by Alex
Sun Jul 09, 2023 7:15 am
Forum: Ren'Py Questions and Announcements
Topic: My Ninja Way: need help with the correctness of writing lines of code
Replies: 9
Views: 494

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

... So, what's wrong with this code? How does player reach the label 'house_street' (label was called or jumped to) or is it the main location? When player reaches the 'house_yard' (s)he can return back to 'house_street' without losing energy - is this correct? If player choose to wait at 'house_ya...