How do you make the game scriptly delete files in renpy

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
Just A Game Dev
Newbie
Posts: 4
Joined: Mon Jan 01, 2018 3:23 pm
Projects: Achter gesloten deuren
Contact:

How do you make the game scriptly delete files in renpy

#1 Post by Just A Game Dev »

I'm working on a renpy game which involves a lot of messing with one character's files (cause it has character files that I added)
And for a layer of mystery I want the character file of her to disappear everytime she's off screen and appear when she's on screen.
(Kind of like a mechanism from doki doki literature club) And I want other files to appear to add a layer of mystery.

Does anyone know how to do that since I'm a total newb

User avatar
nature1996
Regular
Posts: 62
Joined: Wed Jun 21, 2017 10:35 am
Contact:

Re: How do you make the game scriptly delete files in renpy

#2 Post by nature1996 »

First, no question can be stupid, only answer can be.

Second, you will probably need to use python instead of ren'py language to do what you want. Try to do a google search on how to create, write and delete file in python, that might push you in the right direction.

Also, never forget the Ren'Py manual: https://www.renpy.org/doc/html/. This is where I find most of the answer I'm looking for.
Je parle aussi français

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]