Default character placeholder label doesn't seem to update correctly

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
jdhthegr8
Regular
Posts: 25
Joined: Tue Feb 26, 2019 2:48 pm
Projects: Fractured Spirits- A war drama set in a fictional world with WW2/Cold War themes
Contact:

Default character placeholder label doesn't seem to update correctly

#1 Post by jdhthegr8 » Thu May 09, 2019 7:38 pm

Hello all,

I am just getting started with doing the first actual Ren'Py script out of my written story. At this point in time I have no graphics so I'm just letting the placeholder character do the job of showing poses and how it changes. I noticed that having another show statement with the same character does not seem to update correctly; it just blanks out the label on the placeholder rather than replacing it. At the line shown in the attached picture, "ang reading desk surprised" should be shown but it just cleared out "ang reading desk" instead.

This is not an issue if I add a hide statement before the next show statement but this is needlessly redundant and the documentation advises that this is unnecessary. Is this just a quirk specific to the placeholder character or am I missing something here? It'd be nice to be able to depict pose changes in the engine before I have to bother with any graphical assets
Attachments
Capture.PNG
Last edited by jdhthegr8 on Sat May 11, 2019 1:35 am, edited 1 time in total.

User avatar
mitoky
Veteran
Posts: 316
Joined: Sat Feb 07, 2015 9:12 pm
Projects: The Purring Demon's Love, circus eterie
Contact:

Re: Default character placeholder label doesn't seem to update correctly

#2 Post by mitoky » Fri May 10, 2019 5:04 am

You are one attribute short for "ang reading desk". Instead, make it "ang reading desk normal" and name the image accordingly.
Then it should work. (:

jdhthegr8
Regular
Posts: 25
Joined: Tue Feb 26, 2019 2:48 pm
Projects: Fractured Spirits- A war drama set in a fictional world with WW2/Cold War themes
Contact:

Re: Default character placeholder label doesn't seem to update correctly

#3 Post by jdhthegr8 » Sat May 11, 2019 1:13 am

Huh, interesting. After going further also I noticed that it seemed to no longer be an issue when I defined a position for the character at center and so had done that for the time being.
Last edited by jdhthegr8 on Sat May 11, 2019 2:00 am, edited 1 time in total.

jdhthegr8
Regular
Posts: 25
Joined: Tue Feb 26, 2019 2:48 pm
Projects: Fractured Spirits- A war drama set in a fictional world with WW2/Cold War themes
Contact:

Re: Default character placeholder label doesn't seem to update correctly

#4 Post by jdhthegr8 » Sat May 11, 2019 1:30 am

Adding "normal" didn't fix that particular issue even though defining the position did, but I notice you mentioned to "name the image accordingly", and since I'm not working with any images right now I suppose that would explain why. I suppose to be more specific in my question, what does the "normal" tag do when it's applied to an image? Should it be applied only to the character's base sprite before small modifications, or would it need to be applied to others? Would it only need to be used for the first instance of a character sprite being loaded into a scene or at other times as well? DISREGARD THAT I GET IT NOW! So to be more clear, however many types of variations you could have from the base sprite need to always be defined when a show statement is used for the character. Like for example, if between all my combinations of poses for a sprite I have modifiers for arms, mouth, eyes, and emotion and there is at least one show command that uses any combination of all four then four attributes always need to be explicitly defined.

So if this is in fact the case, does it mean I need a different image for the whole sprite or could my current plan of layered sprite parts still be done with this?
Thanks for your assistance, by the way!

User avatar
mitoky
Veteran
Posts: 316
Joined: Sat Feb 07, 2015 9:12 pm
Projects: The Purring Demon's Love, circus eterie
Contact:

Re: Default character placeholder label doesn't seem to update correctly

#5 Post by mitoky » Sun May 12, 2019 3:15 am

Ahh sorry, i didnt get notified that you replied and didnt check the thread;;

I checked again, yeah, usually it should show the imge since its the first one too. Thats weird;;
The reason i said normal you probably already figured out but basically its more even and that way you canm easier swap images. Its not necsassary, since you can just remove an attribute too but instead of "surprised" you can just write "normal" and its shorter.

Also you dont need to name the whole image when you show it, only the first time when it appears on screen. Afterwards only image tag (aka first word in image name, here would be "ang") + changing attribute (aka what changes, like "surprised") is enough.

jdhthegr8
Regular
Posts: 25
Joined: Tue Feb 26, 2019 2:48 pm
Projects: Fractured Spirits- A war drama set in a fictional world with WW2/Cold War themes
Contact:

Re: Default character placeholder label doesn't seem to update correctly

#6 Post by jdhthegr8 » Sun May 12, 2019 4:54 pm

Interesting. For now while I have only placeholders, defining the location works but I'm going to have to suck it up and get some sort of art made so I can experiment more with this. Actually now that I think of it I'm sure there are plenty of free-to-use sprite placeholders on here with a few poses that I could use for experimentation with image modification... Thanks for the assistance! I think that's what I'll look into next because I do want to be learning how this script actually relates to image positioning and editing: I'm a bit familiar with Python but the unique things that Ren'Py does are new to me!

Post Reply

Who is online

Users browsing this forum: Ace94, Bing [Bot], goldo, Google [Bot], LuckyT