(Solved)Structure Questions.

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
SkyisHigh
Newbie
Posts: 3
Joined: Fri Feb 23, 2018 2:54 pm
Contact:

(Solved)Structure Questions.

#1 Post by SkyisHigh » Sat Feb 24, 2018 5:28 am

Code: Select all

screen buttontemp1:
    button:
        xysize(500, 500)
        background "#FF0000"

label main_menu:
    show screen buttontemp1
    pause(5)
    return

Code: Select all

label main_menu:
    button:
        xysize(500, 500)
        background "#0000"
    pause(5)
    return
I can not understand why the second one does not work.
I think it is the same code.
Last edited by SkyisHigh on Tue Feb 27, 2018 10:11 am, edited 1 time in total.

User avatar
trooper6
Lemma-Class Veteran
Posts: 3204
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Structure Questions.

#2 Post by trooper6 » Sat Feb 24, 2018 6:12 am

A button is a screen object so it has to be placed in a screen.
A Close Shave:
*Last Thing Done (Jul 7) Finished Emotion Matrix for Joint Customer Sprite.
*Currently Doing: Print Matrices, & decide emotions to use for Joint Sprite, think about blinking and lip flap. Maybe also about TransitionConditionSwitch?
*First Next thing to do: Code in all the sprite emotion and camera movement for Close Shave Sprite Sections
*Next Thing to Do: Code in all CG and special animation stuff
*Other Next Thing: Do SFX
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

SkyisHigh
Newbie
Posts: 3
Joined: Fri Feb 23, 2018 2:54 pm
Contact:

Re: Structure Questions.

#3 Post by SkyisHigh » Tue Feb 27, 2018 10:10 am

Thanks for your Help!!!

Post Reply

Who is online

Users browsing this forum: Google [Bot], Imperf3kt, Saiffyros