Author Topic: Scene Repair  (Read 5245 times)

  • Hero Member
  • *****
  • Posts: 509
    • View Profile
Re: Scene Repair
« Reply #30 on: December 05, 2019, 08:09:09 pm »
There are multiple things wrong with that file.
1. Main sex sequence: You have a script on each speed first frame, but you somehow lost script on last frame of each speed to loop animation back to the first frame of particular speed.
So when the first speed first frame number 50 named "a" has script:
play();
tellTarget("_root.LVL.NPC.area.char.jasmin.****")
{
   gotoAndStop("a");
   play();
}
player.gotoAndPlay("a");

Which is botched Crow style script telling "****" object to play "a" sequence and "player" object to play "a" sequence.
(first play() is unnecessary, object is is already called to play starting at particular frame; tellTarget is deprecated statement but still working to move focus of following statements to object "_root.LVL.NPC.area.char.jasmin.****" which is unnecessary referenced from the top of the hierarchy while this script is already in "jasmin" object; gotoAndStop() followed by play() is equal to gotoAndPlay() statement which should be used instead; so the 5 middle lines should be replaced by simple ****.gotoAndPlay("a") statement).
You need also a script in the last frame (unnamed frame 100) of the first speed telling to play again from the first frame of this speed. That's done by single statement gotoAndPlay("a") = play this from frame named "a".

The same with the second and third speed: Add script gotoAndPlay("b") to the frame 140 (last of the second speed) and gotoAndPlay("c") to the frame 155.

The climax sequnce need script to stop in the last frame of the sequence, otherwise playing restarts from the first frame of object (sprite) timeline. So add script with stop() statement to the frame 200.

Now about the camera controller:
First, you have camera buttons in separate invisible object (sprite). There is no reason for that. In the object (sprite) where you have visible button drawings, you place the object with buttons in the first frame of camera controller, then in the second frame you remove object with buttons and place it again back. That deletes state of the object with button and creates it again starting in the first frame. I suggest to place each button object to particular frame of camera controller object.
Then gotoAndStop(...); will work at least moving this camera controller frame.
There is still no object with multiple frames of different zoom for the sex scene. You don't need to create one, you can change it's zoom and position instead of creating multiple frames.
To change zoom of not just sex scene, but also with background together, manipulate "area.char" object:
Place following statements in your button scripts:
_parent.area.char._xscale = 200; (use any number you want)
_parent.area.char._yscale = 200; (use the same number as above to keep aspect ratio)
_parent.area.char._x = ...; (some number of new relative horizontal position)
_parent.area.char._y = ...; (some number of new relative vertical position)

The default zoom and position offset for "char" object in default zoom (use for camera1) is: _xscale = 100; _yscale = 100; _x = 0; _y = 0;

The censored object name is t-i-t-s.
I hope Crow's lawyer nukes this board soon so I can setup new decent one and don't need to deal with F-U-C-K-I-N-G SmfNew boards anymore. I didn't expect that a pirate board could live on public free forums site longer than 3 weeks.

Okay my issue is where I have to add the loop script at the end frames of each speed section. When I insert a frame on the timeline and apply actions to it, the frame takes up more than one frame of space, so some of the frames are clipped off.