Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
How big do the pics have to be and what formatt?
Can you put character voices?
Of course you can technically set the game to any 4:3 aspect ratio. Some of the others here have used 640 x 480.
You can make the pictures much bigger than 800 x 600 if you plan to pan or zoom them, but I think there is a technical dimension limit at which point they start to crash.
You can add voice in mp3 or ogg format. You play them like any other sound, except as music (which loops).
This is basically the gist of it. Obviously, some more code may be needed.init:
image background1 = "background1.jpg"
image character1 = "character1.png"
My best advice is to download some of the many demos and partitially-complete works in this forum, and look at how people code things. It's usually in the script.rpy within the /game subdirectory.
- Ren'Py Creator
- Posts: 15447
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
Code: Select all
init: image bg times square = "times_square.jpg" image eileen happy = "eileen_happy.png" $ e = Character("Eileen") label start: scene bg times square show eileen happy e "Remember, nothing is shown until dialogue or transitions take place."
(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- Miko-Class Veteran
- Posts: 733
- Joined: Fri Jul 07, 2006 9:58 pm
- Projects: Suna to Majo
- Location: France
It'd depend on how you want them to play: as a music, as a loop, as a sfx...
If your file name is voice.ogg, you place this code in the label start block:
Code: Select all
$ renpy.sound.play("voice.ogg") Eileen "Hey! I can even mimick Pytom's voice!"
Users browsing this forum: No registered users