How to make progression purely based on player clicks

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
somestrangecircus
Regular
Posts: 90
Joined: Fri Apr 17, 2015 9:59 pm
Completed: Palette Swap (NaNo 2016)
Projects: Yumi-chan's Wonderful Cake Shop
Organization: Some Strange Circus
Tumblr: somestrangecircus
Deviantart: somestrangecircus
Contact:

How to make progression purely based on player clicks

#1 Post by somestrangecircus »

Toying around with a game idea right now. I know what I want to do but I have no clue how to do it.

Basically, what I want to do is not use the text box at all. Instead, I want to use only images. The background image will stay on the screen until the player clicks, and when they do, it goes to the next one. But I also want there to be menu choices periodically.

So ah. How do I code this? Is it possible?

User avatar
kisa
Veteran
Posts: 384
Joined: Sat Aug 27, 2011 7:08 pm
Completed: Brother Rose, Dogs Alone
Projects: So many projects, I can't name them.
Deviantart: tsubasafan135
Skype: Discord: Kisaofbishies#6680
itch: kisa
Contact:

Re: How to make progression purely based on player clicks

#2 Post by kisa »

The first thing that comes to mind is set the text box window to none and have the places where no menus are shown be ""s
I'm offering commissions!
viewtopic.php?f=62&t=41656

User avatar
somestrangecircus
Regular
Posts: 90
Joined: Fri Apr 17, 2015 9:59 pm
Completed: Palette Swap (NaNo 2016)
Projects: Yumi-chan's Wonderful Cake Shop
Organization: Some Strange Circus
Tumblr: somestrangecircus
Deviantart: somestrangecircus
Contact:

Re: How to make progression purely based on player clicks

#3 Post by somestrangecircus »

How do I set the text window to none? Would I need to do that every line or is it something I can do once and not bother with again?

User avatar
kisa
Veteran
Posts: 384
Joined: Sat Aug 27, 2011 7:08 pm
Completed: Brother Rose, Dogs Alone
Projects: So many projects, I can't name them.
Deviantart: tsubasafan135
Skype: Discord: Kisaofbishies#6680
itch: kisa
Contact:

Re: How to make progression purely based on player clicks

#4 Post by kisa »

It should be under options.
I'll check, just a second.
I'm offering commissions!
viewtopic.php?f=62&t=41656

User avatar
kisa
Veteran
Posts: 384
Joined: Sat Aug 27, 2011 7:08 pm
Completed: Brother Rose, Dogs Alone
Projects: So many projects, I can't name them.
Deviantart: tsubasafan135
Skype: Discord: Kisaofbishies#6680
itch: kisa
Contact:

Re: How to make progression purely based on player clicks

#5 Post by kisa »

Code: Select all

style.window.background = None
Should work. But, I didn't test it.
I'm offering commissions!
viewtopic.php?f=62&t=41656

User avatar
somestrangecircus
Regular
Posts: 90
Joined: Fri Apr 17, 2015 9:59 pm
Completed: Palette Swap (NaNo 2016)
Projects: Yumi-chan's Wonderful Cake Shop
Organization: Some Strange Circus
Tumblr: somestrangecircus
Deviantart: somestrangecircus
Contact:

Re: How to make progression purely based on player clicks

#6 Post by somestrangecircus »

That worked! Thanks so much! :) If this game does end up seeing the light of day, you shall be credited.

User avatar
kisa
Veteran
Posts: 384
Joined: Sat Aug 27, 2011 7:08 pm
Completed: Brother Rose, Dogs Alone
Projects: So many projects, I can't name them.
Deviantart: tsubasafan135
Skype: Discord: Kisaofbishies#6680
itch: kisa
Contact:

Re: How to make progression purely based on player clicks

#7 Post by kisa »

:shock: Wow, um. Thanks. XD
*bashfully hides behind a curtain*
I'm offering commissions!
viewtopic.php?f=62&t=41656

User avatar
somestrangecircus
Regular
Posts: 90
Joined: Fri Apr 17, 2015 9:59 pm
Completed: Palette Swap (NaNo 2016)
Projects: Yumi-chan's Wonderful Cake Shop
Organization: Some Strange Circus
Tumblr: somestrangecircus
Deviantart: somestrangecircus
Contact:

Re: How to make progression purely based on player clicks

#8 Post by somestrangecircus »

As a simple noob face, I know enough to be thankful for what I receive. :) Also I probably wouldn't have figured this out on my own anytime soon.

philat
Eileen-Class Veteran
Posts: 1900
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: How to make progression purely based on player clicks

#9 Post by philat »

You could also just use pause.

Code: Select all

label start:
    show image1

    pause

    show image2

    pause

    menu:    
        "Choice 1":    
            pass    
        "Choice 2":    
            pass


Post Reply

Who is online

Users browsing this forum: No registered users