All Projects → renpy → Renpy

renpy / Renpy

The Ren'Py Visual Novel Engine

Programming Languages

python
139335 projects - #7 most used programming language
Ren'Py
26 projects
cython
566 projects
assembly
5116 projects
c
50402 projects - #5 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Renpy

Krkrz
Kirikiri Z Project
Stars: ✭ 460 (-83.17%)
Mutual labels:  novel, game, engine
Monogatari
Monogatari is a simple web visual novel engine, created to bring Visual Novels to the web.
Stars: ✭ 357 (-86.94%)
Mutual labels:  novel, engine, visual
Simplexrpgengine
Modular game engine built with MonoGame, with GMS2-like workflow and advanced level editor
Stars: ✭ 122 (-95.54%)
Mutual labels:  game, engine
Openmf Archived
Abandoned C++ version. Contains useful format utils and parsers.
Stars: ✭ 123 (-95.5%)
Mutual labels:  game, engine
Chunkstories
Somewhat fancy blocky game engine written in Kotlin
Stars: ✭ 199 (-92.72%)
Mutual labels:  game, engine
Voxelman
Plugin-based client-server voxel game engine written in D language
Stars: ✭ 105 (-96.16%)
Mutual labels:  game, engine
Corona
Solar2D Game Engine main repository (ex Corona SDK)
Stars: ✭ 1,679 (-38.59%)
Mutual labels:  game, engine
Rpg Core
UNITY engine RPG framework
Stars: ✭ 146 (-94.66%)
Mutual labels:  game, engine
Uebergame
Uebergame code repository
Stars: ✭ 90 (-96.71%)
Mutual labels:  game, engine
Rubeus
A cross platform 2D game engine written in C++ for beginners
Stars: ✭ 159 (-94.18%)
Mutual labels:  game, engine
Inexor Core
UNMAINTAINED: Please have a look at the entity-system
Stars: ✭ 156 (-94.29%)
Mutual labels:  game, engine
Mundus
A 3D world/level editor built with Java, Kotlin & libGDX.
Stars: ✭ 164 (-94%)
Mutual labels:  game, engine
Opendiablo2
An open source re-implementation of Diablo 2
Stars: ✭ 10,057 (+267.85%)
Mutual labels:  game, engine
Geotic
Entity Component System library for javascript
Stars: ✭ 97 (-96.45%)
Mutual labels:  game, engine
Gamedev Resources
🎮 🎲 A wonderful list of Game Development resources.
Stars: ✭ 2,054 (-24.87%)
Mutual labels:  game, engine
Openra
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
Stars: ✭ 10,220 (+273.81%)
Mutual labels:  game, engine
Openage
Free (as in freedom) open source clone of the Age of Empires II engine 🚀
Stars: ✭ 10,712 (+291.81%)
Mutual labels:  game, engine
Creature ue4
Unreal Engine 4 Runtimes for Creature, the 2D Skeletal + Mesh Animation Tool
Stars: ✭ 174 (-93.64%)
Mutual labels:  game, engine
Doom Nano
A 3d raycast engine for Arduino
Stars: ✭ 86 (-96.85%)
Mutual labels:  game, engine
Starruler2 Source
4X Space Strategy game Star Ruler 2's open source distribution.
Stars: ✭ 1,267 (-53.66%)
Mutual labels:  game, engine

The Ren'Py Visual Novel Engine

https://www.renpy.org

Ren'Py development takes place on the master branch, and occasionally on feature branches.

Getting Started

Ren'Py depends on a number of Python modules written in Cython and C. For changes to Ren'Py that only involve Python modules, you can use the modules found in the latest nightly build. Otherwise, you'll have to compile the modules yourself.

The development scripts assume a POSIX-like platform. The scripts should run on Linux or macOS, and can be made to run on Windows using an environment like MSYS.

Nightly Build

Nightly builds can be downloaded from:

https://nightly.renpy.org

Note that the latest nightly build is at the bottom of the list. Once you've unpacked the nightly, change into this repository, and run:

./after_checkout.sh <path-to-nightly>

Once this script completes, you should be able to run Ren'Py using renpy.sh, renpy.app, or renpy.exe, as appropriate for your platform.

If the current nightly build doesn't work, please wait 24 hours for a new build to occur. If that build still doesn't work, contact Tom (pytom at bishoujo.us, or @renpytom on twitter) to find out what's wrong.

The doc symlink will dangle until documentation is built, as described below.

Compiling the Modules

Building the modules requires you have the many dependencies installed on your system. On Ubuntu and Debian, these dependencies can be installed with the command:

apt-get install virtualenvwrapper python-dev libavcodec-dev libavformat-dev \
    libavresample-dev libswresample-dev libswscale-dev libfreetype6-dev libglew1.6-dev \
    libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev \
    libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev

We strongly suggest installing the Ren'Py modules into a Python virtualenv. To create a new virtualenv, open a new terminal and run:

mkvirtualenv renpy

To return to this virtualenv later, run:

workon renpy

After activating the virtualenv, install cython, future, and six:

pip install -U cython future six

Then, install pygame_sdl2 by running the following commands:

git clone https://www.github.com/renpy/pygame_sdl2
pushd pygame_sdl2
python fix_virtualenv.py $VIRTUAL_ENV
python setup.py install
python setup.py install_headers
popd

Next, set RENPY_DEPS_INSTALL To a :-separated (;-separated on Windows) list of paths containing the dependencies, and RENPY_CYTHON to the name of the cython command:

export RENPY_DEPS_INSTALL="/usr:/usr/lib/$(uname -m)-linux-gnu/"
export RENPY_CYTHON=cython

Finally, use setup.py in the Ren'Py module directory to compile and install the modules that support Ren'Py:

pushd module
python setup.py install
popd

Ren'Py will be installed into the activated virtualenv. It can then be run using the command:

python -O renpy.py

Documentation

Building

Building the documentation requires Ren'Py to work. You'll either need to link in a nightly build, or compile the modules as described above. You'll also need the Sphinx documentation generator. If you have pip working, install Sphinx using:

pip install -U sphinx

Once Sphinx is installed, change into the sphinx directory inside the Ren'Py checkout and run:

./build.sh

Format

Ren'Py's documentation consists of reStructuredText files found in sphinx/source, and generated documentation found in function docstrings scattered throughout the code. Do not edit the files in sphinx/source/inc directly, as they will be overwritten.

Docstrings may include tags on the first few lines:

:doc: section kind
Indicates that this function should be documented. section gives the name of the include file the function will be documented in, while kind indicates the kind of object to be documented (one of function, method or class. If omitted, kind will be auto-detected.
:name: name
The name of the function to be documented. Function names are usually detected, so this is only necessary when a function has multiple aliases.
:args: args
This overrides the detected argument list. It can be used if some arguments to the function are deprecated.

For example:

def warp_speed(factor, transwarp=False):
    """
    :doc: warp
    :name: renpy.warp_speed
    :args: (factor)

    Exceeds the speed of light.
    """

    renpy.engine.warp_drive.engage(factor)

Translating

For best practices when it comes to translating the launcher and template game, please read:

https://lemmasoft.renai.us/forums/viewtopic.php?p=321603#p321603

Contributing

For bug fixes, documentation improvements, and simple changes, just make a pull request. For more complex changes, it might make sense to file an issue first so we can discuss the design.

License

For the complete licensing terms, please read:

https://www.renpy.org/doc/html/license.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].