Diving into the deep end

This is a discussion on Diving into the deep end within the Game Programming forums, part of the General Programming Boards category; Up until now the only game I have ever written in C was a "Snake" game, like the ones you ...

  1. #1
    Unregistered
    Guest

    Talking Diving into the deep end

    Up until now the only game I have ever written in C was a "Snake" game, like the ones you get on nokia mobiles. It used the BC4.5 functions to draw squares instead of what I should have done, writing directly to the graphics card. I can't remember how the hell I did it, but it worked smoothly and I got a high score of 28,000.


    Well, anyway, I have been out of the programming loop (pun not intended) for some time now, and I have been thinking of writing a 3D game in C. What a huge leap. My C skills are pathetic, I never use floating point variables because they are "scary". Can someone please point me to a good. free compiler (I currrently use LCC-Win32, but I don't think it has "the stuff" for 3d programming) that I can use for writing Glide/D3D(microsoft, urg) programs, give me a little help, maybe an example. I don't have an email address at the moment, so just reply in this thread.

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    DJGPP is a free compiler. I have never used it, but several other people on this board have, and several use it as their primary compiler.
    My Website

    "Circular logic is good because it is."

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,597
    DJGPP is great. However, if you are afraid of floating point values it is going to be hard to write a 3D engine. Using integers via shifts and fixed-point math is actually slower than just using the FPU. Plus, unless you want jittery polygons like in the early Tomb Raider's I suggest you use floating point values. Compare Quake 1+ with Tomb Raider 1 and you'll clearly see the difference.

    Floating point values are not hard to use, especially if you know asm and code for the FPU. Anything less will probably not give you the speed that you are going to require in an engine.

    DJGPP is www.delorie.com - go to the zip picker and check what you want. Make sure you get RHIDE so read the screen carefully.

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    You mentioned Glide, dont waste your time there. Use D3D or OpenGL.

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,597
    Poor 3Dfx. I used to love it, but Eber is right. Not worth your time.

  6. #6
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    i recomend devC++ from www.bloodshed.net

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Adventures in labyrinth generation.
    By guesst in forum Game Programming
    Replies: 8
    Last Post: 10-12-2008, 02:30 PM
  2. singly linked to doubly linked
    By jsbeckton in forum C Programming
    Replies: 10
    Last Post: 11-06-2005, 07:47 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. socket newbie, losing a few chars from server to client
    By registering in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2003, 12:48 PM
  5. Next Question...
    By Azmeos in forum C++ Programming
    Replies: 3
    Last Post: 06-06-2003, 03:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21