Search found 447 matches

by Kinmoku
Wed Jun 12, 2019 11:38 am
Forum: Creator Discussion
Topic: The new renai.us/games.renpy.org support thread.
Replies: 249
Views: 195600

Re: The new renai.us/games.renpy.org support thread.

I went to check on One Night Stand (years later lol) but it's still stuck on "This release is not yet approved". Is this list being dropped or...?
by Kinmoku
Wed Jun 12, 2019 8:50 am
Forum: Ren'Py Questions and Announcements
Topic: Have a button selected by default
Replies: 2
Views: 465

Re: Have a button selected by default

Hmm. It's helping me understand a little but this is all new to me. I think what I'm trying to do maybe too advanced for me right now! ^^;
by Kinmoku
Tue Jun 11, 2019 11:44 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Adjust volume bar with left/ right arrow key
Replies: 5
Views: 592

Re: Adjust volume bar with left/ right arrow key

Thank you both for your help :) I went with: hbox: style_group "pref" spacing 50 xalign 0.5 text _("Music Volume") ypos 10 bar value Preference("music volume") hovered Show("my_keys_operate_scr", mixer='music') unhovered Hide("my_keys_operate_scr") ypos 10 hbox: style_group "pref" spacing 50 xalign ...
by Kinmoku
Tue Jun 11, 2019 11:38 am
Forum: Ren'Py Questions and Announcements
Topic: Have a button selected by default
Replies: 2
Views: 465

Have a button selected by default

Hi all, When using a controller in a Ren'Py game, it feels much better if the menu buttons are selected by default (hovered state), but I have no idea how to go about doing this for every button in the game! It saves the player having to press left/ right twice. I know I need to figure out how I can...
by Kinmoku
Sat Jun 08, 2019 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Adjust volume bar with left/ right arrow key
Replies: 5
Views: 592

Re: Adjust volume bar with left/ right arrow key

Try to set actions like key "focus_left" action SetDict (_preferences.volumes,'music', max (0.0, (_preferences.volumes['music'] - 0.1) ) ) key "focus_right" action SetDict (_preferences.volumes,'music', min (1.0, (_preferences.volumes['music'] + 0.1) ) ) Thanks Alex. This works but only for the mus...
by Kinmoku
Fri Jun 07, 2019 4:07 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Adjust volume bar with left/ right arrow key
Replies: 5
Views: 592

[SOLVED] Adjust volume bar with left/ right arrow key

Hi all, On controller, I noticed to adjust the volume bars, you need to select them first, then press left or right. Since there is nothing left or right of my bars, is it possible to remove the select and just press left or right? It feels more intuitive to do it that way but I'm not sure if it's p...
by Kinmoku
Thu Jun 06, 2019 5:23 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Hiding mouse cursor on key press
Replies: 7
Views: 792

Re: Hiding mouse cursor on key press

init python: import pygame class MouseHiderDisplayable(renpy.Displayable): def render(self,width,height,st,at): return renpy.Render(width,height) def event(self,ev,x,y,st): if ev.type==pygame.KEYDOWN: renpy.game.interface.mouse_event_time=0 screen mouse_hider: add MouseHiderDisplayable() size (1,1)...
by Kinmoku
Wed Jun 05, 2019 9:48 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Hiding mouse cursor on key press
Replies: 7
Views: 792

Re: Hiding mouse cursor on key press

Create custom displayable, in event method check if key/pad pressed then set renpy.game.interface.mouse_event_time to 0. Then add this displayable to some screen and show screen at start of game. Hacky and RenPy can break it in future updates, but should work i think. This sounds like it should wor...
by Kinmoku
Wed Jun 05, 2019 6:36 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Hiding mouse cursor on key press
Replies: 7
Views: 792

[SOLVED] Hiding mouse cursor on key press

Hi all, I am trying to configure a controller and want to hide the cursor when the player uses the d-pad/ arrow keys. My mouse cursor currently hides after 10 seconds of inactivity: config.mouse = { 'default' : [ ('images/cursor.png', 30, 30)] } config.mouse_hide_time = 10 But I don't know how to ma...
by Kinmoku
Mon May 20, 2019 5:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disable arrow keys on imagemaps only
Replies: 8
Views: 261

Re: Help! Disable arrow keys on imagemaps only

Alex wrote:
Mon May 20, 2019 4:54 am
Kinmoku wrote:
Mon May 20, 2019 4:19 am
...On the first arrow key press, usually "jeansbutton" or "clothesbutton" will hover, ...
And what if put your arrows buttons before other buttons in screen code? This might be that the fist button/hotspot in screen is focused by default.
Yes! :D Alex, you genius! It works! Thank you :)
by Kinmoku
Mon May 20, 2019 4:19 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disable arrow keys on imagemaps only
Replies: 8
Views: 261

Re: Help! Disable arrow keys on imagemaps only

Never use it myself, but you could try to replace imagemap with a bunch of imagebuttons and set their keyboard_focus property to False - https://www.renpy.org/doc/html/style_pr ... oard_focus So you won't need to disable focus mechanism at all. Thanks Alex! :) Unfortunately, it's behaving a little....
by Kinmoku
Fri May 17, 2019 5:25 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disable arrow keys on imagemaps only
Replies: 8
Views: 261

Re: [SOLVED] Disable arrow keys on imagemaps

Okay, so it does what I originally asked but I have an issue... There are buttons on the screen with the imagemap which I'd like to stay selectable with the directional keys. Here's my current code: screen shelves_imagemap: imagemap: ground "shelves" hover "shelvesmap" hotspot (256, 407, 125, 161) c...
by Kinmoku
Tue May 14, 2019 11:52 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disable arrow keys on imagemaps only
Replies: 8
Views: 261

Re: Disable arrow keys on imagemaps

Try to add this code into your imagemap screen key "focus_left" action NullAction() key "focus_right" action NullAction() key "focus_up" action NullAction() key "focus_down" action NullAction() https://www.renpy.org/doc/html/screens.html#key https://www.renpy.org/doc/html/keymap.html#keymap https:/...
by Kinmoku
Tue May 14, 2019 6:03 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Disable arrow keys on imagemaps only
Replies: 8
Views: 261

[SOLVED] Disable arrow keys on imagemaps only

Hi all, I want to disable the arrow keys from rotating through hotspots in my imagemaps. Using arrow keys makes it too easy to find secret/ hidden items that I'm hoping only sharp eyes will notice! I only want left, right, up, down disabled for the imagemaps, though. I know how to disable keymaps in...
by Kinmoku
Mon May 06, 2019 4:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Make a "Jump" Button appear "On" or "Off"
Replies: 5
Views: 178

Re: Make a "Jump" Button appear "On" or "Off"

Doesn't making the button ToggleVariable work? I'm guessing fastforward is a global variable, and you should make it a boolean if its only values are on and off. CODE: SELECT ALL button: action [ToggleVariable("fastforward"), Call("pause_screen")] style "mainmenu_choice_button" text _("Fast-Forward...