Thread: Game Engine, please guide me!

  1. #1
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717

    Game Engine, please guide me!

    Hello.

    I'm thinking about making a game engine, for the experience, knowledge of "what lies under the hood" and to use for game development later on.
    Now I wanted to use OpenGL, 'cause I wanted cross-platform, but then I got told that it was C, and that was a big no no to me xP
    So I decided to go with DirectX, DirectX 9 more specificly, and would like to be pointed to some nice tutorials, references, anything you think will help me
    Thanks in advance!
    Currently research OpenGL

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    You can use OpenGL with C++. as for resources, check the sticky at the top of the board.

  3. #3
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Never noticed that topic xD
    Anyways, I can use it with OpenGL... That doesn't sound promising at all!
    If OpenGL is in C, doesn't it have to remove some features included in C++ ?
    Currently research OpenGL

  4. #4
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034
    Write Games, Not Engines

    Further Reading...

    I highly recommend learning game engines top-down, not bottom-up.

    Quote Originally Posted by Akkernight View Post
    Never noticed that topic xD
    Anyways, I can use it with OpenGL... That doesn't sound promising at all!
    If OpenGL is in C, doesn't it have to remove some features included in C++ ?
    No, C++ doesn't include any features that would improve OpenGL aside from aesthetics. There are C++ wrappers for OpenGL and pretty much every other C library however.
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Akkernight View Post
    Now I wanted to use OpenGL, 'cause I wanted cross-platform, but then I got told that it was C, and that was a big no no to me
    OpenGL is an API, not a language...if you go to the official openGL forum, you will notice most of the people there are using C++. Most of the reference material is in C tho.

    If you use DirectX:
    1) more people will probably be willing to try it but
    2) there will be more alternatives (wow! a C++ DirectX game engine?!) for them to choose between and just ignore yours.

    I would investigate that last one, because you could be doing a near unique thing by using OpenGL (or does that quake guy have a public engine?)
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #6
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    Quote Originally Posted by MK27
    that quake guy
    Referring to John Carmack in such a manner is blasphemous.

    To answer the question, I believe the source for Quake 1-3 is under GPL these days.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  7. #7
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    I have been using HGE, but I really want to make a new engine
    I like DirectX way better, but I want cross-platform xP
    AND the name Liquid Engine, has it been taken? Like, I found some site on google using it, but can't I use it for a game engine?

    Liquid Engine Copyright 2009 Aeres Entertainment™

    Just incase someone of you wants to steal that name from me xP
    Currently research OpenGL

  8. #8
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Akkernight View Post
    I like DirectX way better, but I want cross-platform xP

    Liquid Engine Copyright 2009 Aeres Entertainment™
    I thot I saw the word team being used around here somewhere. Do the rest of them know that DirectX will make you an MS slave? Maybe you should write in the new F# (if that ain't too funny: F# is real MS endevour)
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  9. #9
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Yeah, we're a team, with at least one who is on the MS side xP I ain't gonna name names...
    But I think I'll be going with OpenGL for this one
    Currently research OpenGL

  10. #10
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Akkernight View Post
    Yeah, we're a team, with at least one who is on the MS side xP I ain't gonna name names...
    But I think I'll be going with OpenGL for this one
    Yay Akkernight! Yay!
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  11. #11
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    Oh and I want a license that lets the engine be free for non-commercial use, which one do you peeps suggest?
    And the reason I want this is, if you're gonna make money of it, you can also be giving the makers of it some
    Hope you don't think I'm a money mongrel :O
    Currently research OpenGL

  12. #12
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by Akkernight View Post
    Oh and I want a license that lets the engine be free for non-commercial use, which one do you peeps suggest?
    And the reason I want this is, if you're gonna make money of it, you can also be giving the makers of it some
    Hope you don't think I'm a money mongrel :O
    On the other hand, if you just use the GPL, it is probably much more likely to actually get picked up and used by people who distribute software "commercially" (whether or not they are making money directly from the distribution). Then, once everyone is using it because it's so great, you can be the authority that writes the books and does the consulting -- which most of the API' s you use, and the C and C++ language, are free for commercial use.

    Kind of a ridiculous example, but a few years ago Redhat gave Linus Torvalds $20 million in stock as a gift! because he developed the open source linux kernel. I wonder what his chances of making this money would have been if at every step he had demanded a percentage and a commercial contract from everybody.
    Last edited by MK27; 03-04-2009 at 01:48 PM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  13. #13
    Hail to the king, baby. Akkernight's Avatar
    Join Date
    Oct 2008
    Location
    Faroe Islands
    Posts
    717
    oh well... I'll think about the license later xP
    Currently research OpenGL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ShellView as a Game Engine
    By Mastadex in forum Windows Programming
    Replies: 1
    Last Post: 01-21-2008, 03:51 PM
  2. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  3. KJ game engine
    By Lionmane in forum Game Programming
    Replies: 4
    Last Post: 11-18-2005, 06:16 AM
  4. Game structure, any thoughts?
    By Vorok in forum Game Programming
    Replies: 2
    Last Post: 06-07-2003, 01:47 PM
  5. game engine
    By onurak in forum Game Programming
    Replies: 1
    Last Post: 07-27-2002, 06:29 AM