Reputation: 1 Apprentice
- Active Posts:
- 40 (0.04 per day)
- 31-July 12
- Profile Views:
- Last Active:
- Dec 07 2014 06:00 PM
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 1 Sep 2013So boiling down your post (which had no question).... Your question is: Would you do my debugging for me, scrub through 1200+ line of my code for and fix my architecture for me? Does that sum it up?
No. The volunteers here are you're debug monkeys. That's your job.
This is where the *work* part of working on code comes in. Making a game is work. Its not playing a game, which so many people think it will be; which is why they go into game development to begin with. They think it will be just fun and play all day long with a paycheck at the end of the week.
In the FAQ below are links to several good debugging tutorials. But essectially there is nothing magical to be done. You have to walk through your code line by line and check the values of your variable to see if they are what you think they should be. Walk it through on paper.
QuoteThen see if that is what happens.If I move 'a' to here, then x should be come blah blah...
tlhIn`toq's FAQ list
Learning to debug one's own code is an essential skill. Sadly, one that apparently few college courses teach. Silly if you ask me.
Placing breakpoints and walking through the code line by line allows you to actually WATCH it execute.
Visualizing what your code does will let you see why it behaves the way it does.
It would be well worth your time to do the tutorials on FAQ 2. A couple hours learning this skill will save you hundreds of hours of confusion in one project alone.
TOP most asked:
What does this error message mean?
FAQ 2: How do I debug
FAQ 3: How do I make Class1/Form1 talk to Class2/Form2
FAQ (Frequently Asked Questions - Updated July 2013
After reading you reply I went back and reread my post, and I could see where 1: I have not asked a question and 2: (based on my post) I wanted someone to debug my program. I sincerely apologize as this was not my intention, I have struggled to hard to get this far, and in my opinion it is the program designers job to debug his own work. Even though I ask for help here I continue to work on my own to figure out my problem (though most time sad to say I fail to figure them out). Thank you for pointing out what I have tried to avoid doing, and once again I sincerely apologize for asking others to do my work for me as that is not was not my intention.
Posted 21 Jul 2013Thanks for pointing me in a direction look, and learn Butch. Like I said before the launcher was just something that I thought would be neat to add at such an early stage. Hopefully soon I'll have a game demo with graphics and sound to post soon:)
Posted 21 Jul 2013Yes, that is what I would like to know. I have recently completed a static tile based scrolling background, and tried to add a launcher demo window to it. However I was unsuccessful, I guess the launcher is not really that important right now. I just thought it would be neat to have a separate window of a different size, background, and function appear before the main window could.
Posted 25 Jun 2013
Posted 15 Jun 2013Have you stepped through your code to see where it may be crashing? I bet it's not making it into that while loop.
No I have not, but I'm not sure that will help me. I bought a book for game programming in c++ and it came with a cd with all the codes from the book. When I copy and paste in the code from the cd it does the same thing. This is very confusing to me, in theory there should not be a problem. The lesson before this one (in my book) worked great and ran perfectly. Not sure if this has any bearing on the situation but I am using Visual Studio 2010 Express, the DXSDK June 10 download, and the windows operating system, shouldn't but hey I am very new to graphics for games and I'm runnoing many possibilities.
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
- video games (mainly rpgs, favorite being the final fantasy series) rpgs like d&d, programming, watching movies with my family
- Years Programming:
- Programming Languages:
- c++, started html
- Click here to e-mail me
Delacar hasn't added any friends yet.