Project won't predict images

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
ThaGuyWithCake
Newbie
Posts: 4
Joined: Sat Mar 02, 2019 1:32 am
Soundcloud: thaguywithcake
Contact:

Project won't predict images

#1 Post by ThaGuyWithCake » Wed Mar 06, 2019 12:12 pm

For some reason whenever the character has dialogue the game lags. If It's just text dialogue with no name, there's no lag. So I used the F4 feature to detect what's being predicted and.. It's not predicting the gui namebox or other arbitrary images.

Yet based on documentation this syntax should work:

label start:
$ renpy.start_predict("gui/namebox *")

Any ideas why it's ignoring the predict?
I've tried this with other images as well, but they all ignore start_predict

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

Re: Project won't predict images

#2 Post by Imperf3kt » Wed Mar 06, 2019 4:58 pm

You shouldn't need to manually predict those images,.
What happens if you try to show the images, without forcing a predict?
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

ThaGuyWithCake
Newbie
Posts: 4
Joined: Sat Mar 02, 2019 1:32 am
Soundcloud: thaguywithcake
Contact:

Re: Project won't predict images

#3 Post by ThaGuyWithCake » Wed Mar 06, 2019 10:55 pm

If I try normally, it just fails to predict, yet shows the images anyway.
As I said, the game lags only whenever character dialogue occurs, so I'm not sure if there's a common underlying issue or not.

Post Reply

Who is online

Users browsing this forum: No registered users