A Few Questions - SOLVED!!

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.
Message
Author
Hollow Gourd
Regular
Posts: 79
Joined: Wed Dec 01, 2010 11:25 pm
Projects: Gatemaster!
Contact:

Re: A Few Questions

#16 Post by Hollow Gourd »

Code: Select all

screen main_menu:
    tag menu
    
    imagemap:
        ground 'mmmap1.png'
        hover 'mmmap2.png'
       
        hotspot (350, 531, 97, 49) activate_sound "startsound.wav" action Start()
        

init -2 python:

    # Make all the main menu buttons be the same size.
    style.mm_button.size_group = "mm"
Attachments
mmmap2.png
mmmap1.png

Hollow Gourd
Regular
Posts: 79
Joined: Wed Dec 01, 2010 11:25 pm
Projects: Gatemaster!
Contact:

Re: A Few Questions

#17 Post by Hollow Gourd »

Actually, strike that. I don't have the faintest idea what I did, but it's working now.
AND I've figured out how to pause the screen before the game actually starts. I do, however, need to search through the documentation and find out how to make that screen black instead of transparent...O.o;

You've been tremendously helpful!

Lotus
Veteran
Posts: 298
Joined: Thu Jan 06, 2011 9:28 am
Projects: Unnamed Slenderman VN, Secret 10560
Location: USA
Contact:

Re: A Few Questions

#18 Post by Lotus »

Do you mean making the screen black ingame?

Not a problem :)

Hollow Gourd
Regular
Posts: 79
Joined: Wed Dec 01, 2010 11:25 pm
Projects: Gatemaster!
Contact:

Re: A Few Questions

#19 Post by Hollow Gourd »

Basically, after clicking the start button but before the first scene comes up, I have it so that the game pauses for a few seconds so that the start button's sound effect can complete. However, during this pause, rather than a black screen, a transparent screen shows (as in, checkered and whatnot).

Lotus
Veteran
Posts: 298
Joined: Thu Jan 06, 2011 9:28 am
Projects: Unnamed Slenderman VN, Secret 10560
Location: USA
Contact:

Re: A Few Questions

#20 Post by Lotus »

That's what I thought. You have to define an image (in this it's a color) and then show it using the scene code.

Code: Select all

image white ="#FFFFFF"
image black ="#000000"
## etc. you can do pretty much any color you want, so long as you have the Hex code

label start:
    scene black

Hollow Gourd
Regular
Posts: 79
Joined: Wed Dec 01, 2010 11:25 pm
Projects: Gatemaster!
Contact:

Re: A Few Questions

#21 Post by Hollow Gourd »

Everything is officially solved!
You, my friend, are fantastic.

Lotus
Veteran
Posts: 298
Joined: Thu Jan 06, 2011 9:28 am
Projects: Unnamed Slenderman VN, Secret 10560
Location: USA
Contact:

Re: A Few Questions - SOLVED!!

#22 Post by Lotus »

Woo! 8D

Post Reply

Who is online

Users browsing this forum: juliaa__