HTH Dialog Developers Group
General Category => XML and technical stuff => Topic started by: Tabby on December 29, 2019, 03:16:12 am
-
Attached is prego mode implemented in Rio cowgirl scene.
Drawing is rather poor, the point of this scene version is elsewhere. It's actually a proof of concept.
I could not just change belly segment per prego level, because basic belly (waist) should be at a layer below leg and pus*y segments while high prego level belly should be above these. Also prego belly of size should move different to waist. So it has to be an additional segment.
That's where is the problem: Adding segment to main animation timeline usually involves manual animation moving that segment frame by frame. That is utterly tedious in case of 600-1400 frames animation timeline. Specially in FFDec tool where you move segment by entering numeric coordinates in a form instead of mouse drag.
No one have that much time.
So I figured a workaround. I added static segment (prego belly) in the animation and created script for that segment that traces another already animated segment (waist) coordinates frame by frame and follows that segment automatically with intentional delay (adjusted per prego belly size).
Because it works, new much more effective way for doing animations is open now:
Some base segments can be animated by coordinates math of following some geometric track, another segment can calculate it's coordinates relative to another moving segment. Doing math and programming is always way easier than doing drawing and animation.
(Edit: file removed for lack of board space. Result is used in published v0.671)
-
amazing! I have Ava's dialogue, but could you also help me out with referencing objects in Actionscript?
-
Sure I can.
The easiest way is that you tell me which file (in current version or attach new one) and what do you want it to do. I'll look inside and tell you how to do that. Or what's wrong if you've already done something that doesn't work.
-
Thanks it’s in scripts
-
There is a corner case when things doesn't work properly with SWF - ActionScript duality.
SWF DefineSprite should be equivalent to ActionScript MovieClip class. Both define the same thing in Flash. But it's not.
You can read and write properties and call MovieClip class methods of an object defined by DefineSprite in SWF. But if you change certain properties: coordinates, scale or rotation, of MovieClip type object that is animated by a PlaceObject2() tags with move flag and Matrix table (modifying coordinates, scale or rotation), then object property is succesfuly changed and applied, but DefineSprite animation by PlaceObject tags stops working.
It seems like DefineSprite tag in SWF file does not create MovieClip type object, but something simpler. When ActionScript manipulates object in certain way, Flash player converts that object to MovieClip type which is not fully backwards compatible.
Obviously the Flash player programmer didn't anticipate that someone would manipulate object both by SWF tags and AS2 scripts. After all it doesn't make much sense unless you are using script to extend an existing flash animation.
I've run into that issue when I tried to change breast size of animated breast object depending on prego level.
I can thing of two or three workaround approaches for that. Either to create a wrapper object to nest the current one, so one is animated flash style and other script way, or when change of object hierarchy would break existing scripts calling that object, then to create a dummy object of the same name and frame count, to catch other scripts calls and move the true object accordingly.
I deferred breast size change implementation until I have done far more essential prego belly in all Rio & Charlotte scenes.
So far I have improved Rio cowgirl belly animation & drawing and done Rio barstool scene belly.
-
Damn you really do keep busy don’t you. After you finish with Rio, could we focus more on standardizing the scenes? GUI, Transitions, and Player genus?
-
Rio/Charlotte missionary turned out to be difficult to add prego belly. Because of her hands, the upper torso is in layer above legs. So it is a bit hard to add prego belly to be in layer below legs while above torso.
Also modifying segments is not easy, because single segment, like a torso or leg, is not a single drawn shape but 4 shapes instead with one clipping another in layer above. I wonder what led Crow to make it such complicated way.
-
Who knows