Search found 1628 matches
- Wed Jun 14, 2017 11:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Context Sensitive Imagebutton?
- Replies: 5
- Views: 1551
Re: Context Sensitive Imagebutton?
On an aside, if you are doing lots of logic to determine where the jump lands you could wrap that all in a python function (or class method perhaps) and remap the jumped to label name to that function... e.g. label start: "Hello, world." python: from random import choice def redirectA(): r...
- Tue Jun 13, 2017 7:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: Need help with changing text position [solved]
- Replies: 2
- Views: 5499
Re: Need help with changing text position
In gui.rpy, try tweaking a few settings to shift the name to where you want it. You might also want to add a bit of style to it, maybe give it its own frame...
Code: Select all
define gui.name_xpos = 40
define gui.name_ypos = -64
- Thu Jun 08, 2017 11:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Can you make frames transparent? [SOLVED]
- Replies: 7
- Views: 8152
Re: Can you make frames transparent?
If you are using some auto-stretching image as the background of the frame you can use something along the lines of: background Frame( im.MatrixColor( "gui/chrome_edge.name.png", im.matrix.brightness(gui.namebox_brightness) * im.matrix.opacity(gui.namebox_opacity)), 30, 30) With the variab...
- Thu Jun 08, 2017 9:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'py Python library support [SOLVED]
- Replies: 2
- Views: 1614
Re: Ren'py Python library support
You can easily add any python library that uses only python... a bit trickier if the library uses a layer written in C or Java or whatever though. Just download the library_definition.py file and throw it in the 'game' folder. You may need to also download libraries that that library depends upon, o...
- Thu Jun 08, 2017 5:18 am
- Forum: Creator Discussion
- Topic: Mini-games you would like to see in a game?
- Replies: 10
- Views: 4487
Re: Mini-games you would like to see in a game?
I'd like to see more hidden object mini-games. They have a nostalgic quality: They remind me of the early I-SPY computer game series. Also quite a favourite of mine. At some stage I will probably start throwing together a generic handler for these type features. Ren'py looks to have the ability wit...
- Wed Jun 07, 2017 6:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: Print a list on screen
- Replies: 3
- Views: 1941
Re: Print a list on screen
The show expression (__call__) part basically just takes a python call that returns something. It could be a function, a class method, user defined text interpolation or whatever. The Text(__some_stringy_type_thing__) part removes the unicode (u'') bits as it coerces the stringy type thing into a st...
- Wed Jun 07, 2017 6:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Print a list on screen
- Replies: 3
- Views: 1941
Re: Print a list on screen
Code: Select all
show expression (Text('\n'.join(inventory))) at truecenter
- Tue May 30, 2017 7:07 am
- Forum: Ren'Py Questions and Announcements
- Topic: A little problem with instances[SOLVED]
- Replies: 4
- Views: 810
Re: A little problem with instances
Also remember that when you do reference_name = Element(arguments) you are instantiating an object with that reference, so anything later in the code that uses that reference is just pointing at that single one instance of the object. Think of it like making some word docs in one global folder, call...