Amaranth Games   Games   News   Order   Community   Help   Blog   Goodies   Updates   Guides Developers
Username:    Password:      Register now!
Game Genres
All Games
RPG
Adventure
SIM
Story
Cute
Game Kits
Amaranth Games (games only by us)
Newest Game
Featured Game
Love's Triumph
Love's Triumph
Popular Games
Report message:*
 

Re: Ren'Py

Subject: Re: Ren'Py
by daeva_agas on 2012/6/2 20:15:34

Okay, sorry about the confusion. Ren'py is constantly upgraded so the tutorials is a mash of tuts for the old version AND the new version.

If you read the newbie tutorial in the first link, the person explains to you that you have to "declare" the characters. This is the code to declare a character:


define x 
Character('Random person'color="#c8ffc8")


This is the code to declare side images:


define e 
Character("Eileen"image="player"who_color="#c8ffc8")

image side player happy "side_player_happy.png"
image side player concerned "side_player_concerned.png"


The label "who_color='c8ffc8'" is the code to change the colour of the name. That gibberish there is the colour ID. Example: 0000CC makes your text blue like this. You'll have to look up the corresponding colour codes online.

Anyone you don't want to have side images will be declared in a code similar to "X/Random Person". The main character will be declared like Eileen.

Now, in renpy when you make dialogue you type it like this:

e "Hello, world."

The "e" is the declared "Eileen", and writing the dialogue as such will give you a picture of Eileen, Eileen's name, and the text.

If you write it like this:

"I am a text"

There will be no picture or name box. Just narration.



Join our Newsletter!

RSS Feed

Coming Soon!

June, 2013

RPGs
Dragons Among Us
Edolie
Aveyond 4

Sandbox
Pixel Pygmies

Sim/Match 3
Butterfly Adventure

Kingdom Chat
aislingyngaio > 05/21 10:16:34[aislingyngaio] you'd make a marvelous TEA if you weren't so hell bent on getting guilded >:D
Aveyond Wiki
Click to Visit!
made by fans, for fans
Kingdom Map

(Laws)



(Forums)



(News)



(Art Gallery)



(Cottages)



(Guilds)



(Experiments)

Who's Online
55 user(s) are online (25 user(s) are browsing My Forum Entries)

Members: 0
Guests: 55

more...
About Us |  Sell Our Games |  Add Your Game to Our Site
©2007 Amaranth Games, LLC
Powered by Xoops