Search found 4 matches

by Phanes
Fri Jun 10, 2022 1:31 pm
Forum: Ren'Py Questions and Announcements
Topic: How does the testcase system work?
Replies: 4
Views: 356

Re: How does the testcase system work?

You should be able to run it with renpy.sh or renpy.exe and the rest of the command the same. Thank you so much! This let me figure out the rest. From what I can tell, the following is how to get testing working. It'll require some comfort with command lines and file systems, and experience with a ...
by Phanes
Mon Jun 06, 2022 3:17 pm
Forum: Ren'Py Questions and Announcements
Topic: How does the testcase system work?
Replies: 4
Views: 356

Re: How does the testcase system work?

My experimentation so far suggests one can run them like renpy.py "<project directory>" test <testcase name> , but if I do so it just yields some OpenGL errors, presumably because I'm just running it straight with a local Python 2 install without any packages set up. I'm not sure if there's a better...
by Phanes
Sun Jun 05, 2022 5:22 pm
Forum: Ren'Py Questions and Announcements
Topic: How does the testcase system work?
Replies: 4
Views: 356

How does the testcase system work?

Ren'Py seems to have an internal testing system that allows for automated testing of a game, making choices as it goes: https://github.com/renpy/renpy/blob/master/launcher/game/testcases.rpy Recognizing that this presumably isn't robust enough to show up in the documentation: How is this meant to be...
by Phanes
Fri Mar 04, 2022 3:34 pm
Forum: Ren'Py Cookbook
Topic: Random selection custom text tag for procedural text
Replies: 0
Views: 593

Random selection custom text tag for procedural text

Inspired by the excellent Tracery , I wrote a custom text tag that lets you specify a series of options inline in dialogue or narration that will be randomly chosen when they're displayed. Random choices can be nested or even included in substitutions, letting you do some pretty complicated stuff in...