A downloadable Ren'Py extension

Download NowName your own price

This is a tool used to generate live demos or demo snapshots to generate gifs.

Usage

Copy  demotools.rpe into the Ren'Py game's "game" folder.

Move to the game's root directory in the command line and run the `demotools` command with the renpy executable available in your renpy installation:

# Run a specific label and stop
renpy/renpy.sh . demotools call=my_demo_label
# Run a specific label and loop
renpy/renpy.sh . demotools call=my_demo_label loop
# Run a specific label and create render snapshots
renpy/renpy.sh . demotools --render call=my_demo_label

Available commands

Most commands take a value declared with =, optionnal arguments are between [].

Nearly all parameters accept an optional DELAY parameter that specifies how long to wait before performing the action.

  • call=LABEL_NAME[:DELAY]<br>
    • LABEL_NAME: The name of the label that should be called
  • show=SCREEN_NAME[:DELAY]
    • SCREEN_NAME: The name of the screen that should be shown
  • jump=LABEL_NAME[:DELAY]<br>
    • LABEL_NAME: The name of the label that should be jumped to
  • hidescreen=SCREEN_NAME[:DELAY]
    • SCREEN_NAME: The name of the screen that should be hidden
  • cursor=POS_X:POS_Y[:TIME[:DELAY]]
    • POS_X, POS_Y: Target cursor position
    • TIME: How long it takes for the cursor to move to its new position
  • loop[=DELAY]: Restart command sequence from the start
  • quit[=DELAY]: Explicitly stop Ren'Py. This is inserted the default final command
  • pause[=DELAY]: Add an explicit delay before processing the next command


Tested with Ren'Py 8.0.3.
Got an issue or want to make a contribution ? Let us know on GitHub https://github.com/Ayowel/renpy-demotools

Download

Download NowName your own price

Click download now to get access to the following files:

demotools.rpe 19 kB
Version v0.2.1

Leave a comment

Log in with itch.io to leave a comment.