Init Block and PC RAM

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
megabat
Newbie
Posts: 2
Joined: Wed Oct 07, 2009 5:34 am
Contact:

Init Block and PC RAM

#1 Post by megabat »

I was wondering...

In Ren'Py , we need to add all image files at the beginning of the script, to an Init block.
Does all this data, all the files we initialize there, load into the RAM? If so, what do I do if I have tons of pictures for my novel? :(
"Art is a way of life"

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Init Block and PC RAM

#2 Post by PyTom »

No. The only information that's kept in ram is a small pointer to the image. The image itself is loaded into ram shortly before it is used.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

megabat
Newbie
Posts: 2
Joined: Wed Oct 07, 2009 5:34 am
Contact:

Re: Init Block and PC RAM

#3 Post by megabat »

PyTom wrote:No. The only information that's kept in ram is a small pointer to the image. The image itself is loaded into ram shortly before it is used.
Then Ren'Py is exactly what I'm looking for. Thanks for reply! :D
"Art is a way of life"

Post Reply

Who is online

Users browsing this forum: BBN_VN