Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. What is the best game programming library

What is the best game programming library

Scheduled Pinned Locked Moved The Lounge
comgraphicsgame-devquestionlearning
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yarp
    wrote on last edited by
    #1

    Some years ago I've been doing some little 2D games with GDI. Of course I tried with DirectDraw, and even WinG but I never went as far as with GDI. Lately I decided to visit game programming again and I think the best is to use a Game programming library. I began studying the CDX game library. As it takes time to study the library before just beginning the game, I would like your opinion on various libraries available. I'm looking for a DirectDraw (2D) based library with source code. Thanks, Yarp http://www.senosoft.com/

    G M D 3 Replies Last reply
    0
    • Y yarp

      Some years ago I've been doing some little 2D games with GDI. Of course I tried with DirectDraw, and even WinG but I never went as far as with GDI. Lately I decided to visit game programming again and I think the best is to use a Game programming library. I began studying the CDX game library. As it takes time to study the library before just beginning the game, I would like your opinion on various libraries available. I'm looking for a DirectDraw (2D) based library with source code. Thanks, Yarp http://www.senosoft.com/

      G Offline
      G Offline
      gregs
      wrote on last edited by
      #2

      Note that some hardware manufacturers no longer accelerate Direct Draw, so it might be better to use a Direct3D library that lets you use orthographic projection.

      S Y 2 Replies Last reply
      0
      • Y yarp

        Some years ago I've been doing some little 2D games with GDI. Of course I tried with DirectDraw, and even WinG but I never went as far as with GDI. Lately I decided to visit game programming again and I think the best is to use a Game programming library. I began studying the CDX game library. As it takes time to study the library before just beginning the game, I would like your opinion on various libraries available. I'm looking for a DirectDraw (2D) based library with source code. Thanks, Yarp http://www.senosoft.com/

        M Offline
        M Offline
        Martin S Stoller
        wrote on last edited by
        #3

        Hi Yarp! See http://www.gapidraw.com for a simple framework that supports PC and PocketPC developement. Quite fast, free, and you can get the source (as per your requirement). Have a nice day, Martin S. Stoller -- mars@littlelifeforms.ch --

        1 Reply Last reply
        0
        • Y yarp

          Some years ago I've been doing some little 2D games with GDI. Of course I tried with DirectDraw, and even WinG but I never went as far as with GDI. Lately I decided to visit game programming again and I think the best is to use a Game programming library. I began studying the CDX game library. As it takes time to study the library before just beginning the game, I would like your opinion on various libraries available. I'm looking for a DirectDraw (2D) based library with source code. Thanks, Yarp http://www.senosoft.com/

          D Offline
          D Offline
          Dominik Reichl
          wrote on last edited by
          #4

          I like LibSdl very much. http://www.libsdl.org[^] Simple DirectMedia Layer is a cross-platform multimedia library designed to provide level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power." Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX. There is also code, but no official support, for Windows CE, AmigaOS, Dreamcast, Atari, QNX, NetBSD, AIX, OSF/Tru64, and SymbianOS. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, Eiffel, Java, Lua, ML, Perl, PHP, Pike, Python, and Ruby. The library is relatively easy to use (in my opinion :-D). It uses OpenGL, not DirectDraw. :) -Dominik


          _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;)

          Y 1 Reply Last reply
          0
          • G gregs

            Note that some hardware manufacturers no longer accelerate Direct Draw, so it might be better to use a Direct3D library that lets you use orthographic projection.

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #5

            And, IIRC, DirectDraw doesn't exist in DX9, so you have to use D3D with such a projection, so to future-proof, that's the way to go... Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

            1 Reply Last reply
            0
            • G gregs

              Note that some hardware manufacturers no longer accelerate Direct Draw, so it might be better to use a Direct3D library that lets you use orthographic projection.

              Y Offline
              Y Offline
              yarp
              wrote on last edited by
              #6

              Direct Draw not supported anymore ?!? Isn't there a market for simple 2D graphics. I suppose D3D now offers same capabilities, as Stuart suggested in his reply. That also is an advantage of using a good game library. I mean that's what I meant with a good library because it is supposed to be able to switch to D3D one day. In an ideal programming world of course ;) Anyway I feel a bit outdated. Thanks a lot for the informations. Yarp http://www.senosoft.com/

              D 1 Reply Last reply
              0
              • D Dominik Reichl

                I like LibSdl very much. http://www.libsdl.org[^] Simple DirectMedia Layer is a cross-platform multimedia library designed to provide level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power." Simple DirectMedia Layer supports Linux, Windows, BeOS, MacOS Classic, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, and IRIX. There is also code, but no official support, for Windows CE, AmigaOS, Dreamcast, Atari, QNX, NetBSD, AIX, OSF/Tru64, and SymbianOS. SDL is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, Eiffel, Java, Lua, ML, Perl, PHP, Pike, Python, and Ruby. The library is relatively easy to use (in my opinion :-D). It uses OpenGL, not DirectDraw. :) -Dominik


                _outp(0x64, 0xAD); and __asm mov al, 0xAD __asm out 0x64, al do the same... but what do they do?? ;)

                Y Offline
                Y Offline
                yarp
                wrote on last edited by
                #7

                Hi Dominik, libsdl seems a mature and portable library. This is quite interesting though. I've nothing against OpenGL the only wish I have is to make 2D graphics. I will have a look at the library. What scares me a bit is the number of library addons it seems like a jungle for the neophit I am but it also shows the project is alive. Yarp http://www.senosoft.com/

                1 Reply Last reply
                0
                • Y yarp

                  Direct Draw not supported anymore ?!? Isn't there a market for simple 2D graphics. I suppose D3D now offers same capabilities, as Stuart suggested in his reply. That also is an advantage of using a good game library. I mean that's what I meant with a good library because it is supposed to be able to switch to D3D one day. In an ideal programming world of course ;) Anyway I feel a bit outdated. Thanks a lot for the informations. Yarp http://www.senosoft.com/

                  D Offline
                  D Offline
                  Daniel Turini
                  wrote on last edited by
                  #8

                  yarp wrote: Isn't there a market for simple 2D graphics. Yes, there is. And people use Flash for that. It's usually fast enough and Lingo is (or should be) much simpler to code than C++. Acting as a substitute for God, he becomes a dispenser of justice. - Alexandre Dumas

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups