Search found 209 matches

by Karl_C
Sat Jan 19, 2019 5:36 am
Forum: Ren'Py Questions and Announcements
Topic: "'ascii' codec can't decode byte" playing a video
Replies: 3
Views: 134

Re: "'ascii' codec can't decode byte" playing a video

What is the name of the video (are there any ascii characters >128 it it) and how do you call it?
by Karl_C
Mon Jan 07, 2019 1:42 am
Forum: Ren'Py Questions and Announcements
Topic: Reset game totally (going back to splashscreen)?
Replies: 4
Views: 134

Re: Reset game totally (going back to splashscreen)?

Code: Select all

$persistent._clear(progress=True)
will also resets things like the list of seen statements (used for skipping) and the list of seen images (but not the saves).
by Karl_C
Sun Jan 06, 2019 3:14 pm
Forum: Ren'Py Questions and Announcements
Topic: The size of android presplash image won't auto adapt...
Replies: 4
Views: 102

Re: The size of android presplash image won't auto adapt...

Apparently, 'android-presplash.jpg' is not scaled:
android-presplash.jpg
The image that's used when the app is loading. This should be surrounded by a monocolored border. That border is expanded to fill the screen.
Ren'Py Documentation: Android: Presplash
by Karl_C
Sun Jan 06, 2019 10:41 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I make a pc game autosave and reload where the person stopped?
Replies: 3
Views: 149

Re: How do I make a pc game autosave and reload where the person stopped?

init python: config.has_autosave = True config.autosave_slots = 1 config.autosave_on_choice = True config.autosave_on_quit = True define config.auto_load = renpy.newest_slot(regexp="auto") # autoload newest save slot beginning with 'auto' # The game starts here. label start: "We're now in label sta...
by Karl_C
Sat Jan 05, 2019 7:49 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How do I make a pc game autosave and reload where the person stopped?
Replies: 3
Views: 149

Re: How do I make a pc game autosave and reload where the person stopped?

Possibly this will help you? define config.auto_load = None If not None, the name of a save file to automatically load when Ren'Py starts up. This is intended for developer use, rather than for end users. Setting this to "1" will automatically load the game in save slot 1. Ren'Py Documentation: Conf...
by Karl_C
Sat Jan 05, 2019 12:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton action subroutine
Replies: 1
Views: 70

Re: Imagebutton action subroutine

sculpteur wrote:
Sat Jan 05, 2019 10:41 am
Is it possible to run a subroutine from an imagebutton (or imagemap) action (cliked) ?
What do you mean with 'subroutine'? You want to jump to a lable and then return?

Renpy Documentation: Control Actions: Call
by Karl_C
Sat Jan 05, 2019 10:41 am
Forum: Demos & Beta Testing
Topic: Ariane's Assistant 2.0
Replies: 6
Views: 244

Re: Ariane's Assistant 2.0

Is there any way to make the downlad smaller by omitting unnecessary parts that wont interfere with the game? Yes, check 'build.classify' in the file 'options.rpy': Ren'Py Dokumentation: Building Distributions: Classifying and Ignoring Files . With this you could configure what files are not includ...
by Karl_C
Fri Jan 04, 2019 4:05 pm
Forum: Demos & Beta Testing
Topic: Ariane's Assistant 2.0
Replies: 6
Views: 244

Re: Ariane's Assistant 2.0

Before you build distributions of a new release, you better change "config.version" in "options.rpy" to the new version number. Otherwise you'll run into problems when players complain that this and that doesn't work, but you don't know what version they are actually using... ;) BTW: Dont forget "ht...
by Karl_C
Wed Jan 02, 2019 12:47 am
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 171

Re: The screen doesn't change according to real time?

Thanks for the code! :) But maybe I did something wrong? It gave me this error message "'Jump' is not a keyword argument or valid child for the timer statement." Then I tried to add "True" before "Jump" as I saw other people doing. The game launched. But the image still didn't change :?: Of course ...
by Karl_C
Tue Jan 01, 2019 10:08 am
Forum: Ren'Py Questions and Announcements
Topic: Help! RuntimeError: maximum recursion depth exceeded
Replies: 6
Views: 140

Re: Help! RuntimeError: maximum recursion depth exceeded

Just curious: How did you define the image 'Audience Normal'?
by Karl_C
Tue Jan 01, 2019 7:25 am
Forum: Ren'Py Questions and Announcements
Topic: The screen doesn't change according to real time?
Replies: 8
Views: 171

Re: The screen doesn't change according to real time?

You have to call a hidden screen for that. In your case it would look like this: screen check_daytime(): timer 3600.0 repeat action Jump("mylabel") #every 3600s (1h) jump to 'label mylabel' label start: show screen check_daytime #start timer "blablabla" ... return label mylabel: if hour in [6, 7, 8,...
by Karl_C
Mon Dec 31, 2018 11:14 am
Forum: Ren'Py Questions and Announcements
Topic: Update patch for played game?
Replies: 6
Views: 115

Re: Update patch for played game?

In that post, it's more like the patched content is already available in the main script, you just need the patch file as the "key" to unlock those content. I wonder if we can make a patch that add NEW content to the main game instead of unlocking hidden content. In Belgerum's cookbook recipe, he o...
by Karl_C
Mon Dec 31, 2018 8:21 am
Forum: Ren'Py Questions and Announcements
Topic: Update patch for played game?
Replies: 6
Views: 115

Re: Update patch for played game?

scorlight wrote:
Mon Dec 31, 2018 8:00 am
Does that also restart the saves and persistent?
For this you may have to look into Multi-Game Persistence