I continue to have an issue where when I update a version, and I'm only adding stuff onto it at the end, pictures for the characters in the middle stop loading. Even though the code hasn't changed and the picture hasn't changed, and that picture works just fine in other sections, it'll cease to load in a random area, in every load.
So sure, I just replace every image with [imagename2] and continue (which is not great), but now my transform for an image location isn't loading, and just dumps and image onto the screen. Again, works fine for every other instance, but I try and use it in this new version, and it won't even recognise it.
Why does the engine work fine sometimes, but completely ignore lines other times?
How do I fix this infuriating problem?
Pictures not displaying
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.
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.
- CutlassBoardgame
- Regular
- Posts: 27
- Joined: Sun Jan 03, 2021 6:23 am
- Projects: Winning Love by Daylight
- Organization: Cutlass Boardgames
- itch: cutlassboardgame
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: Pictures not displaying
Without code examples, we cannot offer help as we don't know what could be going on, but I suspect, based on what you have provided, that you have declared these images inside a label?
Be sure to use default to declare variables that will change, outside of any label.
See this post by Trooper6 for a better explanation.
viewtopic.php?t=50964#p491435
Be sure to use default to declare variables that will change, outside of any label.
See this post by Trooper6 for a better explanation.
viewtopic.php?t=50964#p491435
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
- CutlassBoardgame
- Regular
- Posts: 27
- Joined: Sun Jan 03, 2021 6:23 am
- Projects: Winning Love by Daylight
- Organization: Cutlass Boardgames
- itch: cutlassboardgame
- Contact:
Re: Pictures not displaying
To help, we need to see a chunk of the code that is not working. Please copy and paste a section where you've had trouble.
Also:
* Are you distributing this code?
* How are you distributing it? Are you building a full distribution each time, or trying to do incremental updates?
* Does everyone who plays it have the same issue?
* Does everyone have the issue with the same image?
* What OS are you using? Do people using a different OS have the same problem?
* What version of Renpy are you building with?
Also:
* Are you distributing this code?
* How are you distributing it? Are you building a full distribution each time, or trying to do incremental updates?
* Does everyone who plays it have the same issue?
* Does everyone have the issue with the same image?
* What OS are you using? Do people using a different OS have the same problem?
* What version of Renpy are you building with?
colin r
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
➔ if you're an artist and need a bit of help coding your game, feel free to send me a PM
Who is online
Users browsing this forum: Bing [Bot], miro4D2, Ocelot, _ticlock_

