A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Side-view of driving over detailed terrain HELP

Hybrid View

  1. #1
    Senior Member b18269's Avatar
    Join Date
    Jan 2006
    Location
    London, UK
    Posts
    167

    Side-view of driving over detailed terrain HELP



    As you can see from my highly detailed drawing , you can kinda guess what Im trying to do.

    1) car is at stand still
    2) car moves on arrow press realisticly over the hill with easing.

    I have been having a poke around at tutorials but they all seem to be car driving games like the GTA ones (birds-eye-view). I want a side ways one.

    Does anybody have experience with what im trying to do and point me to a right tutorial (or even have a simpl fla I can rape off you)

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Getting realistic movement involves lots of physics, you need things like forces, friction, time-based collision between terrain and car parts etc. FlashKit has Math and Physics board where you could look around.

  3. #3
    Senior Member b18269's Avatar
    Join Date
    Jan 2006
    Location
    London, UK
    Posts
    167
    cheers, will have a fish around

  4. #4
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    maybe use for the terrain slopes (maybe store it in a way of just height positions wich are connected with each other through slopes) and for the wheels circle collisions with a constrain binding them to each other - and each wheel colliding with the slopes that are in its (wheel) area.
    THough this papers are really advanced stuff you might find these interesting and perhapsp somewhat helpfull:
    http://www.harveycartel.org/metanet/...tutorialA.html
    propably you would have enough read and need on "SECTION 0: General Introduction"

  5. #5
    Script kiddie VENGEANCE MX's Avatar
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,590
    Kinda off-topic, but thanks for linking that, Render. I've read it quite a few times before, but today I realized it's actually nowhere near as hard as I'd originally thought. Might try and use it in an experiment or something soon.
    http://www.birchlabs.co.uk/
    You know you want to.

  6. #6
    Who needs pants? hooligan2001's Avatar
    Join Date
    Apr 2001
    Location
    Somewhere
    Posts
    1,976
    This might be helpful, uses the fisix engine.

    http://www.gotoandplay.it/_articles/...six_trucks.php

  7. #7
    Game Player - Developer scheletro's Avatar
    Join Date
    Mar 2005
    Location
    México living in Barcelona
    Posts
    1,121
    You always have to create your terrain using cordinates? is there another way?


    "I love to make them as I love to play them"

  8. #8
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    Quote Originally Posted by scheletro
    You always have to create your terrain using cordinates? is there another way?
    well perhaps an image representing the height map will do it for some people or perhaps random sequences or parts of elments that are resused within an algorhythem- but then again not every developer might be a friend of auto generated map data - and rather design the teragin as well.

  9. #9
    Senior Member Sietjp's Avatar
    Join Date
    Jan 2005
    Location
    Paris, France
    Posts
    711
    There is a short tutorial and sources for this kind of games, in the flashkit games board, made by Frag, but I don't remember the url...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center