To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > General Help > Math and Physics

Reply
 
Thread Tools Search this Thread Display Modes
Old 01-29-2007, 08:34 PM   #1
joran420
Senior Member
 
Join Date: Apr 2006
Posts: 1,059
[disc]ball Physics Engine

Hey Everyone,

Ive been really busy and havent posted much lately. but Im stumped and im sure its mostly just wrapping my brain around the info ive dug up

Im trying to make a game simillar to lineRider(but with a ball instead of a sledder.) actually the only thing simillar is the physics involved. So what I need to do is have a ball with Gravity acting on it and it will hit slopes and calculate teh difference between its current vector and the new vector that results from the balls vector intersecting the slopes vector

basically I need to figure out how to do everything(Gravity, Immovable Obstacles, bounce or Roll, moveable objects, etc. really Ive dug up most of these things in various Physics Tutorials, but i cant put it all together..)... Ive worked with vectors(i learned it all from TonyPa's Tut's) and multiple ball colisions but i havent messed at all with a ball colliding with a slope...

or if anyone knows of a pre-built AS2 2d physics engine(like Fisix Engine but for AS2, or the Revive Engine(but again looking for AS2) ), basically ive found several, but theyre all for AS3


anyway my brain hurts from trying to figure this out on my own so I figure I could ask you all for help. anyway I figure the least of you guys is miles ahead of me in terms of math concepts.

Thanks

Joran
joran420 is offline   Reply With Quote
Old 01-29-2007, 09:52 PM   #2
joran420
Senior Member
 
Join Date: Apr 2006
Posts: 1,059
just found this

http://www.harveycartel.org/metanet/tutorials/

will play with it tonight this might be just the thing :P
joran420 is offline   Reply With Quote
Old 01-30-2007, 05:14 PM   #3
ozmic66
Senior Member
 
ozmic66's Avatar
 
Join Date: Oct 2005
Posts: 463
You can try using flade as it probably has most of the features you need, and you can add some of your own code for other functionality

If you asked me though, I'd suggest moving to AS3 Not only because of Fisix, but because it's a much faster language which that allows for way more possibilities that AS2. It's also not that much of a leap from AS2, though it does have its learning curve.
__________________
iPhone Games: Flyloop | Freedom Run

Twitter: Oztune
Physicsdev Blog - Actionscript, games, and physics
FisixEngine - AS3 flash physics engine | Fisix Community | Fisix Wiki
ozmic66 is offline   Reply With Quote
Old 01-30-2007, 07:14 PM   #4
joran420
Senior Member
 
Join Date: Apr 2006
Posts: 1,059
yeah but then id have to buy Flex :/ .... or the new version of flash when it comes out.(right? those are my only options to use AS3?) besides I think i found a AS2 engine that i can adapt to work pretty fast and AS2 will provide better backwards compatibility for people who are still runing player7

or can i use just the flex SDK to use AS 3.0?

how can i use AS 3 without sinking another 500 or so bucks
[edit] PS . Flade is what i did find that ive adopted to fit my needs better(I just added images to the primatives/particles so I can represent them a little better for my needs and made some minor tweaks to it and it seem,s like it should work great.)

[edit][edit] whoops ... or i can just use the free F9 preview to get AS3 :P

Last edited by joran420; 01-30-2007 at 09:09 PM.
joran420 is offline   Reply With Quote
Old 02-04-2007, 02:56 AM   #5
691175002
Knows where you live
 
Join Date: Oct 2004
Posts: 944
You can download the flash 9 AS 3.0 preview for free from adobe.

Missed your edit :/

The math behind it isnt too hard. There is a full chapter on that kind of stuff in Flash MX Game design demistified.
__________________
The greatest pleasure in life is doing what people say you cannot do.
- Walter Bagehot
The height of cleverness is to be able to conceal it.
- Francois de La Rochefoucauld
691175002 is offline   Reply With Quote
Old 02-25-2007, 02:13 AM   #6
Eager Beaver
When in doubt ask
 
Eager Beaver's Avatar
 
Join Date: Feb 2007
Location: Planet Earth
Posts: 816
Hey!
Please see this movie published in flashkit.
http://www.flashkit.com/movies/Scrip...1721/index.php
Alll the best in your attempt to develop a game similar to Line Rider.
__________________
Open Source

Last edited by Eager Beaver; 02-25-2007 at 02:23 AM.
Eager Beaver is offline   Reply With Quote
Old 02-25-2007, 12:33 PM   #7
joran420
Senior Member
 
Join Date: Apr 2006
Posts: 1,059
Its actually alot different than linerider...but its a looooooong way from being anywhere near done.

I was able to modify the Flade Library to work for me
joran420 is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > General Help > Math and Physics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:47 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.