The Daily Click ::. Forums ::. Klik Coding Help ::. Bungee cake in space
 

Post Reply  Post Oekaki 
 

Posted By Message

nim



Registered
  17/05/2002
Points
  7234
12th January, 2010 at 06:47:44 -

Something I've tried a few times and never quite succeeded in any kind of graceful way.

Years ago, I was messing around in Flash and I made something that would create a cake (the msn messenger emoticon) in a random position on the screen, and it would slingshot around until it rested in the centre of the screen, as if it were attached by a bungee cord.

Simply adding 1 to Alterable Value A and adding that to X("Active") doesn't work. Even with dampening it never ends up resting at exactly the cord's point of origin. I'm not really up on physics (if that's what it takes.) What I'm looking for is a single maths expression that will create this effect, rather than the hacks and workarounds that I usually end up making. Can anyone help?

 
//

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
14th January, 2010 at 12:35:08 -

Did you post this on Clickteam also? As far as coding help goes, threads usually get answered a lot faster on there I have no idea what the solution is but the name of the thread hooked me immediatley

 
n/a

nim



Registered
  17/05/2002
Points
  7234
14th January, 2010 at 12:38:29 -

I didn't post it on Clickteam. Maybe I should, but it's not really all that important. I guess no one here likes cake

CAKE!

 
//

Ski

TDC is my stress ball

Registered
  13/03/2005
Points
  10130

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!KlikCast HelperVIP MemberWii OwnerStrawberryPicture Me This Round 28 Winner!PS3 OwnerI am an April Fool
Candy Cane
14th January, 2010 at 13:40:26 -

Liam adores cake. He even made a game called Cakington. He doesn't visit tdc too much anymore though

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
14th January, 2010 at 16:31:15 -

OH really?

CANK

 
Image

Tell 'em Babs is 'ere...

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
14th January, 2010 at 16:31:16 -

OH really?

CANK

Edit: Sorry for the double post... and since when has Smilebig looked like this: ?! Not amused.

Edited by -Liam-

 
Image

Tell 'em Babs is 'ere...

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
14th January, 2010 at 18:36:20 -

I on the other hand am very amused.

 
You can log off any time you like, but you can't ever leave.
   

Post Reply



 



Advertisement

Worth A Click