Search found 15 matches

by tim640
Tue Jun 12, 2018 9:38 am
Forum: Ren'Py Questions and Announcements
Topic: SOLVED Adding a picture to a textbutton while hovered (a "pointer")
Replies: 3
Views: 132

Re: Adding a picture to a textbutton while hovered (a "pointer")

Yesssss thank you, it works perfectly!!
I guess sometimes the solution is way less complicated, huh. I had no idea you can add background just on hover in style properties of a button. Thank you!!
by tim640
Mon Jun 11, 2018 9:30 pm
Forum: Ren'Py Questions and Announcements
Topic: SOLVED Adding a picture to a textbutton while hovered (a "pointer")
Replies: 3
Views: 132

SOLVED Adding a picture to a textbutton while hovered (a "pointer")

Hello again! I am afraid i need to write here once again, haha U_U; I am not even sure if that's a possible option in RenPy, so far my tries haven't got me anywhere eh So there are my menu textbuttons in a form like this: textbutton _("NEW GAME") action Confirm("Start the story from the beginning?",...
by tim640
Thu May 31, 2018 9:02 am
Forum: Ren'Py Questions and Announcements
Topic: Using Transform() on the "namebox"?
Replies: 3
Views: 105

Re: Using Transform() on the "namebox"?

It's like magic!! So i've got the overall principal of it wrong, it works kinda like layers, then?
Thank you so much for a quick response!
by tim640
Thu May 31, 2018 6:15 am
Forum: Ren'Py Questions and Announcements
Topic: Using Transform() on the "namebox"?
Replies: 3
Views: 105

Using Transform() on the "namebox"?

Hello again! So the subject name is pretty self-explaining, i think. Basically, i want to rotate the character name to, let's say, 25 degrees. Is that even possible?.. As from what i read, you need to kinda "turn" text object into "image" for Renpy to transform it, but how can one do so with an obje...
by tim640
Fri May 25, 2018 6:22 am
Forum: Ren'Py Questions and Announcements
Topic: Dialogue callback sound problem
Replies: 1
Views: 103

Re: Dialogue callback sound problem

UPD.: partly solved by adding $renpy.music.stop(channel="sound") in the beginning of "game_menu" code part, now the sound stops if i open the menu in the middle of the dialogue appearance! However, the problem with "hide_windows" is still the same, if i hide the interface during the message, the sou...
by tim640
Fri May 25, 2018 4:05 am
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

The alternate button WORKS . I'll just put this bit into the "controls info" section to clarify it exists and it's going to be enough now. I can't thank you enough, but sending all the hugs all the way from Russia lol Also, as to a small delete button, also an idea for the future. I guess i can just...
by tim640
Thu May 24, 2018 7:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

Okay, so first of all: i tested the "keysym" parameter on the save slot itself first, and it DOES work with the "FileAction" function, so seeing that i am positive it will work on the textbutton properly! This is incredibly awesome, finally!! I kinda gave up tbh, will remember "keysym" thing for the...
by tim640
Thu May 24, 2018 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Dialogue callback sound problem
Replies: 1
Views: 103

Dialogue callback sound problem

Yeeeeeah well. Finishing touches to the interface of the game are the hardest, polishing is hard, huh :oops: Another problem that i ran into. So i have a callback defined right in the beginning on the "script.rpy" which makes a sound play while text is appearing in the dialogue window. It looks like...
by tim640
Thu May 24, 2018 5:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

All the buttons in every other occasion with the current settings work as i need it! ;_; On every screen. Oh, well. Actually, i've been thinking: is it's such a pain to map the button to the gamepad, i can just add additional textbutton to delete a save right under the slot, right? It would be more ...
by tim640
Wed May 23, 2018 9:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

Removed the "key "pad_x_press" action FileDelete(slot)" , but also didn't changed a thing :< Also, all of the things you asked are positive. All other functions works perfectly fine It's really weird. Like, i have a "Press Start to continue" screen instead of the main menu, basically it's just a bg ...
by tim640
Wed May 23, 2018 8:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

P.S: found an interesting part of the code in "controller.py": # Should we ignore events? ignore = False def make_event(name): """ Creates an EVENTNAME event with `name`, and returns it. """ if not renpy.display.interface.keyboard_focused: return None if ignore: return None names = [ name ] if renpy...
by tim640
Wed May 23, 2018 7:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

Checked gamecontrollerdb.txt just in case, every button is present there! Now as to the code, seems extremely logical, yet it doesn't work, i am at a loss haha It at least doesn't cause an exception, at least the big piece of the code you wrote. Unlike the renpy.display.controller.make_event( "pad_x...
by tim640
Wed May 23, 2018 5:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

UPD: yeeeah so i am a bit stupid bc i should've done init: $ config.pad_bindings["pad_x_press"].append("save_delete") instead of "keymap" because i am trying to configure the gamepad after all lol Now with that function in options it gives me an exception KeyError: u'pad_x_press' Changing the "x" to...
by tim640
Wed May 23, 2018 5:29 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Re: Mapping a "save_delete" action to a gamepad button?

Yep, that is exactly what i did at first. key "pad_x_press" action FileDelete(slot) doesn't work; reading the manual also kinda says that gamepad buttons are binding to events, not to functions; also, in the "default" settings of controls "pad_x_press" doesn't even exist. So at first i tried to map ...
by tim640
Wed May 23, 2018 4:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Mapping a "save_delete" action to a gamepad button? (Solved!)
Replies: 14
Views: 220

Mapping a "save_delete" action to a gamepad button? (Solved!)

Good evening ya'll! So as the thread name says. Honestly, i've been sitting on such a small (as i thought lol) thing for a couple of hours by now and read the whole documentation through, but simply can't seem to make it work. Basically what i want to do it whenever i use the gamepad (i use the Xbox...