, , , , ,

Make adventure games with Ren’Py

Reading Time: 2 minutes

01 Get the files

First, download the install files from the Ren’Py website. You will need the .bz2 version for Raspberry Pi. When it has downloaded, double-click to open the archive and extract it to a suitable place such as your home directory. You will also need to download and extract Raspberry Pi support files from the Additional Downloads section. Once this is all in place, you will find a file in the directory you have extracted called renpy.sh. Double-click this file and select ‘Execute’. After a few seconds, you will see the Ren’Py Launcher open.

02 Tutorial time

Ren’Py includes a getting started tutorial, which is probably the best place to begin. By selecting the Tutorial project from the launcher, you will be introduced to Ren’Py’s features by Eileen. She will show you how to start a new project and the ways to set colours and screen sizes. There are also sections in the tutorial to cover adding your images, text, and sound to your pages. It then goes on to creating interactions and transitions to make your game engaging for your audience. Have a look at the Choices and Python section to see how scripting is used to ask questions and branch to different options.

03 Let’s make a game

Going back to the Ren’Py Launcher, start a new project with the ‘Create New Project’ link on the left-hand side. You will then be asked where you want to save your project and what it should be named.  Next, choose what screen resolution you want your production to use and the colour scheme that you would like. After a short pause for processing, your project will be created and listed with the tutorial in the Projects section in the Launcher.

04 Let’s get scripting

Start scripting the game by selecting the ‘script.rpy’ option under Edit File in the Launcher. It will ask you to select the editor you want to use and then open the script. From there you can make changes to the default script. When you want to test your changes, select your project and Launch Project, then select ‘Start’ from the list on the left of the window that opens. If you make changes to your script, you can then press SHIFT+R to reload your script and start the game again. If you need further help, select the Documentation link at the bottom left of the Launcher window, or check out the forums at magpi.cc/renpyforum

Facebook Comments

Street Fighter V Summer Update 2021: Past, present, and future

Street Fighter V Sommer-Update 2021: Vergangenheit, Gegenwart und Zukunft