Search found 36 matches

by raine
Sun May 06, 2012 6:48 am
Forum: Ren'Py Questions and Announcements
Topic: Moving text window freely
Replies: 5
Views: 1020

Re: Moving text window freely

I tried this with using both Image() and Frame() for the text-window, but the results are the same. I am using the OpenGL renderer, do you think this is renderer related?
by raine
Tue Apr 17, 2012 2:20 am
Forum: Ren'Py Questions and Announcements
Topic: Moving text window freely
Replies: 5
Views: 1020

Re: Moving text window freely

So sorry but I noticed a new problem regarding the moving-boundaries of the text-window. I can't move the window to a coordinate with a negative x or y which is nice, but I can move it to a coordinate that makes a part of the image goes out of the screen; say x > (screen width)-(image width). And wh...
by raine
Mon Apr 16, 2012 4:36 am
Forum: Ren'Py Questions and Announcements
Topic: Moving text window freely
Replies: 5
Views: 1020

Re: Moving text window freely

Oh, so that was the default parameter. Sweet! I added "xfill False" after "window id "window":", and I can move around freely. Thanks! :)
by raine
Fri Apr 13, 2012 9:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving text window freely
Replies: 5
Views: 1020

Re: Moving text window freely

By the way, the result is the same if I use Frame instead of an Image. Oh and for the records, my purpose in all this is to create a game that has a freely movable text-window and a movable side-image. Here's the modified screen I forgot to post the last time :) # Defaults for side_image and two_win...
by raine
Fri Apr 06, 2012 9:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Moving text window freely
Replies: 5
Views: 1020

Moving text window freely

I added a drag to the say screen as mentioned here, and I'm using an image for the textbox

Code: Select all

style.window.background = Image("frame.png")
which is smaller than the screen (both horizontally and vertically). I can move the textbox vertically, but not horizontally. Is this a bug?
by raine
Sun Feb 20, 2011 7:58 am
Forum: Ren'Py Questions and Announcements
Topic: How can I make a CG Gallery??
Replies: 7
Views: 984

Re: How can I make a CG Gallery??

There was a recent discussion about it: http://lemmasoft.renai.us/forums/viewto ... f=8&t=8933
Bottom line is, you can do it with some labor, but CG galleries will be supported by Ren'Py very soon, and your code will become obsolete.
by raine
Sat Feb 19, 2011 9:51 am
Forum: Ren'Py Questions and Announcements
Topic: Conditional side images
Replies: 3
Views: 602

Re: Conditional side images

The xalign and yalign parameters are not being passed down. If you want to do it this way (without kwargs), pass them to ConditionSwitch directly, like ConditionSwitch(*args, xalign=xalign, yalign=yalign). I noticed an extra "[/func]" there BTW. Can you be more specific about "occasio...
by raine
Sat Feb 19, 2011 9:07 am
Forum: Ren'Py Questions and Announcements
Topic: Various problems with screens
Replies: 1
Views: 352

Re: Various problems with screens

Bump.
Eh, was it too much for a single thread? ^_^'
by raine
Tue Feb 15, 2011 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Various problems with screens
Replies: 1
Views: 352

Various problems with screens

Cheers for the new release! :) It's just wonderful that we can tune the basic screens at our own will, and that we finally have drag & drop, but there're a few things about it that I can't get working. I'm trying to set up a completely independent text window and a side_image window, neither one...
by raine
Tue Feb 01, 2011 1:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a CG Gallery using Screen Language
Replies: 14
Views: 3986

Re: Make a CG Gallery using Screen Language

We can make use of a global variable, which hold which CG is currently being shown. Also, some helper functions would be handy (all in Python) cur_cg = 0 # Total number of CGs NCGS = 9 def clamp(x, Min, Max): if x < Min: return Min elif x > Max: return Max return x def next_cg(): cur_cg = clamp(cur_...
by raine
Mon Jan 31, 2011 10:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a CG Gallery using Screen Language
Replies: 14
Views: 3986

Re: Make a CG Gallery using Screen Language

That's great ^_^
You don't need any extra variables at all. What is your code for doing a transition when viewing a CG? We only need a few simple modifications there
by raine
Mon Jan 31, 2011 3:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing expressions of side image avatars.
Replies: 15
Views: 3235

Re: Changing expressions of side image avatars.

You might also want to check out this cookbook page
by raine
Mon Jan 31, 2011 3:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a CG Gallery using Screen Language
Replies: 14
Views: 3986

Re: Make a CG Gallery using Screen Language

No no, you're doing great! I'm really sorry about that, I usually tend to write in Python and access Ren'Py Python API directly when writing functions/screens/etc, I'm not really good with Ren'Py's own style. When I saw you skipping paranthesis, I thought "so you can write it this way in screen...
by raine
Fri Jan 28, 2011 10:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Make a CG Gallery using Screen Language
Replies: 14
Views: 3986

Re: Make a CG Gallery using Screen Language

I'm terribly sorry about the late reply --I hope it's not too late! It looks sweet! Just replace 'cg1' with 'cg%d' % i Here, the 'cg%d' is the actual string, but the %d part will be replaced by the value of the integer variable i at each step. (for details, you can see this page ) Then you'll have c...
by raine
Mon Jan 17, 2011 7:21 am
Forum: Ren'Py Questions and Announcements
Topic: Make a CG Gallery using Screen Language
Replies: 14
Views: 3986

Re: Make a CG Gallery using Screen Language

Nagu wrote:raine. I would certainly aprecciate your help, I think i will try myself as you say. Now if that does not work for me, i could wait the new release. That's so great! thanks you both :D
Of course :)
So, could you post what you have done so far?