Search found 114 matches

by enaielei
Tue Oct 25, 2022 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: Conditional Menu Options?
Replies: 5
Views: 124

Re: Conditional Menu Options?

The problem with how you set your variables is that it only gets set if the start label is reached. So if somehow you managed to skip the start label and jumped right into the label where these variables are being used, then that would be an error since the variables never got defined. Have a look a...
by enaielei
Sat Oct 22, 2022 1:32 am
Forum: Ren'Py Questions and Announcements
Topic: Frame corners cut off
Replies: 1
Views: 119

Re: Frame corners cut off

Try experimenting with the borders.
https://www.renpy.org/doc/html/displayables.html#Frame
by enaielei
Sun Oct 16, 2022 6:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Easy GUI Design?
Replies: 3
Views: 208

Re: Easy GUI Design?

https://www.renpy.org/doc/html/developer_tools.html#shift-r-reloading wrote:This allows the developer to make script changes with an external editor, and not have to exit and restart Ren'Py to see the effect of the changes.
by enaielei
Fri Oct 14, 2022 8:38 am
Forum: Ren'Py Questions and Announcements
Topic: Change renpy.input color mid-input for typing minigame
Replies: 2
Views: 211

Re: Change renpy.input color mid-input for typing minigame

You can try this. screen inp(reference): default correct = "#fff" default wrong = "#f00" default text = "" default value = ScreenVariableInputValue("text", returnable=True) $ color = correct if text == reference[:len(text)] else wrong vbox: hbox: text "Prompt:" text reference hbox: text "Input:" inp...
by enaielei
Tue Oct 04, 2022 7:15 am
Forum: Ren'Py Questions and Announcements
Topic: Posibility to check certain conditions before player can add points?
Replies: 4
Views: 260

Re: Posibility to check certain conditions before player can add points?

I'm guessing you're using the function this way? label start: $ bestfriendstatus = pres_aff_check() Then why not... init python: def limit_pres_aff(presaffpts, minpts=0, maxpts=100): ... def pres_aff_calc(): ... def pres_aff_check(): ... def add_rom(amount=0): if not bestfriendstatus: return preslov...
by enaielei
Tue Oct 04, 2022 12:12 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Video positioning
Replies: 6
Views: 242

Re: Video positioning

If you'll see the "show" example in my code, there are no quotes there.
by enaielei
Mon Oct 03, 2022 11:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Video positioning
Replies: 6
Views: 242

Re: Video positioning

Maybe try avoiding using the "image" word itself in naming your image.
You can also post here your full traceback.
by enaielei
Mon Oct 03, 2022 9:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Video positioning
Replies: 6
Views: 242

Re: Video positioning

Movie(fps=24, size=None, channel=u'movie', play=None, mask=None, mask_channel=None, image=None, play_callback=None, side_mask=False, loop=True, start_image=None, ** properties ) The properties parameter here is probably the one you're looking for. image my_image = Movie(..., align=(0.5, 0.5)) # pla...
by enaielei
Sun Oct 02, 2022 11:26 pm
Forum: Ren'Py Questions and Announcements
Topic: The difference between the two files "renpy" and "renpy-32"
Replies: 2
Views: 263

Re: The difference between the two files "renpy" and "renpy-32"

Yes.
Correct me if I'm wrong, but deleting the 32 bit executable of your renpy sdk doesnt make it build your game with only a.exe. That setting is up to your build options that you set when you build the game.
by enaielei
Fri Sep 30, 2022 1:03 pm
Forum: Ren'Py Questions and Announcements
Topic: pip3 install keyboard command not working
Replies: 6
Views: 379

Re: pip3 install keyboard command not working

Worked fine for me, didn't even have to elevate the command prompt. Make sure that your root directory is writable, in the attached picture, my project exists under my user/username folder, so that should be safe. In short, try placing your project in the most common folders such as Documents, etc. ...
by enaielei
Fri Sep 30, 2022 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: pip3 install keyboard command not working
Replies: 6
Views: 379

Re: pip3 install keyboard command not working

Try launching a terminal with elevated permissions.
A note also that if your whole path contains spaces or weird characters then enclose it with double quotes.
by enaielei
Thu Sep 29, 2022 2:05 pm
Forum: Ren'Py Questions and Announcements
Topic: defining style via python with different parent than style.default
Replies: 5
Views: 265

Re: defining style via python with different parent than style.default

Don't do it in python.

Code: Select all

style example is whatever:
   # properties
by enaielei
Wed Sep 28, 2022 12:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Action to move image and change variable on a Screen
Replies: 2
Views: 254

Re: Action to move image and change variable on a Screen

Screen timer s would probably help. Additionally, containing the transforms inside one transform might work. init python: def tfn(tr, st, at, callback=None): fn = callback if callable(fn): fn() renpy.restart_interaction() transform move_left(fn=None): toOffscreenLeft pause 1.0 # how long do we need ...
by enaielei
Tue Sep 27, 2022 3:04 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]Possible To Directly Link To An External URL From The Player Choice Menu?
Replies: 3
Views: 238

Re: Possible To Directly Link To An External URL From The Player Choice Menu?

Code: Select all

action openurl("https://www.yahoo.com")
should be

Code: Select all

$ renpy.run(OpenURL("https://www.yahoo.com"))
.