Search found 3097 matches

by Alex
Mon Aug 07, 2023 1:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Crashing while playing mini-game, click and hold
Replies: 2
Views: 571

Re: Crashing while playing mini-game, click and hold

Emperoxxx Anime wrote: Mon Aug 07, 2023 2:48 am ...
Just comment out this line

Code: Select all

from vec2d import vec2d
since 'vec2d' is not used in this code sample.
by Alex
Sat Aug 05, 2023 4:02 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Shooter Minigame Help - Seeking Refactoring/Organization Advice
Replies: 15
Views: 3094

Re: Shooter Minigame Help - Basic Randomization

thexerox123 wrote: Sat Aug 05, 2023 2:47 pm ...
For now you draw a player and a cloud over it (on a foreground). So try to add another cloud before player in render (at the background) and give it a different speed.
by Alex
Wed Aug 02, 2023 3:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Use a transition with python equivalent of call screen
Replies: 5
Views: 3886

Re: Use a transition with python equivalent of call screen

Misamor98 wrote: Wed Aug 02, 2023 1:54 pm ...
Try it like

Code: Select all

    $ With(Dissolve(2.0))() # a pair of extra brackets at the end
    $ renpy.call_screen("Overlay", _layer="screens")
https://www.renpy.org/doc/html/screen_actions.html#With
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: 337

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: 337

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: 181

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: 402

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: 1958

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: 887

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: 997

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: 997

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: 590

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: 216

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: 170

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: 590

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...