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. Games in C# is it even Possible

Games in C# is it even Possible

Scheduled Pinned Locked Moved The Lounge
csharpjavagame-devquestion
73 Posts 32 Posters 1 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.
  • L Offline
    L Offline
    L Viljoen
    wrote on last edited by
    #1

    I have been studying Information Systems programming for two years now, but have always been intrigued by games programming, now there is a campus opening in SA that offers C# 3D Games Programming using Direct X. Now this all sounds very cool since I am a great fan of Java and C# but does anyone know is it possible to create a good game in C# that can compete in the market?

    Oliekrokenosterpikkelikkeastrysvoel

    V W C M A 20 Replies Last reply
    0
    • L L Viljoen

      I have been studying Information Systems programming for two years now, but have always been intrigued by games programming, now there is a campus opening in SA that offers C# 3D Games Programming using Direct X. Now this all sounds very cool since I am a great fan of Java and C# but does anyone know is it possible to create a good game in C# that can compete in the market?

      Oliekrokenosterpikkelikkeastrysvoel

      V Offline
      V Offline
      V 0
      wrote on last edited by
      #2

      Sure it is, why not?

      I've found a living worth working for, but I haven't found work worth living for. :beer:
          :jig:

      L J 2 Replies Last reply
      0
      • L L Viljoen

        I have been studying Information Systems programming for two years now, but have always been intrigued by games programming, now there is a campus opening in SA that offers C# 3D Games Programming using Direct X. Now this all sounds very cool since I am a great fan of Java and C# but does anyone know is it possible to create a good game in C# that can compete in the market?

        Oliekrokenosterpikkelikkeastrysvoel

        W Offline
        W Offline
        Wjousts
        wrote on last edited by
        #3

        Chona1171 wrote:

        is it possible to create a good game in C# that can compete in the market?

        Depends on what you mean by "good game" and which market you're talking about. If you mean, can I create Doom 3 in C# then probably not. But a good game doesn't necessarly need cutting edge 3D graphics and there is always a market for cheap, throwaway games for marketing gimicks and such.

        L 1 Reply Last reply
        0
        • L L Viljoen

          I have been studying Information Systems programming for two years now, but have always been intrigued by games programming, now there is a campus opening in SA that offers C# 3D Games Programming using Direct X. Now this all sounds very cool since I am a great fan of Java and C# but does anyone know is it possible to create a good game in C# that can compete in the market?

          Oliekrokenosterpikkelikkeastrysvoel

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          DirectX in C# is apparently only 4-5% slower than C++.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          J E 2 Replies Last reply
          0
          • V V 0

            Sure it is, why not?

            I've found a living worth working for, but I haven't found work worth living for. :beer:
                :jig:

            L Offline
            L Offline
            L Viljoen
            wrote on last edited by
            #5

            Yes I understand that C# is suprisingly powerfull, but wouldnt other languages were you have to use pointers and handle memory allocation be way better?

            Oliekrokenosterpikkelikkeastrysvoel

            C V 2 Replies Last reply
            0
            • L L Viljoen

              Yes I understand that C# is suprisingly powerfull, but wouldnt other languages were you have to use pointers and handle memory allocation be way better?

              Oliekrokenosterpikkelikkeastrysvoel

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              Why ? C# can handle pointers and memory allocation, BTW.

              Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

              L Q 2 Replies Last reply
              0
              • W Wjousts

                Chona1171 wrote:

                is it possible to create a good game in C# that can compete in the market?

                Depends on what you mean by "good game" and which market you're talking about. If you mean, can I create Doom 3 in C# then probably not. But a good game doesn't necessarly need cutting edge 3D graphics and there is always a market for cheap, throwaway games for marketing gimicks and such.

                L Offline
                L Offline
                L Viljoen
                wrote on last edited by
                #7

                Exactly my thoughts, that why I feel a qualification in C# games programming most probably wont land you a job at ID Games

                Oliekrokenosterpikkelikkeastrysvoel

                1 Reply Last reply
                0
                • L L Viljoen

                  I have been studying Information Systems programming for two years now, but have always been intrigued by games programming, now there is a campus opening in SA that offers C# 3D Games Programming using Direct X. Now this all sounds very cool since I am a great fan of Java and C# but does anyone know is it possible to create a good game in C# that can compete in the market?

                  Oliekrokenosterpikkelikkeastrysvoel

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #8

                  Chona1171 wrote:

                  a good game

                  Define "a good game". Tetris probably resulted in several million man hours of productivity lost. Marc

                  XPressTier

                  Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                  People are just notoriously impossible. --DavidCrow
                  There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                  L 1 Reply Last reply
                  0
                  • C Christian Graus

                    Why ? C# can handle pointers and memory allocation, BTW.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                    L Offline
                    L Offline
                    L Viljoen
                    wrote on last edited by
                    #9

                    Yea there is pointers in C# but memory allocation, I am used to java and as far as I know freeing up C# memory allocation works like java, calling the Garbage Collectors

                    Oliekrokenosterpikkelikkeastrysvoel

                    C 1 Reply Last reply
                    0
                    • M Marc Clifton

                      Chona1171 wrote:

                      a good game

                      Define "a good game". Tetris probably resulted in several million man hours of productivity lost. Marc

                      XPressTier

                      Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                      People are just notoriously impossible. --DavidCrow
                      There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                      L Offline
                      L Offline
                      L Viljoen
                      wrote on last edited by
                      #10

                      True but if I had a time machine I would go back 3 years before the invention of tetris and write my own version. Yea you get some people who still plays it so every now and then, but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you. I am talking about games that are selling now.

                      Oliekrokenosterpikkelikkeastrysvoel

                      M C 2 Replies Last reply
                      0
                      • L L Viljoen

                        Yes I understand that C# is suprisingly powerfull, but wouldnt other languages were you have to use pointers and handle memory allocation be way better?

                        Oliekrokenosterpikkelikkeastrysvoel

                        V Offline
                        V Offline
                        V 0
                        wrote on last edited by
                        #11

                        Well, if you want to do something like Half-Life2, Doom3 and that sort of thing, I think that C/C++ is probably faster, because you can use all the speed you can get. For slower games, puzzles, ... C# will be excellent. I guess you should expect some cool things there, but no real speed games.

                        I've found a living worth working for, but I haven't found work worth living for. :beer:
                            :jig:

                        L 1 Reply Last reply
                        0
                        • V V 0

                          Well, if you want to do something like Half-Life2, Doom3 and that sort of thing, I think that C/C++ is probably faster, because you can use all the speed you can get. For slower games, puzzles, ... C# will be excellent. I guess you should expect some cool things there, but no real speed games.

                          I've found a living worth working for, but I haven't found work worth living for. :beer:
                              :jig:

                          L Offline
                          L Offline
                          L Viljoen
                          wrote on last edited by
                          #12

                          True, but mostly I am refering to the power capabilities of C#, because we have to admit 10 years ago I never thought be would have the type of hardware we have today running at these speeds. Remember the good al days where it took bout 3 mins to boot win98? But anyways I was just curious, cos processing power would not be a problem in the future for whatever game you write in C#.

                          Oliekrokenosterpikkelikkeastrysvoel

                          V 1 Reply Last reply
                          0
                          • L L Viljoen

                            Yea there is pointers in C# but memory allocation, I am used to java and as far as I know freeing up C# memory allocation works like java, calling the Garbage Collectors

                            Oliekrokenosterpikkelikkeastrysvoel

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #13

                            C# memory is allocated via a garbage collector, this is true. I don't see that as a big problem. The sort of resources a game is likely to use a lot of are stuff you'd control disposal of via IDisposable, anyhow.

                            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                            L 1 Reply Last reply
                            0
                            • L L Viljoen

                              True but if I had a time machine I would go back 3 years before the invention of tetris and write my own version. Yea you get some people who still plays it so every now and then, but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you. I am talking about games that are selling now.

                              Oliekrokenosterpikkelikkeastrysvoel

                              M Offline
                              M Offline
                              Marc Clifton
                              wrote on last edited by
                              #14

                              Chona1171 wrote:

                              but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you.

                              Sure I will. Tetris is a great 5 minute break diversion. It's free, it's easy to use, and it doesn't require a killer PC.

                              Chona1171 wrote:

                              I am talking about games that are selling now.

                              I honestly don't think a killer game requires a 256MB Radion Ultra whatever and a 3Ghz Dual 2 Core whatever. A game is killer because of certain qualities that frankly, nobody has been able to identify, that I know of. Also keep in mind that the lifetime of a game is probably 3-6 months. It was about 6 months when I worked in the game industry. It's probably shorter now. I'm actually enjoying StormReach. For $15/mo, I get a very dynamic multiplayer experience, they're constantly upgrading and adding new modules and features, etc. Sure beats the "box" game that eventually gets boring because it's such a constrained system. There's other massively multiplayer games out there too, like Eve, I think is the name. Frankly, I think those type of games will define one vertical market, while the other will still be the time honored "play disconnected" style of game. Games that provide both are cool, but they don't have the richness of the world that something like StormReach has, at least IMO. Marc

                              XPressTier

                              Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                              People are just notoriously impossible. --DavidCrow
                              There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                              L J 2 Replies Last reply
                              0
                              • L L Viljoen

                                True, but mostly I am refering to the power capabilities of C#, because we have to admit 10 years ago I never thought be would have the type of hardware we have today running at these speeds. Remember the good al days where it took bout 3 mins to boot win98? But anyways I was just curious, cos processing power would not be a problem in the future for whatever game you write in C#.

                                Oliekrokenosterpikkelikkeastrysvoel

                                V Offline
                                V Offline
                                V 0
                                wrote on last edited by
                                #15

                                Chona1171 wrote:

                                Remember the good al days where it took bout 3 mins to boot win98?

                                I remember the good old days of windows 3.1x, dos 6.0 and even the 5 inch floppies you needed to insert into a machine so it would boot. Those things had the amazing capacity of 512 KB. Booting the cpu then took about 15 to 30 seconds... :)

                                I've found a living worth working for, but I haven't found work worth living for. :beer:
                                    :jig:

                                L 1 Reply Last reply
                                0
                                • L L Viljoen

                                  True but if I had a time machine I would go back 3 years before the invention of tetris and write my own version. Yea you get some people who still plays it so every now and then, but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you. I am talking about games that are selling now.

                                  Oliekrokenosterpikkelikkeastrysvoel

                                  C Offline
                                  C Offline
                                  Christian Graus
                                  wrote on last edited by
                                  #16

                                  Chona1171 wrote:

                                  but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you.

                                  I have several 'killer' PCs, and I tend to play old games on MAME (rarely) and the solitaire variants that come with the OS.

                                  Chona1171 wrote:

                                  I am talking about games that are selling now.

                                  When someone actually comes up with a good idea for a game, it will sell like crazy, just like Tetris did. In the meantime, it'll all be about how many polygons are on the screen, although games like Age of Empires continue to sell AFAIK, and they aren't any great feat, graphics wise.

                                  Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                                  L 1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    C# memory is allocated via a garbage collector, this is true. I don't see that as a big problem. The sort of resources a game is likely to use a lot of are stuff you'd control disposal of via IDisposable, anyhow.

                                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                                    L Offline
                                    L Offline
                                    L Viljoen
                                    wrote on last edited by
                                    #17

                                    I dont understand the garbage collector that well, as far as I understand is you can set the instance to null and call the garbage collector then it will maby clean un but this also requires some resources if its own. Mabe I should just stick to Information Systems its what I am good at.

                                    Oliekrokenosterpikkelikkeastrysvoel

                                    C 1 Reply Last reply
                                    0
                                    • V V 0

                                      Sure it is, why not?

                                      I've found a living worth working for, but I haven't found work worth living for. :beer:
                                          :jig:

                                      J Offline
                                      J Offline
                                      Jorgen Sigvardsson
                                      wrote on last edited by
                                      #18

                                      If it was, we would've seen hordes of games written in C#, wouldn't we? It may be *possible*, but I don't think it's *feasible*. There is no room for missing time slots in games. It's the closest thing to a hard real time system you'll on a regular PC. Ask any gamer about the slightest performance drop for just milliseconds. A game with such characteristics would be deemed "CRAP!" in the first review...

                                      V 1 Reply Last reply
                                      0
                                      • M Marc Clifton

                                        Chona1171 wrote:

                                        but be honest if you have a killer PC and a copy of Elder Scrolls of Oblivion you wont be playing Tetris will you.

                                        Sure I will. Tetris is a great 5 minute break diversion. It's free, it's easy to use, and it doesn't require a killer PC.

                                        Chona1171 wrote:

                                        I am talking about games that are selling now.

                                        I honestly don't think a killer game requires a 256MB Radion Ultra whatever and a 3Ghz Dual 2 Core whatever. A game is killer because of certain qualities that frankly, nobody has been able to identify, that I know of. Also keep in mind that the lifetime of a game is probably 3-6 months. It was about 6 months when I worked in the game industry. It's probably shorter now. I'm actually enjoying StormReach. For $15/mo, I get a very dynamic multiplayer experience, they're constantly upgrading and adding new modules and features, etc. Sure beats the "box" game that eventually gets boring because it's such a constrained system. There's other massively multiplayer games out there too, like Eve, I think is the name. Frankly, I think those type of games will define one vertical market, while the other will still be the time honored "play disconnected" style of game. Games that provide both are cool, but they don't have the richness of the world that something like StormReach has, at least IMO. Marc

                                        XPressTier

                                        Some people believe what the bible says. Literally. At least [with Wikipedia] you have the chance to correct the wiki -- Jörgen Sigvardsson
                                        People are just notoriously impossible. --DavidCrow
                                        There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer

                                        L Offline
                                        L Offline
                                        L Viljoen
                                        wrote on last edited by
                                        #19

                                        Yes I also Still enjoy my ultima online, so yea I guess there is a true thing you are mentioning that some games still keep people ocupied, I dont know how it is in your country but a Soduko craze has hit ova here.

                                        Oliekrokenosterpikkelikkeastrysvoel

                                        1 Reply Last reply
                                        0
                                        • C Christian Graus

                                          DirectX in C# is apparently only 4-5% slower than C++.

                                          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                                          J Offline
                                          J Offline
                                          Jorgen Sigvardsson
                                          wrote on last edited by
                                          #20

                                          DirectX is a very small part of a game...

                                          C 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