00:00
00:00
Newgrounds Background Image Theme

Mekatov just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

AS: Bouncing Object

11,942 Views | 37 Replies
New Topic Respond to this Topic

Response to AS: Bouncing Object 2007-04-07 17:48:45


At 4/7/07 01:16 PM, sk8more wrote:
At 4/7/07 01:00 PM, ImpotentBoy2 wrote: kids these days.
by the waymnice tutorial
bsic,but well explained

i think i would have done it differently now though...

Response to AS: Bouncing Object 2007-07-24 19:51:07


cheers mate, great demo. Im just 'attempting' to learn to control gravity and basic AS math atm so this was a great help.

Response to AS: Bouncing Object 2009-01-15 16:28:18


is there a way that the gravity code can be used to make a planets gravity field, like in mario galaxy

Response to AS: Bouncing Object 2009-08-28 19:19:21


how would you make your own grounds so it could be slanted? and when i apply a drag and drop code it still bounces even when i pick it up!

Response to AS: Bouncing Object 2009-08-28 20:07:39


At 8/28/09 07:19 PM, piggy123 wrote: how would you make your own grounds so it could be slanted? and when i apply a drag and drop code it still bounces even when i pick it up!

By using ActionScript.

Response to AS: Bouncing Object 2009-08-28 20:45:06


i said help not what you did

Response to AS: Bouncing Object 2009-08-29 00:23:31


By using boolean values.

Response to AS: Bouncing Object 2009-08-29 02:43:20


At 8/28/09 08:07 PM, Deathcon7 wrote:
At 8/28/09 07:19 PM, piggy123 wrote: how would you make your own grounds so it could be slanted? and when i apply a drag and drop code it still bounces even when i pick it up!
By using ActionScript.

for slanted walls, the best way to do it is with vectors
then instead of dragging the object by changing the position, you just set its velocity to the distance between it and the mouse. its hard to learn but once you do it just makes everything seem easy

in the first page delta gave a formula for it, but tonypa speaks english.