Search found 129 matches

by KuroOneHalf
Tue Feb 23, 2016 2:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] an image under the main menu?
Replies: 3
Views: 445

Re: an image under the main menu?

Yeah, I think the easiest way would be to do:

Code: Select all

init python:
    config.quit_action = Quit()
And it'll work the same as in-game. (I think.)
by KuroOneHalf
Tue Feb 23, 2016 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Graphic background for dialogue/narration?
Replies: 4
Views: 449

Re: Graphic background for dialogue/narration?

On your options.rpy file, ctrl+f "style.window.background". That section is dedicated to the textbox, where you can change the image it uses, and where the text is placed inside it. Like Steamgirl says though, if that documentation is a bit confusing, try googling some tutorials, as I know there's a...
by KuroOneHalf
Thu Dec 24, 2015 12:52 am
Forum: Ren'Py Questions and Announcements
Topic: Alter Quit() confirm argument dynamically
Replies: 2
Views: 339

Re: Alter Quit() confirm argument dynamically

Alright. Though how do I make it so the close button triggers this custom action? I thought maybe this would be defined somewhere along with the keybinds but I haven't been able to find it.

update: Nevermind, Renpytom and TheSHAD0W helped me out in the IRC and it's solved now. o/
by KuroOneHalf
Wed Dec 23, 2015 4:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Alter Quit() confirm argument dynamically
Replies: 2
Views: 339

Alter Quit() confirm argument dynamically

Hey guys. I'm making it an option to allow players to control whether they want quit confirmation prompts or not. Implementing it for imagebuttons was easy enough, I just called action Quit(confirm=var), but I've been stumped on how to do it for the quit prompt triggered by the close button (the X b...
by KuroOneHalf
Mon Dec 07, 2015 4:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Checkbox implementation
Replies: 10
Views: 2862

Re: Checkbox implementation

Ooooh, that's a cool solution! This is more elegant than I thought was possible.

Thanks so much once again! o/
by KuroOneHalf
Mon Dec 07, 2015 3:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Checkbox implementation
Replies: 10
Views: 2862

Re: Checkbox implementation

Oh, you can use styles for this huh. Did some tweaks to my code. However, the image states coming from the style don't seem to work. For example, this works: screen dummy_screen: imagebutton: xpos 10 ypos 280 idle "UI/checkbox_idle.png" # Unchecked idle hover "UI/checkbox_hover.png" # Unchecked hove...
by KuroOneHalf
Mon Dec 07, 2015 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Checkbox implementation
Replies: 10
Views: 2862

Re: Checkbox implementation

Thanks a lot Xela! I managed to get a decent solution with: imagebutton: xpos 10 ypos 280 if not checkboxes["check1"]: # unchecked idle idle "UI/checkbox_idle.png" else: # checked idle idle "UI/checkbox_hover.png" hover "UI/checkbox_hover.png" action ToggleDict(checkboxes,"check1") I didn't know abo...
by KuroOneHalf
Mon Dec 07, 2015 10:45 am
Forum: Ren'Py Questions and Announcements
Topic: Checkbox implementation
Replies: 10
Views: 2862

Checkbox implementation

Hey guys. This time I'm attempting to implement some checkbox functionality and I need help figuring it out. :< To clarify, by checkbox functionality I mean having buttons tied to boolean variables, that when clicked they toggle the variable's value and display a ticked or unticked box image accordi...
by KuroOneHalf
Fri Nov 27, 2015 8:06 am
Forum: Ren'Py Questions and Announcements
Topic: Dynamic sprite displacement
Replies: 9
Views: 1086

Re: Dynamic sprite displacement

Looks exactly like what Zetsubou suggested. My actual code: transform tremble: block: linear 0.025 xoffset -6 linear 0.05 xoffset 12 linear 0.025 xoffset 0 repeat label start: inami "So then I dropped the ice cream on my pants." show ic60 idle2 at left inami "Hi hi." show ic60 idle2 at tremble inami...
by KuroOneHalf
Thu Nov 26, 2015 11:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Dynamic sprite displacement
Replies: 9
Views: 1086

Re: Dynamic sprite displacement

Huh, weird. I am using that version too. :O I deleted persistent and recompiled and it still behaves wrong (as in xalign isn't preserved). And having to manually feed the x position to the function kinda defeats the point of the problem. It's curious that you guys seem to get different behavior than...
by KuroOneHalf
Thu Nov 26, 2015 5:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Dynamic sprite displacement
Replies: 9
Views: 1086

Re: Dynamic sprite displacement

Ooh, I wasn't aware xoffset could be used like this. Though it's not working quite right for me. The character is being aligned to x=0.5 and then doing the animation there, instead of doing it wherever it was. For reference, here's what my script looks like: show inami idle at left inami "Hi hi." sh...
by KuroOneHalf
Thu Nov 26, 2015 5:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Dynamic sprite displacement
Replies: 9
Views: 1086

Dynamic sprite displacement

Hey guys. I've been trying to figure out a solution to this problem for a few months and have had no success yet, so I figured I'd try a thread. Lemme know if after this it still sounds unclear. To clarify on the problem, let me first exemplify a basic ATL transformation to be applied on a character...
by KuroOneHalf
Sun Oct 11, 2015 8:08 pm
Forum: Creator Discussion
Topic: How to stay focused?
Replies: 10
Views: 1482

Re: How to stay focused?

Yeah the solution is not to magically cook up more motivation to power you, but rather to force yourself to do it. To do that you can just do it the standard way - reserve an arbitrary slot of time and restrict yourself to doing your tasks doing that period - but there are some productivity methods ...
by KuroOneHalf
Thu Sep 24, 2015 2:01 pm
Forum: Creator Discussion
Topic: Methods to compress image and audio files' size
Replies: 11
Views: 2101

Re: Methods to compress image and audio files' size

I currently see absolutely zero reason for people to use anything but OGG for the audio files in their game. The different in quality is, at least to me, indiscernible, and the file size reductions are immense. In terms of image files, I've lately been finding that PNG nets me the lower file size fo...
by KuroOneHalf
Mon Sep 21, 2015 1:42 pm
Forum: Creative Commons
Topic: RenPy HotSpot Tool
Replies: 45
Views: 25076

Re: RenPy HotSpot Tool

Hey, I just tried this out but there seems to be a fairly big problem - any hotspot you try to make that's less than ~20px width or height, the program won't create. This makes it utterly unusable for more compact UIs, and a fix would be greatly appreciated.