RE: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread INK .
Well.. I am not talking here about Movieclip twening engines.

The basic idea is: press and drag the sheet of papper with _rotation
based in the movement direction
doing some  Math with angles sin/ cos..
I am not good at trigonometric functions.
So maybe someone did something like that before.

Thanks.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of f a r i
d | s i l v a | a b o i d
Sent: Monday, April 03, 2006 1:43 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Good Math script for sheet movement when
dragedontable


have you tried this one?

http://laco.wz.cz/tween/


--
SalU2


f a r i d | s i l v a | a b o i d
www.e-foco.com.ar
tel: +54 11 4115-0773
cel: 15-5774-8005

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Alias
You could probably adapt the page drag mathematics from this article...

http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's Guide to
Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge of trig,
and besides, it starts to be fun after the first couple of years :)

Hope this helps,
Alias
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread eugen pflüger

i guess you are looking for something like this:
http://www.intentionallies.co.jp

this site is from yugo nakamura. very well scripted.

someday i tried it by myself but unfortunaly didnt get it to work.

my thoughts were this:
on click on a sheet find the distance from the middle and set it to  
be the new origin (thats the new rotation point).
then you have to find out in which direction the sheet should turn -  
calculate some forces...depending on the drag movement

something like this :)



Am 03.04.2006 um 14:22 schrieb Alias:

You could probably adapt the page drag mathematics from this  
article...


http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html

A good book to learn about trigonometry is the Complete Idiot's  
Guide to

Algebra by W. Michael Kelly - it's very well written and mathematical
beginner-friendly.
http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance

You won't get far in flash development without a basic knowledge of  
trig,

and besides, it starts to be fun after the first couple of years :)

Hope this helps,
Alias
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com










plugisto
...
eugen pflüger

alexanderstr. 109
70180 stuttgart

fon +49.711.6739797
mobil   +49.177.6428272
e-mail  [EMAIL PROTECTED]
...
http://www.plugisto.net
http://itself.pmalc.de
http://www.lifeperformance.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Good Math script for sheet movement when dragedontable

2006-04-03 Thread Seb L
yeah that's close...! What you need is a pendulum simulation, where
the clicked point is the pivot, and the centre point is the weight
(centre of gravity). I built something like this for
www.jak2renegade.com, except there was gravity involved too. (check
scene 2). Take out the effects of gravity and you get what you're
looking for.

If I wasn't snowed under building a 3D shootout game in Flash, I'd dig
out the code...

cheers
Seb

On 03/04/06, eugen pflüger [EMAIL PROTECTED] wrote:
 i guess you are looking for something like this:
 http://www.intentionallies.co.jp

 this site is from yugo nakamura. very well scripted.

 someday i tried it by myself but unfortunaly didnt get it to work.

 my thoughts were this:
 on click on a sheet find the distance from the middle and set it to
 be the new origin (thats the new rotation point).
 then you have to find out in which direction the sheet should turn -
 calculate some forces...depending on the drag movement
 something like this :)



 Am 03.04.2006 um 14:22 schrieb Alias:

  You could probably adapt the page drag mathematics from this
  article...
 
  http://www.oreillynet.com/pub/a/javascript/2004/09/03/flashhacks.html
 
  A good book to learn about trigonometry is the Complete Idiot's
  Guide to
  Algebra by W. Michael Kelly - it's very well written and mathematical
  beginner-friendly.
  http://www.amazon.com/exec/obidos/tg/detail/-/1592571611?v=glance
 
  You won't get far in flash development without a basic knowledge of
  trig,
  and besides, it starts to be fun after the first couple of years :)
 
  Hope this helps,
  Alias
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 








 plugisto
 ...
 eugen pflüger

 alexanderstr. 109
 70180 stuttgart

 fon +49.711.6739797
 mobil   +49.177.6428272
 e-mail  [EMAIL PROTECTED]
 ...
 http://www.plugisto.net
 http://itself.pmalc.de
 http://www.lifeperformance.net


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com