|
|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 |
|
Senior Member
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 |
|
|
|
|
|
#4 |
|
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. |
|
|
|
|
|
#5 |
|
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 |
|
|
|
|
|
#6 |
|
When in doubt ask
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. Last edited by Eager Beaver; 02-25-2007 at 02:23 AM. |
|
|
|
|
|
#7 |
|
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
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|