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 » Scripting Helpers
Home Search
 

Re: Making smooth transitions

Previous Thread :: Next Thread 
FIRECAKE is not online. FIRECAKE
Joined: 28 Feb 2009
Total Posts: 25167
26 Apr 2012 08:43 PM
Let's say I want to change the reflection on a brick from 0 to .5 every wait(5)

I know there is something like x[i] for [i] do --- or something like that

But what would the full code look like?

⊂=-҉Ξ҉-=⊃ We don't need ropes to climb the walls you build. Ideas and passion break the brinks with you. Man up. ⊂=-҉Ξ҉-=⊃
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 08:44 PM
for i = 0,.5,.1 do
script.Parent.Reflectance = i
wait(5)
end
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 08:49 PM
local t=false

--stuff
if t==false then
t=true
for i=1,5 do
script.Parent.Transparency=i*.1
wait(1)
end
for i=5,1,-1 do
script.ParentTransparency=i*.1
wait(1)
end
t=false
end
--stuff
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 08:50 PM
Sorry.. I'm too tired for this stuff, was thinking about my admin door....



while wait(5)do
for i=1,5 do
script.Parent.Reflectance=i*.1
wait(1)
end
for i=5,1,-1 do
script..Parent.Reflectance=i*.1
wait(1)
end
end
Report Abuse
FIRECAKE is not online. FIRECAKE
Joined: 28 Feb 2009
Total Posts: 25167
26 Apr 2012 08:51 PM
Can I change the i*.1 to make it a smoother transition?

⊂=-҉Ξ҉-=⊃ We don't need ropes to climb the walls you build. Ideas and passion break the brinks with you. Man up. ⊂=-҉Ξ҉-=⊃
Report Abuse
Phellem is not online. Phellem
Joined: 04 Aug 2011
Total Posts: 1984
26 Apr 2012 08:52 PM
@ iIikeyou

I think you need to take a break.
Miz already did that.
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 08:54 PM
-ignored-
Report Abuse
FIRECAKE is not online. FIRECAKE
Joined: 28 Feb 2009
Total Posts: 25167
26 Apr 2012 08:56 PM
Can someone answer me please? :c

⊂=-҉Ξ҉-=⊃ We don't need ropes to climb the walls you build. Ideas and passion break the brinks with you. Man up. ⊂=-҉Ξ҉-=⊃
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 08:58 PM
Yes you can. It would look something like this! ~.~



while wait(3)do
for i=1,5 do
script.Parent.Reflectance=i*.1
wait(1)
end
for i=5,1,-1 do
script..Parent.Reflectance=i*.1
wait(1)
end
end




>_>
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 08:59 PM
while true do
for i=1,5 do
script.Parent.Reflectance=i*.1
wait(1)
end
wait(3)
for i=5,1,-1 do
script.Parent.Reflectance=i*.1
wait(1)
script.Parent.Reflectance=0
end
end




Sorry this one works >.>
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:01 PM
ILikeYou, you have been posting a lot today!

I'm proud :)

But I can tell you're kinda tired.

script..Parent.Reflectance=i*.1

One dot, not two.
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 09:03 PM
qq


mizzy y u no hate me for trolling u liek a class-a dockwad
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:05 PM
Mizzy gets no mad over a game.

I'm da troll, bra :P
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 09:10 PM
qq y u no add me mizzy u stopid trol qq
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:13 PM
Because I don't use addz anymore, I use exponents and stuff llike datz.

Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 09:19 PM
kk well i sad thens
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:21 PM
Maybe if uze sais y u no exponent me, I will exponent you and we be friends :3
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 09:32 PM
miz^1/6 * iii^1/3 = (fwend^1/3)/addme
miz * iii^1/3 = fwend/addme
(fwend/addme - miz)^1/3 = iii
iii^3 = fwend/addme - miz*i


kk so

if me to the cube is equal to friend divided by me minus you times i, then that means I am exponential while you are an unreal number (being the cube root of a negative numnber) O WAIT
CUBE ROOT OF A NEGATIVE NUMBER IS POSITIVE

THIS MEANS WE CAN BE FRIENDS


i so exponentialed u can u exponential me?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:35 PM
You can try, but I'm not sure if it will work. Because you're a positive number, while I'm 0. Not a postive nor negative number. Exponent me and will see how this theory is like.
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 09:40 PM
kk I will test by placing theoretical numbers to replace our values

6^1/3 * 3^1/6 = (4/6)*i
6^3 *3 = (4/6*i)^6

216 * 3 = -4/6
648 = -4/6

160.5 = 0

I forgot to put in 2 variables so I can't solve it as a quadratic getting two values to be tested against eachother deciding the outcome of our exponentialness.... one sec i restart
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 09:42 PM
160.5~= 0 :/

Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 10:00 PM
I did it out, Aroblox didn't allow the post I don't know why. Maybe it doesn't like my exponents. It came out to be answers to quadratic are x = -10 and x = -2/5


After plugging them in, it came out as -2/5 = 243
and -10 = -9720

pluggin those into calc

1 = 1

mizzy u r my exponennt
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
26 Apr 2012 10:01 PM
What the heck are you two doing, anyways, I don't have the time to post all day.

1. I have a life! =3

2. If I did post that long, I would be facepalming at every single problem which I can help with. XD
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
26 Apr 2012 10:02 PM
learn to quadratic equation w/ negative quintuplet roots without using unreal numbers
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Apr 2012 10:04 PM
Hooray :3

Exponent me.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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