Search found 96 matches

by ChesStrategy
Mon Feb 22, 2016 10:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Cython and UDDs
Replies: 0
Views: 549

Cython and UDDs

Hi all, I plan on using Cython to protect some our python source (compilation of .py to .pyd). However, as I am quite new to this, was wondering if PyTom or any fluent renpy developer knows if there are limitations or issues to compile .py files that reference/import renpy APIs. Specifically I was w...
by ChesStrategy
Tue Dec 22, 2015 4:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick question regarding renpy.redraw( self, 0 )
Replies: 3
Views: 973

Re: Quick question regarding renpy.redraw( self, 0 )

Xela,

There might be some misunderstanding; I know UDD A will be re-drawn; but since UDD A will be and it is a child of a parent displayable; does UDD A's parent also get redrawn as a result of the redraw() call in UDD A?
by ChesStrategy
Tue Dec 22, 2015 12:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick question regarding renpy.redraw( self, 0 )
Replies: 3
Views: 973

Quick question regarding renpy.redraw( self, 0 )

Hi renpy users, a quick question for anyone whose used UDDs/CDDs: If you call renpy.redraw( self, 0 ) in the render() function of a UDD. If that UDD is deep inside a large tree of parent child displayables, does all of the parent/ancestor displayables also redraw? Here is an example: #Inside UDD A: ...
by ChesStrategy
Tue Dec 15, 2015 5:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Marking a deep child for redraw [solved]
Replies: 2
Views: 440

Re: Marking a deep child for redraw [solved]

This might be due to a nasty, hidden bug in our code; marking as solved temporarily
by ChesStrategy
Tue Dec 15, 2015 3:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Marking a deep child for redraw [solved]
Replies: 2
Views: 440

Re: Marking a deep child for redraw

We've refactored a decent amount of our codebase into several different UDDs that rely on the render() function to be called; so here's to hoping for a cool solution :D rather than more refactoring... :cry:
by ChesStrategy
Tue Dec 15, 2015 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: Marking a deep child for redraw [solved]
Replies: 2
Views: 440

Marking a deep child for redraw [solved]

Hi all, I currently have a hierarchy of nested displayables; something similar to this example: # inside UDD self.children = [ Transform(), Transform() ] def render( ... ): for child in self.children: ...create our_render... ...call renpy.render() on each child... ...blit to our_render... renpy.redr...
by ChesStrategy
Mon Nov 23, 2015 10:59 am
Forum: Ren'Py Questions and Announcements
Topic: Increase line width (or column count) in renpy.log [solved]
Replies: 2
Views: 409

Increase line width (or column count) in renpy.log [solved]

Hi all, Apologies if I was not able to find this information myself... Is there a way to increase the number of characters outputted per line for renpy.log()? We output a lot of debug info to find issues during our testing; and its occasionally cumbersome to format the output specifically for 70 col...
by ChesStrategy
Mon Nov 16, 2015 1:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Transform does not affect certain properties inside UDD
Replies: 6
Views: 660

Re: Transform does not affect certain properties inside UDD

Thanks Xela, I'll look over this; hopefully will not have any followup questions.
by ChesStrategy
Mon Nov 16, 2015 1:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Transform does not affect certain properties inside UDD
Replies: 6
Views: 660

Re: Transform does not affect certain properties inside UDD

Hi Xela, Thanks for the prompt response. And honestly... you're writing decent code for what seems like a complicated game, LiveComposite is a poor, sad wrapper around a Fixed... you can create your own Fixed, prolly with better syntax, inside UDD if you wish and it may even end up working better an...
by ChesStrategy
Mon Nov 16, 2015 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Transform does not affect certain properties inside UDD
Replies: 6
Views: 660

Re: Transform does not affect certain properties inside UDD

Hi Xela, Sorry; I've corrected my post; the value should an absolute position; it should be int( st ); anyways... With regards to blitting, I don't think Ill be able to do that; let me explain, the 'self.child' in the code/'original post' above can be a LiveComposite The 'real' issue I have is, each...
by ChesStrategy
Mon Nov 16, 2015 11:48 am
Forum: Ren'Py Questions and Announcements
Topic: Transform does not affect certain properties inside UDD
Replies: 6
Views: 660

Transform does not affect certain properties inside UDD

Need some help; I have the following code inside a UDD render() function: def render( self, width, height, st, at ): val = int( st ) t = store.Transform( child=self.child, xpos=val ) renpy.log( "st is {}".format( val ) ) child_render = renpy.render( t, width, height, st, at ) our_render = ...
by ChesStrategy
Thu Nov 12, 2015 11:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Redrawing Transform in UDD [solved]
Replies: 1
Views: 385

Re: Redrawing Transform in UDD [solved]

related to other solved issue
by ChesStrategy
Thu Nov 12, 2015 11:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Achieving the same effect of Transforms in UDDs [solved]
Replies: 1
Views: 256

Re: Achieving the same effect of Transforms in UDDs [solved]

I think I figured this out; looking at some of the old examples, I need to do a renpy.redraw within the render function itself.
by ChesStrategy
Thu Nov 12, 2015 9:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Achieving the same effect of Transforms in UDDs [solved]
Replies: 1
Views: 256

Achieving the same effect of Transforms in UDDs [solved]

When you do a renpy.show(), if the at_list is specified with a valid transform or if you show a transform object directly, the transform animates until it is complete, whether future interactions have occurred or have not occurred. Can someone confirm if the transform is constantly being redrawn on ...