Search found 787 matches

by Remix
Sat Jun 16, 2018 6:49 am
Forum: Ren'Py Questions and Announcements
Topic: OverflowError: value too large to convert to short
Replies: 14
Views: 240

Re: OverflowError: value too large to convert to short

If you do not easily track down the issue with that method and if you are willing to, you could put the text part on google drive (or zip the current game would be nicer as the chosen font and settings will play their part) and one of us could take a look. Scanning the script for the error line coul...
by Remix
Fri Jun 15, 2018 5:24 am
Forum: Ren'Py Questions and Announcements
Topic: Adding/defining Numerical Variables
Replies: 5
Views: 85

Re: Adding/defining Numerical Variables

Just as an aside:

pumpkin spike probably meant <= (less than or equal to) and >= (greater than or equal to)

>> and << in python are used for bit shifting and will likely really confuse a non programmer:
27 << 2 = 108 ... ( 27 is 11011 in binary, left shift 2 is 1101100 which is 108 in decimal )
by Remix
Fri Jun 15, 2018 4:45 am
Forum: Ren'Py Questions and Announcements
Topic: "Glowing" text in Ren'Py? [solved]
Replies: 14
Views: 3022

Re: "Glowing" text in Ren'Py? [solved]

You could likely do it by declaring the outlines as a named style and then using inline style tags around the text:

Code: Select all

# untested
style outlined_text:
    outlines [ ... ]

label ...:
    "{=outlined_text}Some words{/=}"
by Remix
Thu Jun 14, 2018 7:17 pm
Forum: General Discussion
Topic: Renpy games on iPhone
Replies: 6
Views: 273

Re: Renpy games on iPhone

The Apple post-runner for OpenGL is afaik called Metal and Ren'Py will integrate with it smoothly (if all things go well), so there should be no worries about that future change. So saying, I'm droid here... who wants to pay an extra x00% for tech just because S.Jobs back in 2012 could draw a nice c...
by Remix
Thu Jun 14, 2018 3:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Extending Ren'Py visuals with custom OpenGL shaders
Replies: 8
Views: 1258

Re: Extending Ren'Py visuals with custom OpenGL shaders

You might note that there is consideration to expose some limited access to OpenGL shaders within some future version of Ren'Py. The full details haven't been disclosed though and (with all the other stuff on his plate) it might not be too high on RenpyTom's ToDo list. Don't expect too much, just ke...
by Remix
Mon Jun 11, 2018 7:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Main Menu That Adds A New Imagebutton After Each Ending?
Replies: 3
Views: 94

Re: Main Menu That Adds A New Imagebutton After Each Ending?

I would suggest, just make a persistent list of found endings, then iterate in the screen # a list we add each new ending to default persistent.found_endings = [] label test_run: n norm "Here is a test to see if this is going to work. Choose the ending you want." menu pick_an_ending: x "What ending ...
by Remix
Sun Jun 10, 2018 5:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Non Repeating Random without Infinite Loop Error
Replies: 7
Views: 112

Re: Non Repeating Random without Infinite Loop Error

You might also note there are methods of the python random module that might make things a lot easier, the primary one being sample() which returns x number of distinct choices from a list. Once they are chosen, you can then rebuild your initial list by leaving out the chosen items. Note: we have to...
by Remix
Sun Jun 10, 2018 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Am I Downloading The Right Ren'Py Version?
Replies: 8
Views: 152

Re: Am I Downloading The Right Ren'Py Version?

Is there a folder named "renpy-7.0.0.x-sdk" or similar with a renpy.exe in it?
(has been a while since I installed, so I forget how it went)

If so, click that... maybe even add a shortcut to it on your desktop or taskbar.
by Remix
Sat Jun 09, 2018 3:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable name / The separation of the namespace
Replies: 7
Views: 158

Re: Variable name / The separation of the namespace

I was thinking something a lot more dynamic... basically let the code do the heavy lifting so you can just concentrate on writing labels etc and expect them to automatically patch into your framework The following code snippet does most of that with a focus on looking expressly for files named 'ente...
by Remix
Sat Jun 09, 2018 4:11 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to pass on a parameter to a another screen?
Replies: 4
Views: 104

Re: Is it possible to pass on a parameter to a another screen?

Ah, the good old "reply before checking whether the other Action supports parameters" mistake... oops. (must have had it muddled with inline show or some other thing) So saying, the Function action is generally a good one to teach (and learn) as it always supports passig *args and **kwargs. Well spo...
by Remix
Sat Jun 09, 2018 3:24 am
Forum: Ren'Py Questions and Announcements
Topic: Is it possible to pass on a parameter to a another screen?
Replies: 4
Views: 104

Re: Is it possible to pass on a parameter to a another screen?

action [ Function( renpy.show_screen, "test2", pic1 ) ]
by Remix
Fri Jun 08, 2018 6:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Variable name / The separation of the namespace
Replies: 7
Views: 158

Re: Variable name / The separation of the namespace

As kivik says, most of your options are dependent on your use requirements and in general highly dependent upon your rigidity of naming protocol. Personally I would create a folder hierarchy that reflects the locations and use a class to automatically explore that to dynamically build all the locati...
by Remix
Fri Jun 08, 2018 12:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Tracking an imagebutton location within a screen
Replies: 5
Views: 122

Re: Tracking an imagebutton location within a screen

Regarding this one, so this is the reason why my map lights up despite the imagebuttons not being displayed yet. Is there any way to get around this? Or perhaps a better way to code what I'm trying to achieve? Generally, within a screen, only alter external variables through use of Actions on butto...
by Remix
Fri Jun 08, 2018 3:59 am
Forum: Ren'Py Questions and Announcements
Topic: Side Image [SOLVED]
Replies: 12
Views: 152

Re: Side Image [SOLVED]

Just for info (as you already have a working solution): Character objects hold their image attribute internally as self.image_tag so rather than s.image = "Sketch" you would have wanted s.image_tag = "Sketch" On an aside and just as advice for the OP; It might be a good idea to decide upon and stick...
by Remix
Fri Jun 08, 2018 3:38 am
Forum: Ren'Py Questions and Announcements
Topic: How do I disable key focusing on quick menu?
Replies: 4
Views: 102

Re: How do I disable key focusing on quick menu?

Find the screen in screens.rpy and amend the buttons to include the attribute:

keyboard_focus - False

Code: Select all

    textbutton _("Q.Save") action QuickSave() keyboard_focus False
It also might be possible (and easier) to add it to the quick_button style