This is the source and example running harness for the material presented at Developing with Ren'Py.
The code contains both Ren'Py 7 / Python 2.7 and Ren'Py 8 / Python 3 examples.
Please be sure to search out lines marked # Python 2
and # Python 3
and
comment/un-comment for the version of Ren'Py you are using.
These code samples are intended to be re-used and altered to suit your needs in your own projects whether free or commercial. They aren't intended to be complete solutions, only starting points. You don't need to submit any changes you make back to this repository, or make your own copied or altered source code available under similar terms.
You are under no obligation to include attribution if you make use of these examples, however it would be appreciated.
These examples are intended primarily for the development of the web site linked above. Some are examples of what not to do, or at least what to try and avoid. And some deliberately don't work. More formally:
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.