Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Tue Jun 18, 2013 6:30 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun May 13, 2012 8:56 pm 
Newbie
User avatar

Joined: Sun May 13, 2012 8:28 pm
Posts: 10
Hello all, I am brand new here but I hope you can help me.

I recently decided to start a visual novel with a friend, I finally finished with all the text on my part and now I'm working on the visuals, with the menus for starters.

This is probably something really easy but I can't find how to make it. In the screen script, for all the diferent menus, there's the style of them, for example in the main menu template:
Code:
    # The background of the main menu.
    window:
        style "mm_root"


I would like to actually create new styles, I only find the "mm_root" and the "gm_root" styles. How do I create a new one? Actually, I need to create a menu that works as a dictionary, the same that you can find in Steins;Gate. I think I know how to make it using persistents when the user find some terms so they are added to this new menu, the problem is that first I need to create the menu itself.

I need to not only change the style for the background, but also for the buttons, that in the main menu template appears like this:
Code:
    # The main menu buttons.
    frame:
        style_group "mm"


How do I create new styles like the "mm" one?

That's all for now, I will probably spam the forum with more doubts for now on so I hope you can forgive me in advance :lol:

And sorry if my English is no good, I'm actually Spanish so I probably commited some mistakes.
Thank you!


Top
 Profile Send private message  
 
PostPosted: Mon May 14, 2012 4:05 am 
Regular
User avatar

Joined: Mon May 14, 2012 3:30 am
Posts: 37
I don't actually understand what do you mean as the dictionary part, I don't play steins gate.. but if you meant you wanted to change the main menu interface
try changing them with the jpeg name like
Code:
mm_root = "mm_bg.jpg", #Main-menu background
gm_root = "gm_bg.jpg", #Game-menu background


and for the button i think you need to create it with image map.. this could help you. viewtopic.php?f=8&t=14237&hilit=image+map+main+menu+buttons

if that's what you meant.. xD hope it helps..


Top
 Profile Send private message  
 
PostPosted: Mon May 14, 2012 10:05 pm 
Newbie
User avatar

Joined: Sun May 13, 2012 8:28 pm
Posts: 10
Thanks for your answer eesy.

Actually, yes, I need to change the background image, the thing is that I don't want to change it for the main menu or the game menu but for a new menu. That way when you access this new menu you get a new background, different buttons, different everyhing.

For example, you enter in the main menu, you have "start new game", "load", "preferences" and "dictionary". Dictionary would be the new menu I want to create, and if you click on it, you access the dictionary menu with a different background and different buttons. For that reason I want to create a new style, because if I use "mm_root" or "gm_root" it would look the same as the preferences menu and the main menu, and that's not my objetive.

In any case, the url you gave me is AWESOME and I'm reading it all. I really appreciate it.
I'll let you know if I manage something (I hope so :lol: ), thank you!


Top
 Profile Send private message  
 
PostPosted: Tue May 15, 2012 12:21 am 
Regular
User avatar

Joined: Mon May 14, 2012 3:30 am
Posts: 37
Aah.. Adding new button function to a new screen!
That could be a little hard.. I haven't found the solution yet..
But do you know you can add a "gallery" button in the very first main menu.. That will unlock pictures if its been accessed during the game?
If not I'll give the link :) maybe from that you could yknow, play with the code and all.. Not sure if its possible though..
Or maybe you can even use the inventory system. But instead of filling it with with items picture, you put words in it!
But not sure if that works too..
In my game, I have a notes-like and task book interface, but that's only using picture. So it can only be accessed with in game menu (when we have 2 or more options to make decision) so when the character got a new objective, I show a new picture..but that's very beginner way. I'm sure there's a way to do it.. XD
So yes, maybe for now make it like only accessible during game menu :)
Ill let u know if I find anything.


Top
 Profile Send private message  
 
PostPosted: Tue May 15, 2012 6:36 am 
Miko-Class Veteran
User avatar

Joined: Mon Feb 06, 2012 9:50 pm
Posts: 759
Location: NYC
Projects: Icebound
Organization: Fastermind Games
I am also trying to make an encyclopedia-type thing, right now the crude version is basically a very large menu but you would get the best results by using Screens.

What you would do is add a button to the main menu (located in the screens script) and use it to trigger another screen where your dictionary would be. Textbuttons in a vbox or similar would be used as entry buttons, and the text would be shown in another text box. The menu customization tutorial should help with adding buttons and such.

_________________
ImageImage


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group