Thread: 3d game

  1. #1
    Banned
    Join Date
    Oct 2004
    Posts
    250

    3d game

    is it possible to make a 3d game without knowing WIN 32 and what would i need to know?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Sure. There are 3D games in Linux, and it's rumored that Macs even have games...

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Banned
    Join Date
    Oct 2004
    Posts
    250
    so you could make a 3d game in dos?

  4. #4
    Banned
    Join Date
    Oct 2004
    Posts
    250
    and how would i load up the graphics would i need to know openGL or something?

  5. #5
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    would i need to know openGL or something?
    OpenGL is one way to go. You could use GLUT which is an OpenGL library that is cross platform (and doesnt require you to know the Win32 API).

    Another option is using SDL which is a cross platform graphics/networking/sound/etc library. A google search on SDL or GLUT should give you more than enough information.

  6. #6
    Banned
    Join Date
    Oct 2004
    Posts
    250
    hmm so the best solution would be to learn WIN 32 before learning Win 32 would i need to have good knowledge of C++ or would the basics do?

  7. #7
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well I believe you are refering to the Widows API. Learning that can seem absolutely impossible if you are relatively new to programming.

    I would suggest looking into allegro.

    www.allegro.cc

    Allegro is a "gaming" library. It has support for 3d BUT! I suggest trying 2d if you havent already.

    If you do not even have a good foundation of C++ 3d programming can be very scary and could possibly harm your intrest in programming. So start small and work your way up.

    Now here is what I think in general.

    Once you understand how C++ works and how libraries work with the language, then try your hand at the WinAPI. Once you figure out how to open a window then learn OpenGL.
    I kinda went at it a little strong and learned OpenGL with the WinAPI, so its all up to you
    What is C++?

  8. #8
    Interested Newbie
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    51
    I'll keep that in mind, thanks Vicious.

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You only need enough Win32 programming knowledge to tell Windows to get lost and don't bother you anymore....you are playing a game. It only takes a very basic Win32 framework to get a game up and running. You don't want Windows doing anything while your game is running if it can be helped.

    And yes you can create a 3D engine in DOS but w/o hardware acceleration it would probably crawl.

  10. #10
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Quote Originally Posted by Bubba
    You only need enough Win32 programming knowledge to tell Windows to get lost and don't bother you anymore....you are playing a game. It only takes a very basic Win32 framework to get a game up and running. You don't want Windows doing anything while your game is running if it can be helped.
    With that said, to most beginners the amount of code it takes to simply do this will probably be more code than most of their programs. Its all still very scary at first.

    It just takes getting used to, its a big step from your basic cout cin
    What is C++?

  11. #11
    Interested Newbie
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    51
    Vicious: Right on the spot! When I first looked at the OpenGL tutorials on Nehe I was like, Holy *badword*! 400 lines of code! I mean the biggest program I ever made has been like 200 lines max :P.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. OpenGL - 2d text in 3d game
    By mikeb1986 in forum C++ Programming
    Replies: 1
    Last Post: 03-22-2006, 01:24 PM
  4. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  5. 3D Game
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-10-2002, 05:17 PM