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
已加入 在 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
已加入 在 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 的免费用户,您不能在论坛中回答话题或创建新话题。
但您仍然可以访问基本类别并与我们的社区取得联系!