Psychadellivision By Volcanic-Penguin Watch

8K Favourites 2K Comments 1M Views

Alright, just because you people liked it so much (and I think you're crazy for doing so) I've updated it a bit. Well, quite alot actually. So now it's a bit more worthy of all those favs it's got. Click on the buttons in the lower left corner to change the amount of lines and their rotation, and click anywhere on the scene to change the appearance of the lines. You can aslo click on the little buttons in the lower right corner to switch between a black and white background. Enjoy.



Added the original type of line because one person told me they liked it better as it was before. And while I was at it, I added another one too.



edit: Added three types of lines, and took all the old arrangements and copy-paste-and-flipped them. Why didn't I think of that before -_- I know, I've updated this one alot and haven't uploaded anything new, I'm working on something else but it's a much bigger thing so it'll take a while.



¨¨¨

The new script is a bit long so I'll just leave the old one:



Here's the old script, which is put on four copies of the same movieclip placed in the center of the Scene. They're initially rotated 0(360?), 90, 180, and 270 degrees, to make it so, well, you figure it out. It's pretty simple really.



onClipEvent (load) {

x=0 //where the dot is

y=0 //where the dot is

xmove=0 //it's movement

ymove=0 //it's movement

}

onClipEvent (enterFrame) {

xmove+= (_root._xmouse-_x-x)/10 //math

ymove+= (_root._ymouse-_y-y)/10 //math

x+=xmove+(_root._xmouse-_x-x)/10 //math

y+=ymove+(_root._ymouse-_y-y)/10 //math

clear()

lineStyle(1,000000,100)

moveTo(oldx,oldy)

lineTo(x,y)

oldx=x //this is so that in the next frame it knows where the dot was last frame

oldy=y //this is so that in the next frame it knows where the dot was last frame

_rotation-- //This is negative on two of the movieclips (that initially have an opposite rotation to eachother), and positive on the other two.

}

IMAGE DETAILS Image size 550x400px 3.43 KB Show More