Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Text.

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
vocaloidimai
Regular
Posts: 26
Joined: Sat May 05, 2012 10:38 am
Contact:

Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Text.

#1 Post by vocaloidimai »

Can someone help me how can i make a theme in game like this ?
Image
About number 3:
- I search it but Renpy can't use file GIF, right?
- So that will be Animation Image?

And Help me how i can make Auto-Advance All Text & Symbol Click To Continued All Text in Game ?

Image

I have a Image Click to Continued name: ctc01.png & ctc02.png
Not like in tutorial.

Please Help Me T-T
Thanks.

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#2 Post by Milkymalk »

You can't use gifs, but you can define images to be animations.

Code: Select all

image myanimation:
    "frame1.png"
    pause 0.2
    "frame2.png"
    pause 0.2
    "frame3.png"
    pause 0.2
    "frame4.png"
    pause 0.2
    "frame5.png"
    pause 0.2
    repeat
If you show it with show myanimation it will, ehm, show the animation.

What did you mean with "all text"?
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

User avatar
vocaloidimai
Regular
Posts: 26
Joined: Sat May 05, 2012 10:38 am
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#3 Post by vocaloidimai »

Milkymalk wrote:You can't use gifs, but you can define images to be animations.

Code: Select all

image myanimation:
    "frame1.png"
    pause 0.2
    "frame2.png"
    pause 0.2
    "frame3.png"
    pause 0.2
    "frame4.png"
    pause 0.2
    "frame5.png"
    pause 0.2
    repeat
If you show it with show myanimation it will, ehm, show the animation.

What did you mean with "all text"?
Etou....
I mean i want all text in game appear slow and click to continued too
And frame text box like number 01
Like this video
- http://www.youtube.com/watch?v=umf9kkFTUlA

Thank you so much for number 03 ^^

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#4 Post by Milkymalk »

For the name to be in a separate window, you need:

Code: Select all

init:
    $ e = Character("Eileen", show_two_window=True)
If you want to display text letter by letter, read this documentation: http://www.renpy.org/wiki/renpy/doc/coo ... ed_Setting

I'm not sure what else you want, but you always have to click to continue. You can change the image for that like in this example:

Code: Select all

image ctc_animation = Animation("ctc01.png", 0.2, "ctc02.png", 0.2, "ctc03.png", 0.2, "ctc04.png", 0.2, xpos=0.99, ypos=0.99, xanchor=1.0, yanchor=1.0)

init:
    $ a = Character('Name', ctc="ctc_animation", ctc_position="fixed")
(btw this shows another possibility to make an animation)

But I think before you go all out and change the interface, you should read the documentation if you don't know where to look up such things. You have been asking a lot of stuff that is basic knowledge when working with Ren'py. This stuff isn't complicated, but it's still programming. You can't expect to learn it unless you read the documentation once or twice so you at least know where to look for something.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

User avatar
vocaloidimai
Regular
Posts: 26
Joined: Sat May 05, 2012 10:38 am
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#5 Post by vocaloidimai »

Milkymalk wrote:For the name to be in a separate window, you need:

Code: Select all

init:
    $ e = Character("Eileen", show_two_window=True)
If you want to display text letter by letter, read this documentation: http://www.renpy.org/wiki/renpy/doc/coo ... ed_Setting

I'm not sure what else you want, but you always have to click to continue. You can change the image for that like in this example:

Code: Select all

image ctc_animation = Animation("ctc01.png", 0.2, "ctc02.png", 0.2, "ctc03.png", 0.2, "ctc04.png", 0.2, xpos=0.99, ypos=0.99, xanchor=1.0, yanchor=1.0)

init:
    $ a = Character('Name', ctc="ctc_animation", ctc_position="fixed")
(btw this shows another possibility to make an animation)

But I think before you go all out and change the interface, you should read the documentation if you don't know where to look up such things. You have been asking a lot of stuff that is basic knowledge when working with Ren'py. This stuff isn't complicated, but it's still programming. You can't expect to learn it unless you read the documentation once or twice so you at least know where to look for something.
I try with code show_two_window=True
But how can i change image namebox ?
Image namebox use image Frame box @_@
About code CTC i try it before i ask but not work
http://i976.photobucket.com/albums/ae24 ... ance00.png
http://i976.photobucket.com/albums/ae24 ... ance01.png

Thank you for help.

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#6 Post by Milkymalk »

If that is exactly how you tried it, you missed a comma. The error message came because you either used a true tab instead of a "pseudo" tab (4 spaces) or Python reads the "line feed" after the missing comma as a tab.

Here is a tutorial for customizing the text box:
http://renpyhandbook.tumblr.com/post/87 ... e-text-box
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

User avatar
vocaloidimai
Regular
Posts: 26
Joined: Sat May 05, 2012 10:38 am
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#7 Post by vocaloidimai »

Milkymalk wrote:If that is exactly how you tried it, you missed a comma. The error message came because you either used a true tab instead of a "pseudo" tab (4 spaces) or Python reads the "line feed" after the missing comma as a tab.

Here is a tutorial for customizing the text box:
http://renpyhandbook.tumblr.com/post/87 ... e-text-box
Thank you ^^
I try it and that work
But i have another problem when i have a name too long

http://i976.photobucket.com/albums/ae24 ... tError.png

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#8 Post by Milkymalk »

Did you customize the name box? If yes, please post the code. If no, then maybe customizing it with "background = Frame(...)" will help.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

User avatar
vocaloidimai
Regular
Posts: 26
Joined: Sat May 05, 2012 10:38 am
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#9 Post by vocaloidimai »

Milkymalk wrote:Did you customize the name box? If yes, please post the code. If no, then maybe customizing it with "background = Frame(...)" will help.
Yes, it's a code
I customize name box size 312x36 pixel

Code: Select all

    #########################################
    ## These settings let you customize the window containing the
    ## dialogue and narration, by replacing it with an image.

    ## The background of the window. In a Frame, the two numbers
    ## are the size of the left/right and top/bottom borders,
    ## respectively.

    # style.window.background = Frame("frame.png", 12, 12)
    
    style.window.background = Frame("frame.png", 1022, 150)
    style.say_who_window.background = Frame("namebox.png", 312, 36) #Background skin
    #style.say_who_window.xalign = 0.0
    #style.say_who_window.yalign = 1.0
    #style.say_who_window.xpos = 100 #For precise placement
    #style.say_who_window.ypos = 100 #For precise placement
    #style.say_who_window.left_padding = 15
    #style.say_who_window.top_padding = 15
    #style.say_who_window.right_padding = 15
    #style.say_who_window.bottom_padding = 15
    #style.say_who_window.xminimum = 150
    #style.say_who_window.yminimum = 1
    #style.say_who_window.xfill = False

    
    ## Margin is space surrounding the window, where the background
    ## is not drawn.

User avatar
Milkymalk
Miko-Class Veteran
Posts: 753
Joined: Wed Nov 23, 2011 5:30 pm
Completed: Don't Look (AGS game)
Projects: KANPEKI! ★Perfect Play★
Organization: Crappy White Wings
Location: Germany
Contact:

Re: Help!!-Theme, Auto-Advence & Symbol C.T.Continued All Te

#10 Post by Milkymalk »

Code: Select all

style.say_who_window.background = Frame("namebox.png", 312, 36) #Background skin
You don't give width and height as parameters in Frame, but the width and height of the border. A frame consists of its four borders and the center part.
Look at this explanation:
http://www.renpy.org/wiki/renpy/doc/coo ... appearance
A border can also be 0 pixels thick. In your case you probably only want the left/right borders.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

Post Reply

Who is online

Users browsing this forum: No registered users