04-10-2011, 05:15 AM
Dont take it bad, but i love rain, its so calming!!!
Gah, stupid lightning
|
04-10-2011, 05:15 AM
Dont take it bad, but i love rain, its so calming!!!
04-10-2011, 05:19 AM
OMG, I love rain even more...so peaceful
04-10-2011, 05:20 AM
I <3 storms. Just as long as it's not a snowstorm. God, i'm so sick of those.
04-10-2011, 05:23 AM
(04-10-2011, 05:20 AM)Twinmold Wrote: I <3 storms. Just as long as it's not a snowstorm. God, i'm so sick of those. I couldn't agree with you more, Im sick and tired of the cold period.
Hello
04-10-2011, 05:31 AM
[/lua]
(04-10-2011, 05:15 AM)Scripter Wrote:(04-10-2011, 05:14 AM)toast Wrote: Nu you have to make lightning out of yellow Boxes so it's randomer and more realistic What you do is you choose the X that the lightning will strike at, then you choose how many points there are, then you keep making points at X + randomnumberhere so that way it's random, then you make a function for making parts that are a line from one place to another (this might work) [lua]function line(from,to,thickness) local p=create("Box") p.Position=from:add(to):divide(2) p.Size=Vec2D((from.x^2+from.y^2)^0.5,thickness) p.Rotation=math.atan2(from.y-to.y,from.x-to.x) return p [/lua] I think the atan2 is screwed up but oh well Siggy by McNoobster! |
« Next Oldest | Next Newest »
|