Solved Thanks for the Help!
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.
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.
-
- Newbie
- Posts: 9
- Joined: Thu Jun 16, 2011 3:07 pm
- Completed: None Yet
- Projects: Beastly Beauty (working title), Black Rose
- Contact:
Solved Thanks for the Help!
I know it hasn't been very long, but I have another question! If you'll be so kind to answer, I saw this in the tutorial but I'm a complete Noob at coding and I was hoping if someone could give me an example of the code to help me understand. I tried to look in the tutorial game's script for it but I got lost in everything else.
I was wondering how to put a click indicator into the text area,
If I'm not being specific enough it's in the tutorial under the character object section the very last thing that is mentioned.
Hello, I'm completely new to this and I tried looking around but there's so much to look through that I got lost and my head spun. So I thought it may be easier to ask. I know this may be a really easy fix for those who have been around awhile so please indulge me.
I was wondering how you would make a menu veiwable in game. Like to have the save/load preferences there next to the text box? I know that you can right click but I would also like the buttons for people who don't know to right click. (I didn't in some of the first ren'py games I played and I felt the need to finish them in one sitting)
*edit*
Also If I may know... Is there a way to change the little Ren'py icon into something else? (the one with the girl in the hat) old issue solved. :3
I was wondering how to put a click indicator into the text area,
If I'm not being specific enough it's in the tutorial under the character object section the very last thing that is mentioned.
Hello, I'm completely new to this and I tried looking around but there's so much to look through that I got lost and my head spun. So I thought it may be easier to ask. I know this may be a really easy fix for those who have been around awhile so please indulge me.
I was wondering how you would make a menu veiwable in game. Like to have the save/load preferences there next to the text box? I know that you can right click but I would also like the buttons for people who don't know to right click. (I didn't in some of the first ren'py games I played and I felt the need to finish them in one sitting)
*edit*
Also If I may know... Is there a way to change the little Ren'py icon into something else? (the one with the girl in the hat) old issue solved. :3
Last edited by Aijoran on Fri Jun 17, 2011 4:01 pm, edited 3 times in total.
-
- Veteran
- Posts: 413
- Joined: Fri May 20, 2011 1:27 pm
- Completed: [KN] Saving Project: Blind? (Part One)
- Contact:
Re: How to make a menu vewable in game?
For a menu viewable in game with the save/load next to the textbox, do you mean something like this?
Just copy and paste into the screens.rpy and adjust to your needs.
Because if it is, this is the code:
Code: Select all
init python:
# Give us some space on the right side of the screen.
style.window.right_padding = 100
def toggle_skipping():
config.skipping = not config.skipping
show_button_game_menu = True
def button_game_menu():
if show_button_game_menu:
# to save typing
ccinc = renpy.curried_call_in_new_context
ui.vbox(xpos=0.99, ypos=0.98, xanchor='right', yanchor='bottom')
ui.textbutton("Skip", clicked=toggle_skipping, xminimum=80)
ui.textbutton("Save", clicked=ccinc("_game_menu_save"), xminimum=80)
ui.textbutton("Load", clicked=ccinc("_game_menu_load"), xminimum=80)
ui.textbutton("Prefs", clicked=ccinc("_game_menu_preferences"), xminimum=80)
ui.close()
config.window_overlay_functions.append(button_game_menu)
Projects:
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
Re: How to make a menu vewable in game?
Copy and paste this code into options.rpy under "##More customizations can go here.":Aijoran wrote:*edit*
Also If I may know... Is there a way to change the little Ren'py icon into something else? (the one with the girl in the hat)
Code: Select all
config.window_icon = "yourgameicon.png"
I'm going to smile like nothing's wrong. Talk like everything's perfect, act like it’s all a dream and pretend it's not hurting me.
-
- Newbie
- Posts: 9
- Joined: Thu Jun 16, 2011 3:07 pm
- Completed: None Yet
- Projects: Beastly Beauty (working title), Black Rose
- Contact:
Re: How to make a menu vewable in game?
Thank you both of you!
and manga_otaku that's exactly what I meant. :3 as far as I know this is solved. I'll be sure to ask again if I run into any problems. ^.^
and manga_otaku that's exactly what I meant. :3 as far as I know this is solved. I'll be sure to ask again if I run into any problems. ^.^
-
- Veteran
- Posts: 413
- Joined: Fri May 20, 2011 1:27 pm
- Completed: [KN] Saving Project: Blind? (Part One)
- Contact:
Re: How to make a menu vewable in game?
No problemo Always happy to help xD
Projects:
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
WIP|[KN] Day Of Reckoning|
Completed|[KN] Saving Project Blind: Part One|[KN] Saving Project Blind: Part Two|[KN] Saving Project Blind: Final Part|
Is available to help with proof-reading (Grammar freak...) Maybe voice-acting in the near future x]
-
- Newbie
- Posts: 9
- Joined: Thu Jun 16, 2011 3:07 pm
- Completed: None Yet
- Projects: Beastly Beauty (working title), Black Rose
- Contact:
Re: How to make a menu vewable in game?
I know it hasn't been very long, but I have another question! If you'll be so kind to answer, I saw this in the tutorial but I'm a complete Noob at coding and I was hoping if someone could give me an example of the code to help me understand. I tried to look in the tutorial game's script for it but I got lost in everything else.
I was wondering how to put a click indicator into the text area,
If I'm not being specific enough it's in the tutorial under the character object section the very last thing that is mentioned.
I was wondering how to put a click indicator into the text area,
If I'm not being specific enough it's in the tutorial under the character object section the very last thing that is mentioned.
Re: How to make a click to continue icon
Something like this?
http://www.renpy.org/wiki/renpy/doc/ref ... /Character
(code from that page, the bit you're interested in is the ctc one.)
>You may want to use different indicators for ctc and ctc_pause
>You may use other animations, including ones you define yourself
http://www.renpy.org/wiki/renpy/doc/ref ... /Character
Code: Select all
$ ectc = Character('Eileen', color=(200, 255, 200, 255),
ctc = anim.Blink("arrow.png"))
>You may want to use different indicators for ctc and ctc_pause
>You may use other animations, including ones you define yourself
-
- Newbie
- Posts: 9
- Joined: Thu Jun 16, 2011 3:07 pm
- Completed: None Yet
- Projects: Beastly Beauty (working title), Black Rose
- Contact:
Re: How to make a click to continue icon
I think that's what I'm looking for but I can't seem to get it to work. I keep getting all kinds of different errors as I change it around trying to make it work. :S
I'm unsure of how to implement this code to make it work.
I'm unsure of how to implement this code to make it work.
Re: How to make a click to continue icon
in that case, could you post up the code you're using and what error you're getting?
-
- Newbie
- Posts: 9
- Joined: Thu Jun 16, 2011 3:07 pm
- Completed: None Yet
- Projects: Beastly Beauty (working title), Black Rose
- Contact:
Re: How to make a click to continue icon
After having a night's sleep I ended up figuring out the problem. D:
Seems I wasn't defining the character to have the symbol after it. With a rested mind I fixed it up and it works. :3 Thank you for your patience.
Seems I wasn't defining the character to have the symbol after it. With a rested mind I fixed it up and it works. :3 Thank you for your patience.
Who is online
Users browsing this forum: Bing [Bot]