Stylizing text for narrator & Ren'Py Cheatsheet?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
rabcor
Regular
Posts: 81
Joined: Sun Mar 17, 2013 3:07 pm
Projects: None (Need a programmer?)
Organization: Cestarian Games
Contact:

Stylizing text for narrator & Ren'Py Cheatsheet?

#1 Post by rabcor » Sat Nov 30, 2013 3:53 am

I need my narrator(specifically the narrator, no one else) text to use 0 cps and a dissolve effect (at least most of the time) while all the charracters in the game will use something like 100cps with no additional effects (unless otherwise specified)

I was also wondering how i would specify a font that one character should use everytime he/she speaks.

Finally although slightly off topic, i'm wondering if theres a cheatsheet of some sort lying around somewhere so that i can have some sort of list (with brief or no descriptions) of the commands that ren'py can use, for example i have no idea what "renpy.code_code ()" means and no idea where it came from. And also there seems to be different commands for options.rpy and screens.rpy than what i've got under things like labels in my own scripts. Is there any more advanced tutorial than the official one that goes into more details than the official tutorial? Can the scripts in the official tutorial be used as a substitute for a cheatsheet (as in, does the tutorial have every single command that ren'py offers written somewhere in the files?) what i mean by cheatsheet to clarify is something like this (CryEngine cheatsheet) a less extreme example would be this

User avatar
Alex
Lemma-Class Veteran
Posts: 2777
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Stylizing text for narrator & Ren'Py Cheatsheet?

#2 Post by Alex » Sat Nov 30, 2013 4:50 am

Narrator is a character like any other, so you can do

Code: Select all

define narrator = Character (None, what_slow_cps=0, what_font="fontfile_name.ttf")
http://www.renpy.org/wiki/renpy/doc/ref ... /Character
http://www.renpy.org/wiki/renpy/doc/ref ... Properties

Most of commonly used functions and variables can be found in documentation. You could find all the others in .rpy and .py files in renpy folder and subfolders.

User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: Stylizing text for narrator & Ren'Py Cheatsheet?

#3 Post by xavimat » Sat Nov 30, 2013 6:10 am

Not everything is documented in http://www.renpy.org/doc/html/ but PyTom is constantly working on it (see the commits in the github repository of renpy, there is constant work). As something similar to a cheatsheet, I'm using lots of times the general index in the doc: http://www.renpy.org/doc/html/genindex.html (link in top right of every documentation page). If something is not there, the old wiki is the last resource (befor asking directly here in the forums).
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
rabcor
Regular
Posts: 81
Joined: Sun Mar 17, 2013 3:07 pm
Projects: None (Need a programmer?)
Organization: Cestarian Games
Contact:

Re: Stylizing text for narrator & Ren'Py Cheatsheet?

#4 Post by rabcor » Sat Nov 30, 2013 5:00 pm

thanks a lot guys :D

Still don't know how to add a dissolve effect to the narrators text though.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1914
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question
Projects: Slumberland
Location: Brazil
Contact:

Re: Stylizing text for narrator & Ren'Py Cheatsheet?

#5 Post by Donmai » Sat Nov 30, 2013 7:47 pm

Maybe you will be interested in this thread: http://lemmasoft.renai.us/forums/viewto ... =8&t=20975
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Google [Bot]