Search found 1903 matches

by Alex
Thu Jun 14, 2018 2:53 pm
Forum: Ren'Py Cookbook
Topic: Simple minigames (Screen Language only).
Replies: 60
Views: 25167

Re: Simple minigames (Screen Language only).

Hello~
Hm, so what's the problem with timer? Is it work at all, if so then what it did wrong? And what's the code you have?
by Alex
Thu May 31, 2018 4:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Remembering Choices
Replies: 3
Views: 108

Re: Remembering Choices

So, what's the code you've found (some outdated code might still work)?
To remember choices you might use some flags/variables, and change their values when player make a choice, like - https://www.renpy.org/doc/html/quicksta ... statements
by Alex
Thu May 17, 2018 3:36 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with making choices menu
Replies: 6
Views: 172

Re: Problem with making choices menu

Check the "How does indentation work? What are blocks?" paragraph here - https://www.renpy.org/wiki/renpy/doc/FAQ (it is near the bottom of content) to see the graphical explanation.
by Alex
Mon May 14, 2018 9:59 am
Forum: Ren'Py Questions and Announcements
Topic: Using renpy.random.randint - not working?
Replies: 3
Views: 143

Re: Using renpy.random.randint - not working?

Code: Select all

show red car:
        xalign 1.0
Looks like your car is already at finis line, try to change the position

Code: Select all

show red car:
        xalign 0.0 
by Alex
Sat May 12, 2018 5:44 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Using conditional statements within dialogue
Replies: 10
Views: 315

Re: Using conditional statements within dialogue

Try something like label start: $ k_gender = "Man" if k_gender == "Man": $ var = "he" elif k_gender == "Woman": $ var = "she" else: $ var = "they" "Brushing your teeth, you contemplate your day tomorrow. The CEO had mentioned an important meeting [var] wanted you to attend." https://www.renpy.org/do...
by Alex
Sat May 12, 2018 1:44 pm
Forum: Ren'Py Questions and Announcements
Topic: dissolve that delete screen
Replies: 2
Views: 158

Re: dissolve that delete screen

Check if you realy

Code: Select all

show img with dissolve
and not

Code: Select all

scene img with dissolve
If it's not the issue then post your code: image declaration, line that shows this image, and attach the image itself.
by Alex
Sat May 12, 2018 4:26 am
Forum: Ren'Py Questions and Announcements
Topic: Entire scene playing twice instead of once
Replies: 9
Views: 175

Re: Entire scene playing twice instead of once

Code: Select all

hotspot (569,934,126,65) action ShowMenu('start')
This action is definitely wrong - check the original screens.rpy code (there's Start action to start the game - https://www.renpy.org/doc/html/screen_a ... html#Start)
by Alex
Sat May 12, 2018 4:18 am
Forum: Ren'Py Questions and Announcements
Topic: How to call for a variable within a factor scale
Replies: 21
Views: 306

Re: How to call for a variable within a factor scale

There was a post about how things work in Ren'Py - https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=39572 And for your main question, I'm not quite understand what you try to achieve - declare lots of images in a loop using variable for the part of their names or create an image that will chan...
by Alex
Fri May 11, 2018 6:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Entire scene playing twice instead of once
Replies: 9
Views: 175

Re: Entire scene playing twice instead of once

Yes, did you change the main menu code? Try to create the new project and copy/paste your code into it.
by Alex
Fri May 11, 2018 2:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Entire scene playing twice instead of once
Replies: 9
Views: 175

Re: Entire scene playing twice instead of once

And what about the "start" button in main menu and splashscreen as well?
by Alex
Thu May 03, 2018 1:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] how can I append my own function to the keymap?
Replies: 8
Views: 139

Re: how can I append my own function to the keymap?

Actually you don't need to call it, just show this screen at the very beginning of the start label and don't hide it, as everybody suggest.
by Alex
Wed May 02, 2018 7:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Removing values from a random list?
Replies: 6
Views: 174

Re: Removing values from a random list?

This should help - https://docs.python.org/2.7/tutorial/datastructures.html?highlight=data%20structures Or this...)) https://docs.python.org/2.7/library/random.html?highlight=sample#random.sampl e label start: $ f_list = ["orange", "apple", "plum", "pear", "lemon"] $ x = renpy.random.sample(range(5)...