Age Verification
This website contains age-restricted material including nudity and explicit content. By entering, you confirm being at least 18 years old or the age of majority in the jurisdiction you are accessing the website from.
I am 18+ or older - Enter
I am under 18 - Exit
Our parental controls page explains how you can easily block access to this site.

Fullscreen - Simple? sprite opacity problem

  掲示板 / iStripperに関する全て

DrDoom9
Joined in Dec 2008

226 投稿
February 2, 2016
I am disappointed to record that, after much thought, I have failed to solve the following little problem, so if an expert could help I would be most grateful.

​I need to have a sprite or clipsprite at opacity <=0 for 30 seconds, then to pingpong up to >=1 and back down to <=0 during the next 30 seconds (peaking at 45 seconds). The 60 second cycle then repeats.
​x, y and z are to be constant, unchanged, during the visible second 30 second slice of the cycle.

​I have tried multiple sprites using combinations of loopforward and pingpong both within the same sprite and in separate sprites at different display priorities, but I just cannot get exactly what I want. I have even tried to mix a 90-second pingpong cycle with a 120 second loopforward cycle varying opacity, but then I get an unwanted pingpong at the start of the secong 60-second cycle. It's driving me mad!
DrDoom9
Joined in Dec 2008

226 投稿
February 2, 2016
I have solved it. I do not know why it took me so long!
​First animate the sprite on a 15-second cycle with pingpong, then mask the first 30 seconds using loopforward on a 60-second cycle with opacity 30000 to -30000.
i.e.
clipSprite {
source : Dancer5
pos : 624, -960.670628, -3911.025972
standingHeight : 960
scale : -1, 1, 1 opacity : 0
animate : 15, pingpong, linear, opacity, 1 // t=0 to t=15, opacity 0 to 1 (masked by quad below)
​ // t=15 to t=30, opacity 1 to 0 (masked by quad below)
​ // t=30 to t=45, opacity 0 to 1
​ // t=45 to t=60, opacity 1 to 0
}
quad {
hotspot : 0.5, 0.5
pos : 0, -266, 2607.350648
size : 416, 234
color : 0.75, 0.75, 0.75
opacity : 30000
animate : 60, loopforward, linear, opacity, -60000 // t=0 to 30, opacity 30000 to 0 ( masking)
​ // t= 30 to 60, opacity 0 to -30000 (transparent)
}

まだ参加することはできません

iStripper の無料ユーザーはフォーラム内のトピックに参加したり新しいトピックを作ることはできません。
でもベーシックカテゴリーには参加できコミュニティーと接することはできます!