Search found 96 matches
- Thu Nov 12, 2015 5:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Redrawing Transform in UDD [solved]
- Replies: 1
- Views: 395
Redrawing Transform in UDD [solved]
Trying to dabble in UDDs again; hastily wrote up the following code as a test; anyone know why the transform only took affect once (based on output from renpy.log())? For anyone willing to help, you will need to specify your own "start_img" and a different layer. class Stage(renpy.Displaya...
- Thu Nov 12, 2015 2:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Advanced Questions regarding Timer Screens
- Replies: 5
- Views: 1608
Re: Advanced Questions regarding Timer Screens
If this is just a small bit and you have tons of complex calculations/conditions/timers and so on, look into DD or UDD. Both come with timers, UDD has a structure of a Python class that can handle any amount of complex logic/calculation and everything will be in one place. Other options are creatin...
- Thu Nov 12, 2015 1:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Advanced Questions regarding Timer Screens
- Replies: 5
- Views: 1608
Re: Advanced Questions regarding Timer Screens
Hi Xela, Otherwise, while this will (should) work, this is one messed up way of handling complex timed actions in Ren'Py. Depending on what exactly you need this for, there are not just the native Ren'Py time related functionality but almost the whole capabilities of Python itself... Are you saying ...
- Thu Nov 12, 2015 12:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Advanced Questions regarding Timer Screens
- Replies: 5
- Views: 1608
Advanced Questions regarding Timer Screens
Per renpy users' advice, I plan on using empty screens with timers; for now, I'm hoping the following is possible; but I have some followup questions: screen TimerScreen( deferred_calls ): for time_delay, callable, args, kwargs in deferred_calls: timer time_delay action [ Function( callable, args, k...
- Fri Nov 06, 2015 10:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ensuring transform function is eval upon skipping [Solved]
- Replies: 4
- Views: 598
Re: Ensuring transform function is evaluated upon skipping
Hi PyTom,
Thanks for the confirmation; we are conditioning it on data at the moment; we will keep using that method then.
Regards,
Ches
Thanks for the confirmation; we are conditioning it on data at the moment; we will keep using that method then.
Regards,
Ches
- Wed Nov 04, 2015 5:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Deferred, timed function call
- Replies: 6
- Views: 676
Re: Deferred, timed function call
Hi trooper6, As a follow-up 'sanity-check' question: it is possible to have multiple instances of the same screens shown at the same time? Or I would need to define X uniquely named screens based on the maximum number of timers I want ticking down simultaneously? Also, if I show say a screen named '...
- Wed Nov 04, 2015 5:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ensuring transform function is eval upon skipping [Solved]
- Replies: 4
- Views: 598
Re: Ensuring transform function is evaluated upon skipping
Hi PyTom, we discovered what the issue was; apparently the update did occur (i.e. alpha was set to zero), but then the transform function was called again, setting it to something else. Is there a way to ensure that the transform is never, ever called again for an existing image/tag? (we've tried do...
- Tue Nov 03, 2015 1:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ensuring transform function is eval upon skipping [Solved]
- Replies: 4
- Views: 598
Ensuring transform function is eval upon skipping [Solved]
Need some help from renpy experts; wish to get straight to the point... We are using a lot of custom transforms via transform functions like: blah = renpy.display.motion.Transform( child=None, function=<this thing here> ) renpy.show( "stufs", what=<something>, at_list=[blah], layer='custom...
- Fri Oct 23, 2015 11:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Deferred, timed function call
- Replies: 6
- Views: 676
Re: Deferred, timed function call
Trooper, since you've had experience with timers before, if I set a timer to say 30 seconds, and call the screen, followed by another call screen statement; will the 30sec timed function be canceled?
- Fri Oct 23, 2015 11:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Deferred, timed function call
- Replies: 6
- Views: 676
Re: Deferred, timed function call
Hi trooper6; I'll attempt to use a screen then; staying hopeful that issues won't arise.
- Fri Oct 23, 2015 10:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Deferred, timed function call
- Replies: 6
- Views: 676
Deferred, timed function call
Calling any/all renpy experts, Is there a way to invoke a python function after a specified amount of time? Something like: renpy.imaginary_deferred_func( fn=function_to_run, delay=10.0 ) ...dialogue and stuff... (10 seconds have passed now; 'function_to_run' gets executed) Some other considerations...
- Fri Oct 23, 2015 2:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: A transform callback would be cool
- Replies: 3
- Views: 1060
A transform callback would be cool
Been messing with transforms again, and I'm sort of stuck... see the code below renpy.show( 'something', at_list=[ place( 0, 0 ), slide( 200, 1.0 ), slide( -200, 1.0, start_offset=200 ) ] ) The goal was to place something at xpos, ypos of (0,0) and then slide something by an xoffset of 200 for 1 sec...
- Wed Oct 07, 2015 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Wish to confirm behavior of transforms
- Replies: 4
- Views: 445
Re: Wish to confirm behavior of transforms
Ok! Thanks for the info PyTom!
- Wed Oct 07, 2015 10:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Wish to confirm behavior of transforms
- Replies: 4
- Views: 445
Re: Wish to confirm behavior of transforms
Hi PyTom, Thanks for the quick response! Some followup questions; is there a suggested way to get the last known all of the last known transform properties for a particular image displayed on the scene list? Or the best way would be to do something like this: #this is mostly psuedocode def getProps(...
- Tue Oct 06, 2015 11:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Wish to confirm behavior of transforms
- Replies: 4
- Views: 445
Wish to confirm behavior of transforms
Hi all, Just wanted to confirm with anyone who has a lot of experience with transforms/ATL and a bit of experience in writing transform functions. If my terminology of 'transform functions' is not correct I mean the following: for me, a 'transform function' would be the following below called 'trans...