Actions
Bug #812
closedAlpha makes images re-appear if slightly below 0.0
Start date:
08/18/2021
Due date:
% Done:
0%
Estimated time:
Affected version:
Description
This should fade the bob, but when it gets to 0 it re-appears as full alpha:
#splashScreen:False
curs off:flash off
for x=1 to 50
ink x
bar rnd(50),rnd(50),10,10
next x
get image 1,0,0,50,50
ba#=1.0
do
if ba#>0 then add ba#,-0.01
bob 1,100,100,1
bob alpha 1,ba#
wait vbl
loop
end
I have to always do things like this line below to stop them appearing again:
if ba#<0 then ba#=0
Updated by David Baldwin over 3 years ago
Fixed! Negative Alpha values now automatically corrected to zero.
Updated by Paul Kitching over 3 years ago
- Status changed from Resolved to Closed
Actions