Need some help on racing game

Software: Away3D 3.x

scutterry, Newbie
Posted: 11 August 2011 02:14 AM   Total Posts: 17

I want to develop a racing game, but i have no idear how to do. Anybody help?

   

jtopaz, Member
Posted: 11 August 2011 07:25 AM   Total Posts: 53   [ # 1 ]

Any more detail? what kind of racing game you are working on?

   

scutterry, Newbie
Posted: 11 August 2011 07:31 AM   Total Posts: 17   [ # 2 ]

just like alternativa3d max racer demo
http://alternativaplatform.com/en/demos/maxracer/

   

Mr Margaret Scratcher, Sr. Member
Posted: 12 August 2011 05:38 PM   Total Posts: 344   [ # 3 ]

My suggestion would be to find a 2d, top down racing game tutorial i n as3, and follow that, get your head around the physics of it, and then makind it 3d is a matter of transferring those principles to 3d…


So say figure out how to drive a rectangle that represents a car, around a track, in 2d (imagine a top down view)

Theeeen, have a look, if you haven’t already at some basic away 3d tutorials, generally they start off with making a cube, and adapt your previous code to move your cube around…

Then find a tutorial that shows you how to import a 3d model, and replace the bit of your code that creates a cuboid, with code that loads a model of a car…

That’s basically it, everything else is refinement of graphics, thinking how you will implement physics etc…

   

scutterry, Newbie
Posted: 13 August 2011 05:10 AM   Total Posts: 17   [ # 4 ]

Thanks for your suggestioin, Mr Margaret Scratcher. I knew these basic principles which importing a 3d model,mapping texture and 3d transferring. but i dont know how to create a track. actually, creates a scene. And the car how to race around it.
one more question is that Box2D physics engine can be uesd on 3d racing game. Or any other physics engine is better?
Thanks in advance.

   

Gralcio, Newbie
Posted: 13 August 2011 05:15 AM   Total Posts: 6   [ # 5 ]

You can check out jiglibflash physics engine and its demos with a car. It’s more or less what you need.

As far as I remember there should be 1 basic demo with JCar on a plane and a few boxes and one where terrain is imported.

   

Avatar
SasMaster, Sr. Member
Posted: 13 August 2011 11:26 AM   Total Posts: 127   [ # 6 ]

I recall some two years ago I needed to write a drive simulator in flash3D for some project in the company I work for.I needed physics naturally as well.I tried with PV3D ,then with Away 3x and with Alternativa.It was a pain and the performance really sucked because back than I used JigLib which was killing the CPU.At last did it with Unity .Today I think you can go ahead with Away4 + JigLib or Ringo’s bullet and have no fear regarding the performance (just don’t exaggerate with concurrent simulations amount)..Take a look at JigLibFLash molehill demos and you will find your way.

 Signature 

This looks like a job for superman
http://blog.alladvanced.net

   

scutterry, Newbie
Posted: 13 August 2011 12:11 PM   Total Posts: 17   [ # 7 ]

thanks a lot.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X