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...
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...
cheers mate, great demo. Im just 'attempting' to learn to control gravity and basic AS math atm so this was a great help.
is there a way that the gravity code can be used to make a planets gravity field, like in mario galaxy
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!
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.
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.