All right, we tried that some time ago, and unfortunately it didn’t work because out, but I’m confident this time =) Anybody wants to collaborate with me?
whaaaaaaa ?
what’s an actionscipt tennis ???
someone who codes the best looking tennis match ???
naaaa its when one person starts of a peice of code say 4 lines then passes to the next person who will code 4 lines and so on until the script is complete.
i would enter but i am only starting out in actionscript and im not to good at it
hmm… what’s the theme? =)
Could be anything How about “space”?
uh, when do we start?
Shall I? Or do you want to start?
I would
What are the rules by the way? How is it gonna go?
Let’s say each one of us adds from 5 to 10 lines at a time, function headers, comments and brackets not included. I don’t know if we should discuss what we are doing though…
It would be cool if you could discuss it or at least place clear commenting because I’m starting to get to grips with ActionScript and I’m always happy to learn more :).
*Originally posted by JK87 *
**It would be cool if you could discuss it or at least place clear commenting because I’m starting to get to grips with ActionScript and I’m always happy to learn more :). **
Thats a good idea. Shouldnt be hard considering there arent many lines involved. It may take a while to get something fully developed - a couple of volleys.
There is also the issue of movieclips. Are these going to be using the drawing API? or can we add make new ones by drawing them? or have a specific set of usable, non-editable library items to work from? … like a line, square, cirlce or whatever? The drawing API would be cool (and help other people understand it more) but 5-10 lines is pretty much right there just the function for drawing a circle. Then again, it wouldnt be a big deal if the volleys go fast enough.
Also, handing off. Should that be in order? or take it as it comes. Setting an order is “fair” but it can also lead to delays and whatnot. “Taking it as it comes” is alot faster - basically thats just saying, someone declares that they have the ‘ball’ and will then post it. Next, whoever gets to it first takes it next (i.e. whoever is online). If two people are both after it, courtesy goes to the person with the least amount of go-at-its already. Just making sure whoever has it declares it in a post so theres no crossovers.
Let’s say: drawing API only, and “taking it as it comes”. Those who take it as it comes will have to post something like “File checked out” (I’m polluted by VSS, I know…).
All right? [size=1]btw, are you participating, Sen? :)[/size]
yeah
ah… ok… i hope this is good to begin with, with the ‘space’ theme in mind =)
[AS]Stage = {width:Stage.width, height:Stage.height}
container = [];
createCircle = function(num) {
clip = _root.createEmptyMovieClip(“mc”+i, i)
clip.lineStyle(10+Math.random()*60, Math.random()*0x0000FF,10+Math.random()*50);
clip.lineTo(.15,.45);
clip._x = Math.random()*Stage.width
clip._y = Math.random()*Stage.height
container.push(clip)
}
for(i=0; i<15; i++) createCircle(i)[/AS] 9 lines (excluding function headers) =)
edit
I have a small question ahmed
… why did you redefine Stage to be an object which is itself minus all its properties other than height and width :q:
ah, that… for some reason, when you run the movie in the Flash IDE, stage.width and stage.height return odd values, and by redefining it, it returns the correct values… it happens often, but not always
In the browser though this ‘bug’ doesn’t exist =)
This isnt going as fast as I thought Ill step in for a swing:
-FLA CHECKED OUT!-
ok, added a spaceship (or the start of one atleast
haha, awesome sen =)
line #28 is ingeniuos, never thought of that :beam:
p.s. thanks for commenting the code too
go for it! :beam:
Can you guys post the code please? I’m at work, and I don’t have Flash here (obviously…).