[solved] adding close for textbox / dissappearing textbox
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.
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
[solved] adding close for textbox / dissappearing textbox
sorry.. i take an example from the only one VN that i know can dissappearing their textbox.
this one from re:allistar by sake visual
see this
and when we click right mouse..
jeng jeng jeng!!!
normally.. from all renpy vn that i downloaded.. everytime i click right in mouse.. i got this..
err.. can tell me what code that i should used so my VN textbox can dissappear just with right click like that??
Øp!
this one from re:allistar by sake visual
see this
and when we click right mouse..
jeng jeng jeng!!!
normally.. from all renpy vn that i downloaded.. everytime i click right in mouse.. i got this..
err.. can tell me what code that i should used so my VN textbox can dissappear just with right click like that??
Øp!
Last edited by fenol on Wed Sep 28, 2011 9:23 am, edited 2 times in total.
-
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: adding close for textbox / dissappearing textbox
Press the h key on your keyboard.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: adding close for textbox / dissappearing textbox
ups sorry.. i'll update the post.
i mean how to add the right code so my vn can be played like that one.. of course without press H in my keyboard and only with my right mouse.
Øp!
i mean how to add the right code so my vn can be played like that one.. of course without press H in my keyboard and only with my right mouse.
Øp!
- Camille
- Eileen-Class Veteran
- Posts: 1227
- Joined: Sat Apr 23, 2011 2:43 pm
- Completed: Please see http://trash.moe
- Projects: the head well lost
- Organization: L3
- Tumblr: narihira
- Deviantart: crownwaltz
- itch: lore
- Contact:
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: adding close for textbox / dissappearing textbox
i'm kinda lost there.. can i ask??Camille wrote:You do this by changing your game's keymap.
it's said to hide windows.. 'mouseup_2', 'h', 'joy_hide'
i only see for mouse 'mouseup' and 'mousedown'
is that thing meaning for scroll up down or right left click?
Øp!
-
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: adding close for textbox / dissappearing textbox
mouseup_2 is the release of the middle mouse button. You need mouseup_3 for the right mouse button.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: adding close for textbox / dissappearing textbox
can you tell me where i can know all the meaning of that code? hmm specially for mouse..
i just get keyboard code explanation..
Øp!
i just get keyboard code explanation..
Øp!
[ PIXIV ] [ deviantArt ]
Øp!
-
- Veteran
- Posts: 277
- Joined: Sun Sep 04, 2011 1:36 am
- Projects: A thingie without a title. With messy code.
- Contact:
Re: adding close for textbox / dissappearing textbox
Is there a place with a list of all the keys that do stuff in ren'py, like the "h" to toggle the textbox on and off, or the "s" to save screenshots? I couldn't find it if there was one, and it's very useful knowledge.
(Also, if there's a key to reload the game after saving changes to a.rpy file while making the game and testing things, it would be awesome!)
(Also, if there's a key to reload the game after saving changes to a.rpy file while making the game and testing things, it would be awesome!)
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)
- Camille
- Eileen-Class Veteran
- Posts: 1227
- Joined: Sat Apr 23, 2011 2:43 pm
- Completed: Please see http://trash.moe
- Projects: the head well lost
- Organization: L3
- Tumblr: narihira
- Deviantart: crownwaltz
- itch: lore
- Contact:
Re: adding close for textbox / dissappearing textbox
I don't know where a list of mouse controls is, but really all you need is the three mouseups, anyway... Left, center, and right, respectively.
The list of keys of stuff in Ren'Py is in the help file (README.html) that's bundled with every Ren'Py game. It's in the bottom part of the file under "Key and Mouse Bindings". Reloading a game (I think it only works if you have developer tools turned on) while saving changes to a .rpy file is shift+R.
The list of keys of stuff in Ren'Py is in the help file (README.html) that's bundled with every Ren'Py game. It's in the bottom part of the file under "Key and Mouse Bindings". Reloading a game (I think it only works if you have developer tools turned on) while saving changes to a .rpy file is shift+R.
-
- Veteran
- Posts: 277
- Joined: Sun Sep 04, 2011 1:36 am
- Projects: A thingie without a title. With messy code.
- Contact:
Re: adding close for textbox / dissappearing textbox
Thank you! The shift + R is something I was terribly needing. ^^;Camille wrote:I don't know where a list of mouse controls is, but really all you need is the three mouseups, anyway... Left, center, and right, respectively.
The list of keys of stuff in Ren'Py is in the help file (README.html) that's bundled with every Ren'Py game. It's in the bottom part of the file under "Key and Mouse Bindings". Reloading a game (I think it only works if you have developer tools turned on) while saving changes to a .rpy file is shift+R.
Oh, doh! *had forgotten about the help file*
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: adding close for textbox / dissappearing textbox
ah, zannen.. i can't find it too..
but arigatou~ this solved now~
Øp!
but arigatou~ this solved now~
Øp!
[ PIXIV ] [ deviantArt ]
Øp!
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: [solved] adding close for textbox / dissappearing textbo
ah sorry for bring it back again!! :'(
i've got error..
i put this on my option.rpy
but i got this
"Exception: Invalid key specifier skip"
what's the right code? or where should i put this? :'(
Øp!
i've got error..
i put this on my option.rpy
Code: Select all
config.keymap = dict(hide_windows = [ 'mouseup_3', 'h' ])
"Exception: Invalid key specifier skip"
what's the right code? or where should i put this? :'(
Øp!
[ PIXIV ] [ deviantArt ]
Øp!
-
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: [solved] adding close for textbox / dissappearing textbo
Code: Select all
config.keymap["hide_windows"] = ['mouseup_3', 'h' ]
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
- fenol
- Regular
- Posts: 69
- Joined: Sat Aug 27, 2011 10:33 am
- Projects: Choroumachi | Vasileio
- Organization: Zerorange
- Deviantart: fenolijuna
- Skype: fenol.ijuna
- Soundcloud: fenol-ijuna
- Contact:
Re: [solved] adding close for textbox / dissappearing textbo
it's works now but though no error, neither works right. :'(
it still sent me to save screen.
i tried changed it and it works with 'mousedown_3', but everytime the textbox disappeared, the save screen appear again.
what should i do...
Øp!
it still sent me to save screen.
i tried changed it and it works with 'mousedown_3', but everytime the textbox disappeared, the save screen appear again.
what should i do...
Øp!
[ PIXIV ] [ deviantArt ]
Øp!
-
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: [solved] adding close for textbox / dissappearing textbo
Try this:
Code: Select all
config.keymap["game_menu"] = [ 'K_ESCAPE', 'joy_menu' ]
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Who is online
Users browsing this forum: No registered users