Search found 154 matches

by strayerror
Wed Feb 20, 2019 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: layeredimage with dissolve
Replies: 1
Views: 200

Re: layeredimage with dissolve

I think you're meant to use it more like this, but haven't had a chance to test it:

Code: Select all

layeredimage bob:
	always:
		"bobBody.png"
	group face:
		attribute face1 default "bobface1.png"
		attribute face2 "bobface2.png"

label start:
	bob "Hello."
	show bob face2 with Dissolve(0.4)
	bob "Goodbye."
by strayerror
Tue Feb 19, 2019 7:00 pm
Forum: Ren'Py Questions and Announcements
Topic: image not displaying
Replies: 3
Views: 168

Re: image not displaying

Per K Grok is correct. It's also possible to use the as keyword to associate a tag with the shown images which lets renpy know it should replace them, rather than layer them, so this would also work and avoids the need to manage the hides manually, think of it as all the images belonging to a group,...
by strayerror
Tue Feb 19, 2019 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I hide the textbox when calling a screen?
Replies: 11
Views: 736

Re: How can I hide the textbox when calling a screen?

Would reordering slightly to achieve this be acceptible? It should be possible to do this: label some_label_name: show background beach eileen "Hello!" jack "Hello to you Eileen" call screen some_buttons # using call here will wait until the screen exits before proceeding return # this is just a saf...
by strayerror
Tue Feb 19, 2019 4:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Reserved names
Replies: 2
Views: 176

Re: Reserved names

I suspect that at least len may be problematic, as it's a commonly used top-level function in python. I'd expect redefining like this it to give you some grief.
by strayerror
Sun Feb 17, 2019 5:51 am
Forum: Ren'Py Questions and Announcements
Topic: How to make another "action"?
Replies: 2
Views: 188

Re: How to make another "action"?

You can provide more than one action by placing them in a tuple/list. So:

Code: Select all

action SetField(persistent, "badword", 0)
# would become 
action (SetField(persistent, "badword", 0), Return())
# or
action (SetField(persistent, "badword", 0), Jump('next_label'))
by strayerror
Thu Feb 14, 2019 7:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Displaying Image Function Positioning
Replies: 2
Views: 287

Re: Displaying Image Function Positioning

You're on the right track, but at_list is expecting an iterable type. In python that's typically a list or a tuple (although there are others). I've not had a chance to test this, but I believe you just need to wrap holdleft in a list. Here's a before and after: renpy.show(image, at_list=holdleft) #...
by strayerror
Tue Feb 12, 2019 7:14 am
Forum: Development of Ren'Py
Topic: Suggestion: Default transition/with for layeredimage groups
Replies: 4
Views: 614

Re: Suggestion: Default transition/with for layeredimage groups

Aha, that makes sense, thanks for explaining :)
by strayerror
Mon Feb 11, 2019 5:37 pm
Forum: Development of Ren'Py
Topic: Suggestion: Default transition/with for layeredimage groups
Replies: 4
Views: 614

Re: Suggestion: Default transition/with for layeredimage groups

Ooops, re-reading the OP I see I didn't do a great job of articulating the feature. This wasn't a suggestion that different parts of the LI use different transitions, only that when the LI knows an attribute within a certain group will be updated, it uses a transition against the entire LI, such tha...
by strayerror
Sun Feb 10, 2019 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make an exclamation mark dance over someone's head?
Replies: 7
Views: 526

Re: How to make an exclamation mark dance over someone's head?

Following on from Donmai's comment: I believe you'll get a syntax error if you try to use the at keyword twice on the same line, so you just need to stack them: label start: show e onlayer screens show exclamation at truecenter, shake onlayer screens Also, as an aside, the xalign 0.4 yalign 0.4 part...
by strayerror
Sun Feb 10, 2019 1:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Jump to variable determined label? (solved)
Replies: 10
Views: 6506

Re: Jump to variable determined label?

First, all of the options presented by xela will work for you. I'm just going to expand a little on the expression keyword, which is the way to do what you're asking without leaving renpy and jumping into python. The expression keyword causes the remainder of the line to be evaluated and the result ...
by strayerror
Sat Feb 09, 2019 4:43 am
Forum: Ren'Py Questions and Announcements
Topic: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
Replies: 3
Views: 566

Re: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?

Had a play around with this, definitely weird behaviour, unfortunately I didn't find anything useful, however I did find more weirdness. -screen main_menu(): +screen main_menu: Removing the parentheses on main_menu results in case 3 failing the same way. I haven't a clue as to why, or if it's relate...
by strayerror
Sat Feb 09, 2019 3:47 am
Forum: Development of Ren'Py
Topic: Suggestion: Default transition/with for layeredimage groups
Replies: 4
Views: 614

Suggestion: Default transition/with for layeredimage groups

The use case starts with having a pretty vanilla character layeredimage , with eyes, mouth, arms, torso group s. When changing facial expressions, which can happen often in dialogue, it's nice to have no transition at all keeping things nice and snappy, however when changing body positions (especial...
by strayerror
Fri Feb 08, 2019 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Suggestion: Could "say" auto clean up image tags?
Replies: 9
Views: 848

Re: Suggestion: Could "say" auto clean up image tags?

The @ delimiter sounds like a good choice to split the two attribute lists; persistent vs transient. So long as it's still possible to use persistent attribute mutations in the same line. i.e. e incredulous -blink @ talk -armcross "Didn't expect to see you here!" --- If you'll humour me, in a world ...
by strayerror
Fri Feb 08, 2019 3:42 am
Forum: Ren'Py Questions and Announcements
Topic: Suggestion: Could "say" auto clean up image tags?
Replies: 9
Views: 848

Re: Suggestion: Could "say" auto clean up image tags?

I really appreciate your input, and I apologise if I sounded unnecessarily defensive or combative, that wasn't my intent at all. I only sought to explain the suggestion more thoroughly, in the belief that config.speaking_attribute couldn't do what I needed, but from your reply I think perhaps I've m...
by strayerror
Fri Feb 08, 2019 1:52 am
Forum: Ren'Py Questions and Announcements
Topic: Suggestion: Could "say" auto clean up image tags?
Replies: 9
Views: 848

Re: Suggestion: Could "say" auto clean up image tags?

Thanks, that definitely very useful for basic cases, but unfortunately that doesn't really cover what I'm suggesting, although it's certainly related. config.speaking_attribute only kicks in when no other tags are provided to the say statement (so Bob would have to use one statement to switch to sur...