generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Looping Transparency

Previous Thread :: Next Thread 
IntelligentBeing is not online. IntelligentBeing
Joined: 11 Jul 2013
Total Posts: 523
31 Jan 2015 08:32 PM
The same way you do this:
for i=0,1,0.1 do
wait()
Window.Transparency = i
end

is there a way to like reverse it so instead of it going from 0 to 1, it goes from 1 to 0.

It doesn't work just by swapping the numbers.
Report Abuse
Impletion is not online. Impletion
Joined: 16 Jan 2015
Total Posts: 1228
31 Jan 2015 08:32 PM
-i
Report Abuse
vacharya is not online. vacharya
Joined: 06 Jan 2011
Total Posts: 511
31 Jan 2015 08:33 PM
for i=1,0,-0.1 do
wait()
Window.Transparency = i
end
Report Abuse
IntelligentBeing is not online. IntelligentBeing
Joined: 11 Jul 2013
Total Posts: 523
31 Jan 2015 08:33 PM
Thanks~
Report Abuse
atcop12 is not online. atcop12
Joined: 12 Jun 2011
Total Posts: 236
31 Jan 2015 08:34 PM
for i=0,1,-0.1 do
wait()
Window.Transparency = i
end

or

for i=0,1,0.1 do
wait()
Window.Transparency = 1 - i
end
Report Abuse
vacharya is not online. vacharya
Joined: 06 Jan 2011
Total Posts: 511
31 Jan 2015 08:34 PM
@Impletion, that would leave us with a negative transparency, so it would be better to count down from 1 to 0
http://wiki.roblox.com/index.php?title=Loops#For
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image