eside and dynamic character.

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
Fireserpent
Regular
Posts: 57
Joined: Wed May 05, 2010 3:11 pm
Location: Sweden
Contact:

eside and dynamic character.

#1 Post by Fireserpent »

Ok I'm a bit stuck here and could use some assistance...

I'm trying to get images in with my characters with the side image feature..

The FAQ shows me the following script:

Code: Select all

$ eside = Character('Eileen',
                color="#c8ffc8",
                window_left_padding=160,
                show_side_image=Image("eileen_side.png", xalign=0.0, yalign=1.0))
The characters in the game have the dynamic character feature so I can change the names

Code: Select all

$ kal = DynamicCharacter("kalyah_name", color="#33aabb", what_size=17)
What I want to do is to get the side image to work with this, and be able to keep the same abbreviation (kal) for the character. I'm a total beginner every time I try to get something new in.. :) Any help in this matter would be appreciated.

User avatar
azureXtwilight
Megane Procrastinator
Posts: 4118
Joined: Fri Mar 28, 2008 4:54 am
Completed: Fantasia series (ROT and ROTA), Doppleganger: Dawn of The Inverted Soul, a2 (a due), Time Labyrinth
Projects: At Regime's End
Organization: Memento-Mori VNs, Team Sleepyhead
Location: Yogyakarta, Indonesia.
Contact:

Re: eside and dynamic character.

#2 Post by azureXtwilight »

I used this kind of code in my first game:

Code: Select all

$ povusu = DynamicCharacter("povname",
                        color="#cf88cf", what_size=17,
                        window_left_padding=160,
                        show_side_image=Image("vlnusu.png", xalign=0.0, yalign=1.0))
Hope that helps! :)
Image

Fireserpent
Regular
Posts: 57
Joined: Wed May 05, 2010 3:11 pm
Location: Sweden
Contact:

Re: eside and dynamic character.

#3 Post by Fireserpent »

Yep, it works!

Now I just have to get to all the tweaking. :)

Thanks a bunch!

Post Reply

Who is online

Users browsing this forum: Google [Bot]