×

Discussion Board

Results 1 to 8 of 8

Thread: car racing game

  1. #1
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145

    car racing game

    hi all,


    I want develop a 2D racing game for 60 series devices. I am facing several issues that I couldn't solve.

    I want ur valuable guidance/suggestions for these problems

    1) how can I implement perspective view
    (please tell me link, algorithms, what mathematics will be needed ?)

    2) which type of tile mapping will be used (or not ) ?

    3) please suggest me an excellant book to learn geometry (which must have detalied material for 2D and 3D perspective view )

    ur suggestions and ideas r highly recommended

    regards
    dotcdotc

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    You are confusing a couple of views here. If you have a perspective view then it's 3D and not 2D. That throws tile mapping out the window (tile-mapping would be good on a 2D top-view racing game).
    Two good books I can suggest are "Tricks of the Windows Game Programming Gurus" (2D) and "Trick of the 3D Game Programming Gurus" (3D) by Andre LaMothe. They have code in C for the Windows platform, but he explains all the concepts really well, so you can make the port from there. They are heavy books though, and might be a little overkill if all you want to do is make a small racing game.

    shmoove

  3. #3
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145

    car racing game

    shmoov ! u mean I can't use two 2 objects to implement perspective view. Pleas tell me in more detail if possible.



    thanks
    dotcdotc

  4. #4
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    What do you mean by perspective view.
    I assumed you meant something like this.

    shmoove

  5. #5
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145

    car racing game

    yes , exactly .


    dotcdotc

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280
    Well that is 3D. Well, more of a hybrid 3D/2D technology. The cars themselves look like they're good ol' 2D sprites, but the track is generated with 3D algorithms.
    Search around the web for "perspective projections".

    shmoove

  7. #7
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Austria
    Posts
    86
    Hi!

    Perhaps you can do this with raycasting / floor casting.

    Check out the tutorial at
    http://www.permadi.com/java/rayc/index.html

    McMc

  8. #8
    Regular Contributor
    Join Date
    Nov 2003
    Posts
    145

    car racing game

    hey mcmc ! thanks a lot to suugest me but the url u have given me doesn't exist but I found the correct url on net


    http://www.permadi.com/tutorial/raycast/

    --------- is the correct url


    regards
    dotcdotc

Posting Permissions

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