Skip to content

renpy/renpyweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f9212e6 · Apr 25, 2024
Sep 19, 2022
Jun 6, 2020
Apr 25, 2024
Jan 25, 2023
Sep 4, 2020
Aug 16, 2019
Mar 16, 2022
Jan 13, 2023
Oct 16, 2020
Jun 6, 2020
Apr 21, 2022
Apr 14, 2022
Feb 5, 2021
Jun 25, 2019
Mar 15, 2022
Oct 9, 2020
Feb 2, 2019
Dec 18, 2022
Apr 5, 2024
Sep 5, 2019
Jun 16, 2019
Jun 16, 2019

Repository files navigation

RenPyWeb - Ren'Py in your HTML5 web browser

This is the build environment for RenPyWeb.

How to build

  • See https://github.com/renpy/renpy-build/ - something like:

    git clone https://github.com/renpy/renpy-build/
    cd renpy-build/
    BASE=. bash ./nightly/git.sh
    # fix-up tasks ordering
    ./build.py --platform web
    
  • Emscripten: you need to recompile everything on upgrade:

    rm -rf build/ install/ python-emscripten/2.7.18/build/
    make cythonclean
    emcc --clear-ports
    
  • Recompile:

    make
    scripts/install_in_renpy.sh
    
  • Package the game: from the Ren'Py interface, or using scripts/distribute_game.sh (basic testing only)

How to run locally

  make testserver
  $BROWSER http://localhost:8000/

How to make small-scale tests

Check the pygame-example-* targets. Symlink pygame-example/main.py to the variant you wish to experiment with.

Also check the native target to try to run Ren'Py natively with some Emscripten behavior.