Main Interface / Game Interface

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Message
Author
User avatar
Mikan
Veteran
Posts: 364
Joined: Sun Dec 23, 2007 12:20 am
Contact:

Main Interface / Game Interface

#1 Post by Mikan » Wed May 13, 2009 4:32 pm

I can't make one, so can someone post theirs?
Something like this:
titleinterface copy.jpg
(Some kind of title page)
titleinterface.jpg
(Some kind of dialogue page)

Please share your interface code!

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Main Interface / Game Interface

#2 Post by PyTom » Wed May 13, 2009 6:09 pm

Assuming you're using Ren'Py, you'll want a layout.imagemap_main_menu.

The basic idea here is that you'll draw two versions of the menu, one with the buttons hovered, and one with the buttons idle. You'll then need to add a call to imagemap_main_menu to your game, and it will use those images as the menu.

For the second one, you'll want to change the background for some of the Characters. You may need to have multiple Characters for each character, so you can indicate where each character is placed.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
Mikan
Veteran
Posts: 364
Joined: Sun Dec 23, 2007 12:20 am
Contact:

Re: Main Interface / Game Interface

#3 Post by Mikan » Wed May 13, 2009 6:54 pm

.. but how will that help me find a good arrangement for buttons and other interface options? :s

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Main Interface / Game Interface

#4 Post by PyTom » Wed May 13, 2009 7:14 pm

Oh, I misunderstood the question.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
dstarsboy
Veteran
Posts: 461
Joined: Mon Apr 27, 2009 4:58 pm
Location: Phoenix
Contact:

Re: Main Interface / Game Interface

#5 Post by dstarsboy » Wed May 13, 2009 7:58 pm

Do you just want to see other people's main menu and dialog windows for their respective games? Or do you want someone to mockup an interface that looks similar to what you've drawn? I'm a little confused.
Current Projects:
The Isle of St Marcus

User avatar
afu
Regular
Posts: 75
Joined: Sat May 09, 2009 5:42 am
Completed: \(^o^)/
Tumblr: afusushi
Contact:

Re: Main Interface / Game Interface

#6 Post by afu » Thu May 14, 2009 6:34 am

Sorry to intrude on this post, but I'm sort of looking for the same thing.
I was going to try and figure it out on my own but if there's a demo custom menu around I could poke around with...
That would be great to see so I could figure out how to customize it further ^^
(*´﹃`*) Commissions Open! Art samples: afuji.org
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

User avatar
MuzikalNotes
Newbie
Posts: 3
Joined: Mon Dec 03, 2007 5:02 pm
Contact:

Re: Main Interface / Game Interface

#7 Post by MuzikalNotes » Thu May 14, 2009 6:25 pm

I believe he meant that, instead of the standard dialogue window whenever someone speaks, a bubble would pop up.

User avatar
Mikan
Veteran
Posts: 364
Joined: Sun Dec 23, 2007 12:20 am
Contact:

Re: Main Interface / Game Interface

#8 Post by Mikan » Fri May 15, 2009 3:59 pm

dstarsboy wrote:see other people's main menu and dialog windows for their respective games
Yes, this is it!
And hopefully with the graphics/scripts that made it possible :)
I'd like to try switching out the graphics for my own, eventually.
afu wrote:I was going to try and figure it out on my own but if there's a demo custom menu around I could poke around with...
That would be great to see so I could figure out how to customize it further ^^
Yes, right on the mark! these are my intentions as well!
Last edited by Mikan on Fri May 15, 2009 6:41 pm, edited 1 time in total.

User avatar
afu
Regular
Posts: 75
Joined: Sat May 09, 2009 5:42 am
Completed: \(^o^)/
Tumblr: afusushi
Contact:

Re: Main Interface / Game Interface

#9 Post by afu » Fri May 15, 2009 5:08 pm

I was fiddling around with ren'py yesterday and I think you might be able to do the second menu by:

Code: Select all

## In the options script, making/defining a custom text box

style.window.background = Frame("textbox.png", 15, 15)

## and then setting the window/text padding (also in options script)

style.window.left_margin = 125
style.window.left_padding = 150 
I guess the downside is that the speech bubble would be default. You wouldn't be able to have the dialog point to who ever is talking above (unless it's possible to have multiple text box images and have them change?)

Love your artwork btw~
(*´﹃`*) Commissions Open! Art samples: afuji.org
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

User avatar
Mikan
Veteran
Posts: 364
Joined: Sun Dec 23, 2007 12:20 am
Contact:

Re: Main Interface / Game Interface

#10 Post by Mikan » Fri May 15, 2009 6:40 pm

Aww gee, I hadn't meant that drawing to end up being interpreted that way.

I put it there to indicate any kind of interface where the game displays text said by a certain character.

It doesn't have to be a comic-book style word bubble.

It could be the usual portrait and what the character says on the left or right, but I was hoping to see some variations of that design so that I can play with a game interface that doesn't look generic-renpy.

User avatar
JQuartz
Eileen-Class Veteran
Posts: 1265
Joined: Fri Aug 31, 2007 7:02 am
Projects: 0 completed game. Still haven't made any meaningfully completed games...
Contact:

Re: Main Interface / Game Interface

#11 Post by JQuartz » Fri May 15, 2009 6:45 pm

Mikan wrote:I can't make one, so can someone post theirs?
This one from renpy's reference:

Code: Select all

init -2 python:
    layout.imagemap_main_menu("menu2.jpg", "menu1.jpg", [
        (111, 248, 392 ,313, "Start Game"),
        (111, 313, 392, 378, "Load Game"),
        (48, 432, 237, 529, "Preferences"),
        (48,529,237,576, "Quit"),
        (48, 435, 237, 482, "instructions"),
        ])
And here's the 2 image files:
Attachments
menu2.JPG
menu1.JPG
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.

User avatar
mugenjohncel
Hentai Poofter
Posts: 2117
Joined: Sat Feb 04, 2006 11:13 pm
Organization: Studio Mugenjohncel
Location: Philippines
Contact:

Re: Main Interface / Game Interface

#12 Post by mugenjohncel » Mon May 18, 2009 9:58 pm

- CONTENT NO LONGER RELEVANT -
Last edited by mugenjohncel on Wed Jan 26, 2011 3:31 am, edited 1 time in total.

it's mikan

Re: Main Interface / Game Interface

#13 Post by it's mikan » Tue May 19, 2009 12:23 pm

Both of the interfaces that have been posted look really good. I can't wait to try them out :) I'll be waiting~

Preludian
Regular
Posts: 81
Joined: Wed Nov 05, 2008 9:10 am
Contact:

Re: Main Interface / Game Interface

#14 Post by Preludian » Tue May 19, 2009 3:13 pm

@mugenjohncel: wow, I mean WOW! coming just on time. :D :D :D

User avatar
mugenjohncel
Hentai Poofter
Posts: 2117
Joined: Sat Feb 04, 2006 11:13 pm
Organization: Studio Mugenjohncel
Location: Philippines
Contact:

Re: Main Interface / Game Interface

#15 Post by mugenjohncel » Tue May 19, 2009 9:44 pm

- CONTENT NO LONGER RELEVANT -
Last edited by mugenjohncel on Wed Jan 26, 2011 3:31 am, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users