Skip to content

Ren'Py in your HTML5 web browser

Notifications You must be signed in to change notification settings

PigeonClubDev/renpyweb

 
 

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.

About

Ren'Py in your HTML5 web browser

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 46.5%
  • HTML 24.8%
  • Shell 14.8%
  • Cython 5.1%
  • Makefile 4.5%
  • Python 1.8%
  • Other 2.5%