[ADDED VIDEO] BUG - Random show commands not working

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
CutlassBoardgame
Regular
Posts: 27
Joined: Sun Jan 03, 2021 6:23 am
Projects: Winning Love by Daylight
Organization: Cutlass Boardgames
itch: cutlassboardgame
Contact:

[ADDED VIDEO] BUG - Random show commands not working

#1 Post by CutlassBoardgame »

Throughout my project random show commands are stopping working. Initially I could fix a character not showing up, by making a copy of the image, and pasting it in the same file with a different name, but it doesn't work anymore.

The code is literally

show maya7 at left

and it already works in other places in the project.

I've since made a duplicate of the image, and replaced it in a place where it wasn't working which was:

show maya8 at left

which worked until I went and changed a 7 to an 8 in a second location, and now the first maya8 won't work.
Lint shows nothing, no errors on launch, just the art won't show up.
please help, this is killing me
Last edited by CutlassBoardgame on Fri Sep 03, 2021 2:06 am, edited 1 time in total.
Image

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2402
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: BUG - Random show commands not working

#2 Post by Ocelot »

I have a suspiction that you never hide images.
Try to do:

Code: Select all

hide maya7
show maya7 at left
If this works, then you will need to fix another problem before you run into it.
< < insert Rick Cook quote here > >

CutlassBoardgame
Regular
Posts: 27
Joined: Sun Jan 03, 2021 6:23 am
Projects: Winning Love by Daylight
Organization: Cutlass Boardgames
itch: cutlassboardgame
Contact:

Re: BUG - Random show commands not working

#3 Post by CutlassBoardgame »

No, I show and hide after each instance, usually it surrounds a specific line of dialogue.


Also, I just loaded a save on one of these hidden image points, and the image was there, but when I clicked back it wouldn't load it anymore.
Image

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: BUG - Random show commands not working

#4 Post by Imperf3kt »

Have you accidentally copied and pasted an extra space (or one too little)?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

CutlassBoardgame
Regular
Posts: 27
Joined: Sun Jan 03, 2021 6:23 am
Projects: Winning Love by Daylight
Organization: Cutlass Boardgames
itch: cutlassboardgame
Contact:

Re: BUG - Random show commands not working

#5 Post by CutlassBoardgame »

Imperf3kt wrote: Thu Sep 02, 2021 4:35 pm Have you accidentally copied and pasted an extra space (or one too little)?
Nope just double checked this. I'm telling you, it's not on my end, because it works one minute, and then doesn't work without me changing anything.
Image

User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: BUG - Random show commands not working

#6 Post by Alex »

CutlassBoardgame wrote: Thu Sep 02, 2021 2:30 pm ...
Try to rename your characters like

Code: Select all

maya p7
maya p8
So, 'maya' would be the tag for all maya images, and only one of them could be shown on screeen at a time.

CutlassBoardgame
Regular
Posts: 27
Joined: Sun Jan 03, 2021 6:23 am
Projects: Winning Love by Daylight
Organization: Cutlass Boardgames
itch: cutlassboardgame
Contact:

Re: [ADDED VIDEO] BUG - Random show commands not working

#7 Post by CutlassBoardgame »

Here is a video with annotations showing the issue.
https://www.youtube.com/watch?v=7q6Z6S8 ... sBoardgame

The maya images don't show up at all playing through chronologically, loading that save is the only time it shows up. The "maya7" image is used about 70 times elsewhere in the project.
(l - Alannah Dialogue, m - maya dialogue)

Code: Select all

l "Oh.."
hide alannah7
show maya7 at left
m "Look man, what do you want?"
"Skeleton King" "I'm here to ruin the prom, isn't that tonight?"
"Skeleton King" "I don't see any decorations up or anything."
m "That's at the end of the week!"
"Skeleton King" "What day is it now? Friday, right?"
hide maya7
show alannah5 at left
l "It's tuesday."

Image

Post Reply

Who is online

Users browsing this forum: Bing [Bot], voluorem