Search found 447 matches

by Kinmoku
Mon May 06, 2019 4:13 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"

Hi everyone, thanks for the help. Sadly, nothing is working :( 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...
by Kinmoku
Thu May 02, 2019 10:26 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Make a "Jump" Button appear "On" or "Off"
Replies: 5
Views: 178

[SOLVED] Make a "Jump" Button appear "On" or "Off"

Hi all. I'm trying to figure out how to make a Jump button appear in an "on" or "off" state, like a Preference("on", "off") button would. My button is for fast-forwarding/ skipping text, which can be selected in the pause menu. I've done it this way as a direct Skip would immediately go off the paus...
by Kinmoku
Thu May 02, 2019 10:20 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Skip not waiting for menus to close
Replies: 4
Views: 203

Re: Skip not waiting for menus to close

Ooh I figured it out! It took me a while, but I got there :D Here's my code: In screens.rpy: button: action Jump("skip_toggle") style "mainmenu_choice_button" text _("Fast-Forward") style "mainmenu_choice" Which jumps to: label skip_toggle: if fastforward == "off": $ fastforward = "on" else: $ fastf...
by Kinmoku
Thu May 02, 2019 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Skip not waiting for menus to close
Replies: 4
Views: 203

Re: Skip not waiting for menus to close

How about: 1. Instead of having your button directly invoke “Skip”, instead maintain an “is the player skipping” game variable that the button toggles. 2. When you execute your “close the pause screen” action, conditionally invoke Skip at that point based on the state of the variable. It the player...
by Kinmoku
Fri Apr 26, 2019 8:39 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Create a key binding for "return"
Replies: 2
Views: 105

Re: Create a key binding for "return"

Alex wrote:
Fri Apr 26, 2019 6:52 am
Try to add it to the screen with return button, like

Code: Select all

imagebutton:
        idle "images/return1.png"
        hover "return_button"
        action Return()
        
key 'mousedown_1' action Return()
https://www.renpy.org/doc/html/screens.html#key
Thank you :D Much easier!
by Kinmoku
Fri Apr 26, 2019 5:24 am
Forum: We are offering Paid Work
Topic: Looking for a mobile porter/ publisher
Replies: 1
Views: 266

Looking for a mobile porter/ publisher

Hello. I would like to bring my game One Night Stand to mobile. I know that Ren'Py exports to Android and iOS, but with so many devices to test, no understanding of xcode and no publishing power behind me, I'm looking for a porting/ publishing partner who can take my game and bring it cleanly to Goo...
by Kinmoku
Fri Apr 26, 2019 4:33 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Skip not waiting for menus to close
Replies: 4
Views: 203

Re: Skip not waiting for menus to close

A little bump. Any ideas?
by Kinmoku
Fri Apr 26, 2019 4:32 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Create a key binding for "return"
Replies: 2
Views: 105

[SOLVED] Create a key binding for "return"

Hi all. Is it possible to create a key binding for whenever there is a return button? Maybe it exists already but I don't know what it's called :? Something like this... button_ignore = [ 'mousedown_1' ], ... for this? imagebutton: idle "images/return1.png" hover "return_button" action Return() Than...
by Kinmoku
Wed Apr 24, 2019 5:21 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Skip not waiting for menus to close
Replies: 4
Views: 203

[SOLVED] Skip not waiting for menus to close

Hi all. I've made a "pause" menu that appears when the player hits ESC (instead of "save"). In the pause menu, I have buttons for saving the game, loading the game, main menu, skipping, text autoplay and return. However, when I select "Fast-Forward/ Skip", it immediately does it and goes off the pau...
by Kinmoku
Wed Mar 13, 2019 9:36 am
Forum: Ren'Py Questions and Announcements
Topic: Animated choice menus
Replies: 2
Views: 120

Animated choice menus

Hi all, I'm sure I saw a post on this once upon a time but I cannot find it anywhere... Anyway! I was wondering if and how it's possible to animate the choice menu? At certain points of my game it gets tense, so I've love to be able to rattle the buttons (including the text) so they're slightly hard...
by Kinmoku
Wed Mar 13, 2019 9:31 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] If an image is in a certain xpos/ ypos, trigger an event
Replies: 2
Views: 132

Re: If an image is in a certain xpos/ ypos, trigger an event

philat wrote:
Tue Mar 12, 2019 8:34 pm
Answering only the immediate question: probably something along the lines of if 0.1<= catapult_coordinate.x <= 0.2 and 0.1<= catapult_coordinate.y <= 0.2
That's it! Perfect :D
by Kinmoku
Tue Mar 12, 2019 10:50 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] If an image is in a certain xpos/ ypos, trigger an event
Replies: 2
Views: 132

[SOLVED] If an image is in a certain xpos/ ypos, trigger an event

Hi all. I am trying to make a simple "shooter" game. It's basically an imagemap (where you click on the target and hit it), but because using a mouse to do that is super easy and boring, I wanted to use keyboard inputs. The "gun", in this case, is a catapult, so I wanted something that felt more clu...
by Kinmoku
Tue Mar 12, 2019 6:31 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to make a passcode/ lock
Replies: 11
Views: 248

Re: Trying to make a passcode/ lock

Never-mind. I have simply added decimals to everything and now it works. For anyone who wants to see the final code, here it is: In script.rpy: default firstlock = 0.0 default secondlock = 0.0 default thirdlock = 0.0 In screens.rpy: screen diary_unlock: imagebutton idle Solid("#0000", xysize=(35, 26...
by Kinmoku
Tue Mar 12, 2019 6:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to make a passcode/ lock
Replies: 11
Views: 248

Re: Trying to make a passcode/ lock

lock_9.0 lock_90 delit . Sorry. I do not understand. I have attached an image with my file names, but I get this error: I'm sorry, but an uncaught exception occurred. While loading <'Image' u'images/present/lock_10.0.png'>: File "game/script.rpy", line 5335, in script call call table_explore File "...
by Kinmoku
Sun Mar 10, 2019 10:41 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Trying to make a passcode/ lock
Replies: 11
Views: 248

Re: Trying to make a passcode/ lock

https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=51868 This is it :D It works! The only issue I am having now is when I push down first, I get this error: I'm sorry, but an uncaught exception occurred. While loading <'Image' u'images/present/lock_9.0.png'>: File "game/script.rpy", line 5335, ...