Search found 119 matches

by enaielei
Sat Dec 03, 2022 8:13 am
Forum: Ren'Py Questions and Announcements
Topic: I Need Help with an Item Description Screen.[SOLVED]
Replies: 2
Views: 101

Re: I Need Help with an Item Description Screen.

The item_info screen contains a for loop that goes through all the items in the inventory that's why it's showing all the descriptions. You need to pass the item to the item_info screen to display only a certain item. # Add item parameter to the item_info screen, the passed item will be contained in...
by enaielei
Tue Nov 22, 2022 4:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Could not find label "start"—but it *does* exist!
Replies: 15
Views: 300

Re: Could not find label "start"—but it *does* exist!

The traceback that you provided.
chrome_06gAlfPba2.png
(5.11 KiB) Not downloaded yet
It says here that the script file is in .py format. Ren'Py scripts ends with .rpy extension and not with .py.
by enaielei
Fri Nov 18, 2022 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]How to create customized tags?
Replies: 2
Views: 155

Re: How to create customized tags?

You can probably use hyperlink handlers.
The following is an example (untested).

Code: Select all

init python:
    config.hyperlink_handlers["play"] = renpy.play

label start:
    "{a=play:sound.mp3}click to play sound{/a}"
by enaielei
Sun Nov 06, 2022 9:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Custom choice button per scene
Replies: 6
Views: 262

Re: Custom choice button per scene

If you'll look into your screens.rpy there is a screen called "choice" there. In that screen, you can alter the textbutton a bit to look like this. # important to default your variable so it stays global and the screen wont throw any error. default choice_button_wide = False screen choice(items): .....
by enaielei
Tue Oct 25, 2022 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: Conditional Menu Options?
Replies: 5
Views: 291

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

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

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

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

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

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

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

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

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

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