| Click and go code | |
|
+10iMatt Connor bubba Bigeyes506 Gamerboy Bod720 fiery Rory Demento timelord14 14 posters |
|
Author | Message |
---|
Rory ActionScript Coder
Number of posts : 1366 Age : 27 Location : India Status : Changed my name to Rory Registration date : 2009-02-06
| Subject: Re: Click and go code Tue Apr 28, 2009 12:20 am | |
| What is the code to make the duck move? | |
|
| |
bubba Lengendary Duck
Number of posts : 1037 Age : 26 Location : Near DC Status : Being awsome (like always). Ask to be my freind. I accept all request! Registration date : 2009-04-19
| Subject: Re: Click and go code Tue Apr 28, 2009 4:28 am | |
| - Snooper1999 wrote:
- leave noob your cfs!
cfs? | |
|
| |
Rory ActionScript Coder
Number of posts : 1366 Age : 27 Location : India Status : Changed my name to Rory Registration date : 2009-02-06
| Subject: Re: Click and go code Tue Apr 28, 2009 5:39 am | |
| - bubba wrote:
- Snooper1999 wrote:
- leave noob your cfs!
cfs? CFS- Club Flippers Spy | |
|
| |
bubba Lengendary Duck
Number of posts : 1037 Age : 26 Location : Near DC Status : Being awsome (like always). Ask to be my freind. I accept all request! Registration date : 2009-04-19
| Subject: Re: Click and go code Tue Apr 28, 2009 1:46 pm | |
| - Ninja wrote:
- bubba wrote:
- Snooper1999 wrote:
- leave noob your cfs!
cfs? CFS- Club Flippers Spy Lol | |
|
| |
Rory ActionScript Coder
Number of posts : 1366 Age : 27 Location : India Status : Changed my name to Rory Registration date : 2009-02-06
| Subject: Re: Click and go code Tue Apr 28, 2009 11:54 pm | |
| Bigeyes506 is CF Game Staff | |
|
| |
bubba Lengendary Duck
Number of posts : 1037 Age : 26 Location : Near DC Status : Being awsome (like always). Ask to be my freind. I accept all request! Registration date : 2009-04-19
| Subject: Re: Click and go code Thu May 14, 2009 1:48 pm | |
| Oh really? i didn't know. | |
|
| |
iMatt Club Waddles Designer
Number of posts : 395 Age : 27 Location : The Diner! Registration date : 2009-04-17
| Subject: Re: Click and go code Sat Jun 20, 2009 3:58 pm | |
| Can we stay on Topic please?
Last edited by iMatt on Sun Jun 28, 2009 12:30 pm; edited 1 time in total | |
|
| |
Sunjy GRUB Chef
Number of posts : 149 Location : Canada Registration date : 2009-01-27
| Subject: Re: Click and go code Mon Jun 22, 2009 3:04 am | |
| do u have a boundry code? | |
|
| |
Ninjaitachi Rubber Duck
Number of posts : 5 Status : Status: Registration date : 2009-01-27
| Subject: Re: Click and go code Fri Dec 04, 2009 11:03 pm | |
| - 09op wrote:
- do u have a boundry code?
Here's the boundary code. - Code:
-
if ( this._y >=365.9){this._y=365.9;} if ( this._y <= 295.9){this._y=295.9;} I don't use this click I use this one: - Code:
-
stop(); moveBall = function () { this.dx = (this.targx-this._x)*.50; //Speed this.dy = (this.targy-this._y)*.50; //Speed this._x += this.dx; this._y += this.dy; if ( this._y >=365.9){this._y=365.9;} //HERE ENTER Y BOUNDARY'S! if ( this._y <= 295.9){this._y=295.9;} //HERE ENTER Y BOUNDARY'S! if ( this._x >=365.9){this._x=365.9;} //HERE ENTER X BOUNDARY'S! if ( this._x <= 295.9){this._x=295.9;} //HERE ENTER X BOUNDARY'S! };
setTarget = function () { this.targx = _root._xmouse; this.targy = _root._ymouse;
}; ball.targx = 10; ball.targy = 10; ball.onEnterFrame = moveBall; ball.onMouseDown = setTarget; If using that one insert is into the frames action script. With the one posted on here i am not sure how to add them. (Mainly cause i am to lazy =P) I hope this helps! And that's one way of doing it theirs another. | |
|
| |
§pëëďŷ Welcome to Club Waddles!
Number of posts : 4 Status : Registration date : 2010-08-14
| Subject: Re: Click and go code Sat Aug 14, 2010 9:05 am | |
| Tell me how to I make constant speed code please. This code is not at a constant speed. | |
|
| |
Christian Co-Owner
Number of posts : 13 Status : Registration date : 2010-10-24
| Subject: Re: Click and go code Sun Oct 24, 2010 5:51 pm | |
| Guys, I did a five second horrible scratch copy of it, and it doesn't work very well, this is what I got for the movement: http://www.swfcabin.com/open/1287961545Is there a way I can configure the x and y offset? | |
|
| |
Sponsored content
| Subject: Re: Click and go code | |
| |
|
| |
| Click and go code | |
|