Search found 88 matches

by Code Monkey
Mon Aug 06, 2012 9:41 am
Forum: Ren'Py Questions and Announcements
Topic: Yes/No prompt with QUIT and Skip toggle ?
Replies: 20
Views: 2298

Re: Yes/No prompt with QUIT and Skip toggle ?

Sorry for the late reply, that's a useful thread, thanks a lot Levrex!! I'm really happy now =)
Here's the code for anyone else wondering and too lazy to go look for it in that thread.

Code: Select all

def custom_quit():
            Quit()()
config.quit_action = custom_quit
by Code Monkey
Mon Jul 16, 2012 12:17 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with vbar image being cutoff
Replies: 6
Views: 678

Re: Issue with vbar image being cutoff

That worked, thanks Alex!
by Code Monkey
Sat Jul 14, 2012 11:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Issue with vbar image being cutoff
Replies: 6
Views: 678

Re: Issue with vbar image being cutoff

Oh I tried setting xminimum before and it did nothing but I set it with maximum this time and it worked. Thanks! Didn't think setting both would fix it. Just one more issue, the top of the bar is cutoff this time. I tried setting both ymin and ymax, just ymin, and just ymax but nothing seems to affe...
by Code Monkey
Sat Jul 14, 2012 12:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Menu graphics glitch? (was: Anyone know how to fix this?)
Replies: 9
Views: 1093

Re: Anyone know how to fix this?

I'm assuming you tried larger values for the offsets like 20-30 to see if there are any significant changes to the frame to see if it's the correct one? If you did then I'm not sure then T_T
by Code Monkey
Sat Jul 14, 2012 10:51 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with vbar image being cutoff
Replies: 6
Views: 678

Re: Issue with vbar image being cutoff

The image file has multiple images in it, so it has to be cropped to get just that heart bar. You think using a cropped image is the issue? I guess I could try using a normal image. But the thing is I made a bunch of bars all using cropped images and they never showed up like this.
by Code Monkey
Fri Jul 13, 2012 9:11 am
Forum: Ren'Py Questions and Announcements
Topic: Menu graphics glitch? (was: Anyone know how to fix this?)
Replies: 9
Views: 1093

Re: Anyone know how to fix this?

Maybe your frames are offset? Try doing something like this on the frame that has that image as the background.

Code: Select all

frame:
    xoffset -3
    yoffset 3
by Code Monkey
Fri Jul 13, 2012 8:46 am
Forum: Ren'Py Questions and Announcements
Topic: Issue with vbar image being cutoff
Replies: 6
Views: 678

Issue with vbar image being cutoff

The title explains it all. I narrowed down the screen to just the vbar and the image. I add the image of the crop to make sure the crop is not wrong but it shows up fine. The screenshot attached shows the vbar at the top left and the image being used for the bar in the middle(ish) of the screen. scr...
by Code Monkey
Wed Jul 04, 2012 12:20 am
Forum: Ren'Py Questions and Announcements
Topic: Yes/No prompt with QUIT and Skip toggle ?
Replies: 20
Views: 2298

Re: Yes/No prompt with QUIT and Skip toggle ?

The code you posted?

Code: Select all

image mm_root = "menu.jpg"
label main_menu:
    show mm_root
    $ renpy.show_screen("main_menu")
    $ ui.interact()
    return
Doesn't work for me =(
by Code Monkey
Tue Jul 03, 2012 11:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Yes/No prompt with QUIT and Skip toggle ?
Replies: 20
Views: 2298

Re: Yes/No prompt with QUIT and Skip toggle ?

You can temporarily write "add "nameofyourpicture.png" under "screen yesno_prompt". But it's just a temporary solution because it will put the same picture on ALL instances the prompt is being run. I'm still looking at ways to make this apply only on the Main Menu. I apologized for the late respons...
by Code Monkey
Mon Jul 02, 2012 5:49 am
Forum: Ren'Py Questions and Announcements
Topic: Two code questions
Replies: 2
Views: 378

Re: Two code questions

For 2, make a function and call it whenever you need to move the text box and call it again to place it back to it's original spot. This would allow u to move it anywhere, not just the center. init python: def position_say_window(xpos, ypos): style.window.ypos = xpos style.window.xpos = ypos style.r...
by Code Monkey
Thu Jun 28, 2012 11:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Yes/No prompt with QUIT and Skip toggle ?
Replies: 20
Views: 2298

Re: Yes/No prompt with QUIT and Skip toggle ?

None of the proposed solutions work for me, I've been having trouble with the exact same issue as Cinnamoon. Does anyone else have some insight on this?
by Code Monkey
Tue Jun 19, 2012 11:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Solved! - Turning a Textbox into a Quick Menu image map.
Replies: 16
Views: 5310

Re: Trouble with turning a Textbox into a Quick Menu image m

No problem! As for the next part, just using a piece of the default code for the say screen # This file is in the public domain. Feel free to modify it as a basis # for your own screens. ############################################################################## # Say # # Screen that's used to di...
by Code Monkey
Tue Jun 19, 2012 10:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Solved! - Turning a Textbox into a Quick Menu image map.
Replies: 16
Views: 5310

Re: Trouble with turning a Textbox into a Quick Menu image m

You need to add imagemap to your code screen quick_menu: # Add an in-game quick menu. hbox: style_group "quick" xalign 1.0 yalign 1.0 imagemap: ground "textbox.png" hover "textbox1.png" hotspot (495, 559, 69, 35) action ShowMenu('save') hotspot (572, 561, 61, 31) action ShowMenu('load') hotspot (637...
by Code Monkey
Mon Jun 18, 2012 10:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Making Springy Movement work
Replies: 4
Views: 938

Re: Making Springy Movement work

Hmm, I don't get the same error you do but it certainly doesn't work for me either. You're using the Complex From code from the cookbook right? It's the only one that seems to take the len() of an ATLTransform. Maybe this code worked in the past but it doesn't work now. Even if you comment out that ...