Search found 27 matches
- Sat Apr 10, 2021 9:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Changing the font color based on if the player has seen the text before?
- Replies: 4
- Views: 539
Re: Changing the font color based on if the player has seen the text before?
You're right, persistent data is a thing . I did a test for you with a fresh project cleaned of all persistent data ; here is my game/script.rpy file: label start: python: print(renpy.game.persistent._seen_ever) "Let's do this" python: print(renpy.game.persistent._seen_ever) Output: {u'_call__load_r...
- Sat Apr 10, 2021 4:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is it possible for the script to recognise game files?
- Replies: 14
- Views: 2287
Re: Is it possible for the script to recognise game files?
Well, RicharDann provided a solution that seems perfectly fine a few posts ago.
Anything your don't understand with it?
Anything your don't understand with it?
- Sat Apr 10, 2021 4:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: Why are things going wrong with reloading games?
- Replies: 1
- Views: 457
Re: Why are things going wrong with reloading games?
Without a specific example illustrating a case where "things go wrong after rollback", it's difficult to give a definitive answer. Although I agree with you in principle that not cancelling operations properly is a recipe for failure, in my (~6 hours) experience with Ren'Py, I feel that data being n...
- Sat Apr 10, 2021 3:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: (Solved) Changing the font color based on if the player has seen the text before?
- Replies: 4
- Views: 539
Re: Changing the font color based on if the player has seen the text before?
Maybe something along the lines of : put each line of dialogue you want to be remembered in as specific label . in each label, display your successive dialogue lines, ie. the whole text "thread" up to the moment the user has to make a choice. Then (before doing anything other, like displaying menu c...
- Sat Apr 10, 2021 3:43 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
- Replies: 6
- Views: 585
Re: Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
Software developpers can be principled individuals, so your guilty adhesion to Notepad is perfectly normal lol :wink: As for your solution, in the first test it worked like it should. We'll see about possible side effects in the future, but I'm sure it will be fine :D Glad to hear that. Remember you...
- Fri Apr 09, 2021 3:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Uploading renpy game to Github - .zip too large
- Replies: 1
- Views: 372
Re: Uploading renpy game to Github - .zip too large
You shouldn't. The only stuff your git repo should contain is everything that is needed for your application to be built. This means: source files ( .rpy , .py files) resources files (images, sounds, ...) configuration files ( .rpy , .py files) build scripts Your dependencies (heck, even renpy itsel...
- Fri Apr 09, 2021 3:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Detect if running on RenpyWeb
- Replies: 3
- Views: 570
Re: Detect if running on RenpyWeb
I've never used RenpyWeb, so I suggest you either : try to do with Python anything that would fail inside a browser (eg. writing a file on disk, doing a system call, ...) and try / except it : if you catch an error, is_renpy_web would be True . ask your question by creating a ticket on renpyweb proj...
- Fri Apr 09, 2021 1:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Dynamic Character skin color change
- Replies: 3
- Views: 541
[SOLVED] Dynamic Character skin color change
Hi, I'm trying to implement a character creation room, where the player can do the usual stuff (change haircut, clothes, colors, ...). I'd like, however to implement color changes as a dynamic recoloring of some the character image layers. I'm nearly there, but I yet have to figure out how to manage...
- Fri Apr 09, 2021 12:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Live Composite help
- Replies: 3
- Views: 753
Re: Live Composite help
However, do you happen to know how to scale the live composite? She's a monster on the screen now and I need to scale her down dramatically but I'd hate to have to go through every layer and resize them. Is there a code work around I could use? hi, The code you provided declares your Composite imag...
- Fri Apr 09, 2021 11:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Custom Save Names
- Replies: 1
- Views: 370
Re: Custom Save Names
What steps did you already implement ? do a custom action when user clicks on a save slot? display an input to ask the user a save name ? alter the name of the save slot whith the string the user provides? do a custom save Frankly, I dont know Ren'py well enough to answer you fully, but this is how ...
- Fri Apr 09, 2021 11:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is it possible for the script to recognise game files?
- Replies: 14
- Views: 2287
Re: Is it possible for the script to recognise game files?
I don't know of DDLC, but if I wanted the player to delete a file inside my very own game directory, this is how I'd do it: have in my game files a file that is both easy to find and contains nothing useful to my game (excepted the fact that it has to exist or not), let's call it LOOK_INSIDE_THIS_FO...
- Fri Apr 09, 2021 10:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
- Replies: 6
- Views: 585
Re: Is it possible to have traceback.txt to be saved/opened as traceback.rpy instead?
With renpy-7.4.4-sdk, I seems to happen line 215 of renpy/error.py . Maybe you just have to edit this line in your local installation of renpy with something like: f, traceback_fn = open_error_file("traceback.rpy", "w") Might have undesired side effects, tho. Or else, associate Sublime Text with .tx...