Basic Questions...

Use this forum to help develop your game-making skills, and get feedback on writing, art, music, or anything else you've created that isn't attached to a game in progress.
Locked
Message
Author
icerain
Regular
Posts: 28
Joined: Sun Apr 26, 2009 3:28 pm
Contact:

Basic Questions...

#1 Post by icerain »

Hi. I'm not very skilled in game making. Please help me... -_-

1. How do you create a title for a game? I don't mean when you type in your project name. How do you change it from "A Ren'Py Game" to a title you want?

2. How do you implement a background picture for the title image?

3. (most n00bish question) I don't get it. When you create a new project, the script looks different from the question. The pictures are put somewhere else, at the top line. Please give me an example of how a script should really look.

4. How do you add extras as an option to select when opening the game?
Hi! Please visit my website.

User avatar
MaiMai
Yandere
Posts: 1757
Joined: Sat Mar 21, 2009 6:04 pm
Completed: [Phase Shift]
Projects: [ None ]
Organization: Paper Stars
Tumblr: maiscribbles
Deviantart: maiscribble
Location: USA, Southern California
Contact:

Re: Basic Questions...

#2 Post by MaiMai »

All right, this might take a while to explain since these are bare basics and there's... a lot of them *stretches fingers*

First of all, when you open up your script in whatever script editor you're using, there is a tab called options.rpy. This is where you have the default menu settings which you can edit accordingly. I'll answer the questions I know.

1. To create a title for your game find this

Code: Select all

 ## This controls the title of the window, when Ren'Py is
    ## running in a window.

    config.window_title = u"Name of Your Game Here" 
2. To put a background image for your menu find this

Code: Select all

 ## The background of the main menu. This can be a color
        ## beginning with '#', or an image filename. The latter
        ## should take up the full height and width of the screen.
        mm_root = "menu.jpg", 
the part that says .jpg is basically the picture of the BG for the menu you want to insert. The name can be anything as long as the picture is in your directory and you label it with the same name in the code.

3. What you can do to make your script look like The Question is good ol' copy and paste and post it into your script.rpy. Just replace everything in that script with your stuff! Make sure to indent each line or else you'll have line errors and those are very annoying.
Image COMMISSIONS AVAILABLE (check Tumblr sidebar)

KimiYoriBaka
Miko-Class Veteran
Posts: 636
Joined: Thu May 14, 2009 8:15 pm
Projects: Castle of Arhannia
Contact:

Re: Basic Questions...

#3 Post by KimiYoriBaka »

in answer to question 4:

find this line in the options.rpy

Code: Select all

config.main_menu = [
        (u"Start Game", "start", "True"),
        (u"Continue Game", _intra_jumps("load_screen", "main_game_transition"), "True"),
        (u"Preferences", _intra_jumps("preferences_screen", "main_game_transition"), "True"),
        (u"Quit", ui.jumps("_quit"), "True")
        ]
this is the line telling the game what options the menu should have. I'm not sure how _intra_jumps works, but the values in each set of parentheses are telling what the menu button should say, what label to go to, and if the button should be selectable.

to add a button for "extras", add

Code: Select all

(u"Extras", "extras", "True"),
between whichever you ones want the extra button to go between, the add a label called "extras" somewhere in your code that brings up your extras menu. If you don't want the extras button to be selectable when nothing has been unlocked, replace "true" with a persistent variable that has a default value of false and is set true whenever something is unlocked.

good luck and I hope I explained it well enough.

icerain
Regular
Posts: 28
Joined: Sun Apr 26, 2009 3:28 pm
Contact:

Re: Basic Questions...

#4 Post by icerain »

There is a tab in the script editor???? Can you please give me a picture? T_T
Hi! Please visit my website.

alberte
Veteran
Posts: 204
Joined: Mon Dec 21, 2009 8:53 pm
Tumblr: klaruga
Deviantart: Klaruga
Location: Canada
Contact:

Re: Basic Questions...

#5 Post by alberte »

If you're talking about options.rpy
file>open>options.rpy

User avatar
MaiMai
Yandere
Posts: 1757
Joined: Sat Mar 21, 2009 6:04 pm
Completed: [Phase Shift]
Projects: [ None ]
Organization: Paper Stars
Tumblr: maiscribbles
Deviantart: maiscribble
Location: USA, Southern California
Contact:

Re: Basic Questions...

#6 Post by MaiMai »

Which script editor are you using? I'm surprised you don't even see it.

I'm using Scite here in this screen shot, but if you're sing Jedit it should look about the same.
Attachments
tabs.jpg
Image COMMISSIONS AVAILABLE (check Tumblr sidebar)

icerain
Regular
Posts: 28
Joined: Sun Apr 26, 2009 3:28 pm
Contact:

Re: Basic Questions...

#7 Post by icerain »

Sorry, got it. ^^
Hi! Please visit my website.

Locked

Who is online

Users browsing this forum: No registered users