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. General Programming
  3. C / C++ / MFC
  4. help

help

Scheduled Pinned Locked Moved C / C++ / MFC
game-devhelptutorial
11 Posts 4 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.
  • S sabrina life

    hello i have a project of creating a 2D game with the c but i do not know how to start anyone can help me please
    the game name is block puzzle

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #2

    We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. Try it yourself, you may find it is not as difficult as you think! If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!

    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    S 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. Try it yourself, you may find it is not as difficult as you think! If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!

      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

      S Offline
      S Offline
      sabrina life
      wrote on last edited by
      #3

      Hello, Maybe you did not understand what I asked, I did not ask you to do my homework, I meant I need someone to help me and give me some useful sites that can help me because I'm a beginner ok where do you see that I asked someone to do my project

      D 1 Reply Last reply
      0
      • S sabrina life

        Hello, Maybe you did not understand what I asked, I did not ask you to do my homework, I meant I need someone to help me and give me some useful sites that can help me because I'm a beginner ok where do you see that I asked someone to do my project

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #4

        sabrina life wrote:

        I need someone to help me and give me some useful sites that can help me because I'm a beginner

        So you can turn in someone else's work as your own? Erroneous assumption on my part, you say? Doubtful, but I will be glad to admit if I am wrong. Am I correct in assuming this is not your first assignment? As such, the assignments prior to this should have prompted you to create a foundation for which to build, assuming you paid attention in class and did all of the work yourself. Short of looking up API documentation, the WWW should be the last place you should go for help. With a seemingly endless supply of data and information, it's actually making each successive generation less smart than the generation before. Once you figure out why that is, you can actually stop the trend. ;) There will always be coat tails to ride. Every now and again a person will get tired of that scenery and will decide to wear his/her own coat.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

        S 1 Reply Last reply
        0
        • D David Crow

          sabrina life wrote:

          I need someone to help me and give me some useful sites that can help me because I'm a beginner

          So you can turn in someone else's work as your own? Erroneous assumption on my part, you say? Doubtful, but I will be glad to admit if I am wrong. Am I correct in assuming this is not your first assignment? As such, the assignments prior to this should have prompted you to create a foundation for which to build, assuming you paid attention in class and did all of the work yourself. Short of looking up API documentation, the WWW should be the last place you should go for help. With a seemingly endless supply of data and information, it's actually making each successive generation less smart than the generation before. Once you figure out why that is, you can actually stop the trend. ;) There will always be coat tails to ride. Every now and again a person will get tired of that scenery and will decide to wear his/her own coat.

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

          S Offline
          S Offline
          sabrina life
          wrote on last edited by
          #5

          yes you are wrong This is my first assignment i’m a student but i wanted to learn how to create games and I was hoping that i can find someone who have experience and discuss with him how can I start and what should i learn first Because I have never created a game and I want it to be the first time but I was wrong to came here assuming that someone can lead me and give me advices but I will lead myself thank you very much for your help But i learned that your best teacher is your last mistake

          OriginalGriffO 1 Reply Last reply
          0
          • S sabrina life

            yes you are wrong This is my first assignment i’m a student but i wanted to learn how to create games and I was hoping that i can find someone who have experience and discuss with him how can I start and what should i learn first Because I have never created a game and I want it to be the first time but I was wrong to came here assuming that someone can lead me and give me advices but I will lead myself thank you very much for your help But i learned that your best teacher is your last mistake

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #6

            sabrina life wrote:

            This is my first assignment

            No, it isn't. No teacher throws you "in at the deep end" and tells you "how to compile, now write a game". It generally starts with "hello world" and ramps up from that. So use what you learned from your previous assignments - you did do those, didn't you - and apply it to the current one.

            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            S 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              sabrina life wrote:

              This is my first assignment

              No, it isn't. No teacher throws you "in at the deep end" and tells you "how to compile, now write a game". It generally starts with "hello world" and ramps up from that. So use what you learned from your previous assignments - you did do those, didn't you - and apply it to the current one.

              Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

              S Offline
              S Offline
              sabrina life
              wrote on last edited by
              #7

              I told you this is my first game with c i learned the c without a teacher only videos and useful sites because i love programming and now this game is my own project that why i wanted someone just to guide me how to start ,ok this is the story

              OriginalGriffO 1 Reply Last reply
              0
              • S sabrina life

                hello i have a project of creating a 2D game with the c but i do not know how to start anyone can help me please
                the game name is block puzzle

                CPalliniC Online
                CPalliniC Online
                CPallini
                wrote on last edited by
                #8

                I think your best bet is using the SDL library. Have a look at theri turorials: Lazy Foo' Productions - Beginning Game Programming v2.0[^]. Have also a llok at this thread: Can SDL work with pure C? - Stack Overflow[^].

                In testa che avete, signor di Ceprano?

                S 1 Reply Last reply
                0
                • CPalliniC CPallini

                  I think your best bet is using the SDL library. Have a look at theri turorials: Lazy Foo' Productions - Beginning Game Programming v2.0[^]. Have also a llok at this thread: Can SDL work with pure C? - Stack Overflow[^].

                  S Offline
                  S Offline
                  sabrina life
                  wrote on last edited by
                  #9

                  thank you very much i really appreciate your help

                  CPalliniC 1 Reply Last reply
                  0
                  • S sabrina life

                    thank you very much i really appreciate your help

                    CPalliniC Online
                    CPalliniC Online
                    CPallini
                    wrote on last edited by
                    #10

                    You are welcome.

                    In testa che avete, signor di Ceprano?

                    1 Reply Last reply
                    0
                    • S sabrina life

                      I told you this is my first game with c i learned the c without a teacher only videos and useful sites because i love programming and now this game is my own project that why i wanted someone just to guide me how to start ,ok this is the story

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #11

                      Then you have made at least two mistakes. 1) You have picked up bits and bobs from videos without any structure or real explanation of why you do that - and for a language like C the "Why?" is far more important than the "How?". Plus most development videos on YouTube are created by people who know little more than you do, and couldn;t teach if their lives depended on it ... Get a book (or better a course) and follow it from beginning to end, doing all the exercises. It may not be as exciting as jumping into code, but it is a much, much better way to learn - and you don't miss out essentials either! 2) You picked the wrong "beginner language" - I'd strongly suggest you shelve C for the moment, and start with C# (or even VB if you must) and get a solid grounding in development using that - it's a lot easier for a beginner, despite seeming to be much, much bigger and more complicated. In fact, it shows you up front how big and flexible it is, and makes the beginner (and expert!) developer's life a whole load easier by hiding the complexities of C behind the scenes where you don't have to worry about them. Get a good book on C# - Addison Wesley do good onew, as do Wrox and Microsoft Press - and a copy of Visual Studio (free from MS!) and follow it through all the way.

                      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      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