Search found 66 matches

by Suwamoto
Thu Jul 11, 2013 9:38 am
Forum: Ren'Py Questions and Announcements
Topic: Toggle buttons not working [solved]
Replies: 2
Views: 307

Re: Toggle buttons not working

You could try declaring it into a screen action like this owo

http://lemmasoft.renai.us/forums/viewto ... =8&t=22021
by Suwamoto
Mon Jul 08, 2013 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: DSE file problem
Replies: 2
Views: 533

Re: DSE file problem

If you simply downloaded it and copied all the files into your project, you should have the "main.rpy" file too ovo That file contains another label start, you might wanna take it out. (If you start Ren'Py, the traceback should tell you it can't deal with 2 start labels anyways oxo) How to...
by Suwamoto
Mon Jul 08, 2013 10:15 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] How to rotate imagebutton in main menu?
Replies: 6
Views: 1500

Re: How to rotate imagebutton in main menu?

Code: Select all

imagebutton: 
	idle "GUI/Prefs_idle.png" 
	hover "GUI/Prefs_hover.png"
	focus_mask True
Like that oxo
by Suwamoto
Fri Jul 05, 2013 8:06 pm
Forum: Ren'Py Questions and Announcements
Topic: variable in filename of an image
Replies: 4
Views: 632

Re: variable in filename of an image

Mhm and if you change the LiveComposite to this? init: image Selina head1 = LiveComposite( (496,700), (0, 0), "%s%s%s"%(path, bik, ext), (0, 0), "characters/Selina/head1.png") And if that still doesn't work, how about init python: def draw_selina(st, at): return LiveComposite( (4...
by Suwamoto
Fri Jul 05, 2013 4:59 pm
Forum: Ren'Py Questions and Announcements
Topic: variable in filename of an image
Replies: 4
Views: 632

Re: variable in filename of an image

Instead of declaring the variables like this $ path = "characters/Selina/" $ ext = ".png" $ bik = "01" Try this init python: path = "characters/Selina/" ext = ".png" bik = "01" I am not sure why but I think Ren'py's LiveComposite just updat...
by Suwamoto
Sat Jun 29, 2013 2:00 pm
Forum: Ren'Py Questions and Announcements
Topic: Non-square imagemaps buttons
Replies: 12
Views: 4669

Re: Non-square imagemaps buttons

Or you can just simply add the button with a transparent background and add

alpha True

to the imagemap o.o That makes the mouse recognice the transparency and ignore everything on the button that is transparent oo
by Suwamoto
Sat Jun 29, 2013 4:57 am
Forum: Ren'Py Questions and Announcements
Topic: "Sayer '%s' is not defined."
Replies: 6
Views: 2464

Re: "Sayer '%s' is not defined."

Yes, for single outfit characters with multiple expressions you can use my first code. For characters with multiple expressions, you can use this method. I have tried around a bit and I think it's better to save the character bases with emotions and the outfits on seperate layers. (You know like tho...
by Suwamoto
Fri Jun 28, 2013 11:32 am
Forum: Ren'Py Questions and Announcements
Topic: Hide screens with the same tag
Replies: 2
Views: 1004

Re: Hide screens with the same tag

Well I was searching a solution to not use multiple Hide statements at once XD'
So at the moment I am calling a blank screen with the same tag to hide all the others, but I was wondering if I can use something like hide screens with a specific tag or something >w<"
by Suwamoto
Fri Jun 28, 2013 9:29 am
Forum: Ren'Py Questions and Announcements
Topic: "Sayer '%s' is not defined."
Replies: 6
Views: 2464

Re: "Sayer '%s' is not defined."

Edit: Wait hold on the code I just wrote doesn't work XD' Gimme one minute. Edit2: To change the outfit of the character, do it like this: init python: current_outfit = "outfit1" current_mood = "happy" def draw_shimji(st, at): return LiveComposite( (200, 200), # Image size (0, 0)...
by Suwamoto
Fri Jun 28, 2013 6:19 am
Forum: Ren'Py Questions and Announcements
Topic: "Sayer '%s' is not defined."
Replies: 6
Views: 2464

Re: "Sayer '%s' is not defined."

Your ConditionSwitch is missing the None and True conditions >w< For the case that your status_var doesn't have anything stored. And I'm not sure where you declared your variables. But it should work like this: init python: def conditional_portrait(status_var, filename_prefix, states): args = [] arg...
by Suwamoto
Wed Jun 26, 2013 4:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Hide screens with the same tag
Replies: 2
Views: 1004

Hide screens with the same tag

Hey >w<
I was wondering if there was a way to hide all screens that got the same tag at once?

I found "renpy.hide_screen(tag, layer='screens')" in the doc, but I am not sure if it's the right one and I can't seem to use it right either.
by Suwamoto
Tue Jun 25, 2013 7:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Compare two different lists [Solved]
Replies: 1
Views: 410

Compare two different lists [Solved]

Hi >w< Let's say I got two different lists which look like this: list1 = [ ("bird", 5), ("dog", 2) ] list2 = [ ("bird", 3, 5), ("lurch", 4, 4) ] And I want to compare them and figure out if there are fields that got the same name. In this example, it would be ...
by Suwamoto
Tue Jun 25, 2013 7:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Custom Name not showing up in Dialogue
Replies: 5
Views: 938

Re: [Help Please] Custom Name not showing up in Dialogue

Uhm, then "My name is %(MC)s." should work fine oxo At least it does for me >w<
by Suwamoto
Tue Jun 25, 2013 6:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Number Variable Points
Replies: 2
Views: 238

Re: Number Variable Points

It should be "if kpoints > 4:" instead of "if kpoints > max(4):" owo