Search found 678 matches

by Divona
Mon Oct 30, 2017 10:43 am
Forum: Ren'Py Questions and Announcements
Topic: <<Solved>> Change values for the unnamed "narrator"
Replies: 3
Views: 326

Re: <<Solved>> Change values for the unnamed "narrator"

Narrator is a character, you can still define them like other characters: define narrator = Character( what_font = "DomCasual BT.ttf", what_color = "#000", what_xsize = 784, what_size = 28, what_justify = True, what_xpos = 390, what_ypos = 890, window_background = bgnarr )
by Divona
Mon Oct 30, 2017 6:43 am
Forum: Ren'Py Questions and Announcements
Topic: How to handle user inputs?
Replies: 3
Views: 203

Re: How to handle user inputs?

Code: Select all

$ input_answer = renpy.input("The quick brown ___ jumps over the lazy dog. What's the missing word?")
$ input_answer = input_answer.strip()
$ input_answer = input_answer.lower()

if input_answer == "fox":
    jump label2
else:
    jump label1
For more information, see Text Input.
by Divona
Mon Oct 30, 2017 5:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] "Tap to Start" in Android. Help!
Replies: 2
Views: 258

Re: "Tap to Start" in Android. Help!

Something like this: screen tap_main_menu_1(): add "#000" text "Tap to Start" xalign 0.5 yalign 0.5 key "mousedown_1" action Show("tap_main_menu_2") screen tap_main_menu_2(): add "#000" vbox: xalign 0.5 yalign 0.5 textbutton "START" action Start() textbutton "CONTINUE" action ShowMenu("load") textbu...
by Divona
Mon Oct 30, 2017 12:15 am
Forum: Ren'Py Questions and Announcements
Topic: Rollback error, before "label start:"
Replies: 8
Views: 536

Re: Rollback error, before "label start:"

I have managed to recreate the problem in a new project. Problem seems to be with "pause" without give it delay time and using it in "splashscreen". There is no issue when using like this: label splashscreen: scene begin 00 with Pause(100) scene begin 01 $ renpy.pause(100) scene begin 02 $ renpy.pau...
by Divona
Sun Oct 29, 2017 10:39 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Strange problem with achievements
Replies: 10
Views: 634

Re: Strange problem with achievements

What strike me as odd is this part of the traceback: File "game/kiko_1.rpy", line 903, in <module> $ get_achievement("Kiko_Completed", trans=achievement_transform) File "game/achievement.rpy", line 66, in get_achievement ach = persistent.achievements_dict[ach_id] KeyError: u'KikoCompleted' First we ...
by Divona
Sun Oct 29, 2017 11:03 am
Forum: Ren'Py Questions and Announcements
Topic: <<solved>> (Unrelated issue) show onlayer at position... need both.
Replies: 2
Views: 181

Re: show onlayer at position... need both.

I have no issue using "show myimage onlayer overlay at Positon(xalign=0.5, yalign=0.7)" to have image show above the textbox (well, had to shuffle say_layer around and put that image on a layer above it). What is this error you ran into?
by Divona
Sun Oct 29, 2017 8:43 am
Forum: Ren'Py Questions and Announcements
Topic: Difficulty with pauses between images
Replies: 3
Views: 204

Re: Difficulty with pauses between images

Is this what you're after?: image dark = "#000" image card space1 = "card_space1.png" image card space2 = "card_space2.png" label off_to_meet_vinny: scene dark with dissolve show card space1 at truecenter with dissolve pause 5.0 show card space2 pause 5.0 scene bg spacepod with dissolve If you want ...
by Divona
Sun Oct 29, 2017 5:28 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Changing textbox in Android
Replies: 3
Views: 242

Re: Changing textbox in Android

Either replace "game/gui/phone/textbox.png" with the new textbox file or edit screens.rpy and point to correct file path:

Code: Select all

style window:
    variant "small"
    background "gui/phone/textbox.png"
by Divona
Sun Oct 29, 2017 5:21 am
Forum: Ren'Py Questions and Announcements
Topic: <<Resolved>> Can't get side images to show
Replies: 6
Views: 361

Re: Can't get side images to show

Is there a way to reposition all side-images, without having to define each individual images location with the image deff? ("side you happy", "side you upset"... etc...) It shows on the left, and I need all the protagonist images on the right side. (Only the protagonist images.) Not sure about the...
by Divona
Sun Oct 29, 2017 4:03 am
Forum: Ren'Py Questions and Announcements
Topic: <<Resolved>> Can't get side images to show
Replies: 6
Views: 361

Re: Can't get side images to show

"side you.png" not "side_you.png"
We look for an image with the "side" tag, and as many of those attributes as possible - and we match "side eileen happy", which is the side image Ren'Py will display.
by Divona
Sun Oct 29, 2017 12:57 am
Forum: Ren'Py Questions and Announcements
Topic: Can I use a variable as file name for a displayable?
Replies: 6
Views: 778

Re: Can I use a variable as file name for a displayable?

Hi, I'm having a problem with this too, but I've tried both DynamicImage (and DynamicDisplayable) and ConditionSwitch, among some other things, and I'm still having trouble. What I want to do is create a shooter mini-game where the background changes depending on the player's surroundings during th...
by Divona
Sun Oct 29, 2017 12:01 am
Forum: Ren'Py Questions and Announcements
Topic: <<Solved>>How to get rid of text on menu gui?
Replies: 4
Views: 283

Re: How to get rid of text on menu gui?

I had it set to false and it still shows up. I can't find anything else that resembles this. I'm really confused :/ There are two places. One in "gui.rpy" and another one in "options.rpy". You have to set both to False. gui.rpy ## Should we show the name and version of the game? define gui.show_nam...
by Divona
Sat Oct 28, 2017 11:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Customize the new GUI (Text, credits option, meter)
Replies: 6
Views: 665

Re: Customize the new GUI (Text, credits option, meter)

Variable won't update itself. You have to assign/update those variables everytime you change "day" and "hours_number". define hour = ["Morning", "Noon", "Afternoon", "Evening"] define daynames = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] default day = 0 default hours_number = 0 init python: d...
by Divona
Sat Oct 28, 2017 11:27 pm
Forum: Ren'Py Questions and Announcements
Topic: <<Solved>>Image not found error
Replies: 2
Views: 197

Re: Image not found error

When I try to show a character sprite, for some reason certain expressions don't work. If I go a few lines further into the game, then the "happy" sprite for the character works, but some of the others ones don't. I'm not sure why this is a problem. They're all saved in the same location, same size...
by Divona
Sat Oct 28, 2017 12:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Exception: could not find font [SOLVED]
Replies: 11
Views: 1064

Re: Exception: could not find font

ghostlyfraggle wrote:
Sat Oct 28, 2017 12:32 pm
vollschauer wrote:
Sat Oct 28, 2017 12:29 pm
The issue is your typo ....
What typo? I don't see a typo
Is this the font you're trying to use?
https://www.dafont.com/espresso-dolce.font

Code: Select all

Exception: Could not find font u'EspressoDolche.ttf'.