renpy/doc/cookbook/Cookbook
From Ren'Py
Ren'Py Cookbook
Welcome to the Ren'Py cookbook. Here, you will be able to find user-contributed recipes that allow you to accomplish common (and not-so-common) tasks with Ren'Py.
Please also take a look at the frameworks, which contain more complicated code to allow specific styles of games.
Note that many of these are meant to accomplish specific tasks, and aren't very good examples of Ren'Py code that is used to write games.
Existing Recipes
Special Effects
- Springy movement - Adding bouncy motion to your Moves. (6.6.3)
- Showing and Hiding the Window (2007-12-19)
- Setting Fullscreen
- Showing a Quick Splashscreen While Ren'Py is Loading
- Showing a Fancy Splashscreen After Ren'Py has Loaded
- A Simple Flash (Light Saturation) Effect
- Using a "Noise" Image Dissolve
- Implementing a Double Vision Effect
- Shake Effect
- Animate Character Lip Movement (Lip Flap)
- Animate Character Blinking And Lip Flap
- Particle Burst
- Creating a TV-static effect for background
User Interface
- Adding On-Screen Buttons
- Quick Save and Load
- Repositioning Elements in the Main Menu or Game Menu
- Setting Auto-Read Automatically
- Setting the Default Text Speed
- RPG frame
- Tile Engine for Tile-Based Maps and Unit Engine for Turn-Based Games
- Making adult scenes optional, by adding "Hentai Enabled/Disabled" to preferences
- Center the main program window on startup
- Placing the speaking character's name above the text window
Localization
- Supporting Chinese or Japanese in Your Game (6.3.2)
- Translating Ren'Py Menus, Buttons, etc.
- Inputting information in a language other than English
- Convert text strings to kana
Packaging/Space Saving
- JCC - Jpeg Compression of Character Art (6.6.3)
- Single-Directory Mac Application
- NSIS - Building a Windows installer using NSIS
Miscellaneous
- New CG Gallery (6.6.0)
- Good Looking Italics
- Tips menu
- Unarchiving files from rpa
- Who's that? Changing character names during the game
- Conditional Hyperlinks
- Timed menus
- Custom text tags
- About this game - How to add a simple readme into the game
- Additional basic move profiles - A collection of extra basic motion profiles to spice up your Moves.
- Konami Code - Add the Konami Code to your game. Fairly easily adapted to other secret codes.
Sound and music
Create a new Recipe
You can create a new recipe by filling out this form with the title of the recipe you want. You'll need to be able to edit wikicode. See Help:Editing for details on that, and Wiki:Style Guide for a list of things specific to this wiki.
When done, add this to this page by adding the wikicode:
*[[../New Recipe Name/]]
to one of the categories above.
If someone forgot to add a cookbook page, it will show up in the Cookbook Index. Please add it here.
