source code for Beginn, Intermed, and Advan C++ DirectX Game

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
youbergeek
Posts: 2
Joined: May 29th, 2015, 3:27 am

source code for Beginn, Intermed, and Advan C++ DirectX Game

Post by youbergeek » May 29th, 2015, 3:41 am

please Chilli, how can I get the source codes for all your video tutorials from (Beginner, Intermediate and Advanced C++ DirectX game programming) and other C++ game projects you've done. I will really appreciate it when In get them cos I highly appreciate all your works.
Thanks.

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by albinopapa » May 29th, 2015, 5:19 am

Lesson Material DOWNLOADS

This is the link from the main page, it has source code for some of the tutorials, but chili's philosophy is "you won't learn if you don't do" or something like that. Basically, he doesn't post full source code for his tutorials. You will have to follow the videos and fill in the missing parts.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

youbergeek
Posts: 2
Joined: May 29th, 2015, 3:27 am

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by youbergeek » May 29th, 2015, 8:47 pm

Thanks a lot @albinopapa. I really really appreciate. Thanks!!

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by chili » May 31st, 2015, 2:04 pm

Yeah, I lost a lot of my source for the old tutorials when my HDD exploded as well. But in general I think that either 1) you need to write the code yourself to learn or 2) you already know enough that you don't need code/have a completed copy of the code.
Chili

mister345
Posts: 4
Joined: February 24th, 2016, 2:26 pm

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by mister345 » April 3rd, 2016, 8:38 am

chili wrote:Yeah, I lost a lot of my source for the old tutorials when my HDD exploded as well. But in general I think that either 1) you need to write the code yourself to learn or 2) you already know enough that you don't need code/have a completed copy of the code.
Hi Chili,

I agree with your philosophy. However, I'm 30 minutes away from finishing Intermediate 21, and there's some bug that I've wasted a whole day on already, and can't get it to run like yours.

You jump/scroll around and do a lot of thinking out loud in your videos,
making it impossible to follow every edit you make; this has
resulted in some tiny stupid bug disabling my whole project.

Probably something silly, not central to understanding the code.
I just need to cross check the code I've done so far w/ your own,
because it would be faster than scanning through your video
tutorial to find every one of your edits, which is hellish and inefficient.

In conclusion, could ya throw a dog a bone and please send me the
completed source code for Intermediate Lesson 21 Platformer?
Mine is 98% complete, but broke somewhere in lesson 21, and now
won't work at all.

Also another stupid bug where he's still getting stuck in the ceiling
despite reversing the collision looping as you suggested, and I need
to compare w/ yours to see what I did wrong. Please, I beg of you!

Thanks.

M

adabo
Posts: 154
Joined: October 27th, 2012, 3:28 am
Location: Houston, Texas

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by adabo » April 3rd, 2016, 1:51 pm

mister345 wrote:
chili wrote:Yeah, I lost a lot of my source for the old tutorials when my HDD exploded as well. But in general I think that either 1) you need to write the code yourself to learn or 2) you already know enough that you don't need code/have a completed copy of the code.
Hi Chili,

I agree with your philosophy. However, I'm 30 minutes away from finishing Intermediate 21, and there's some bug that I've wasted a whole day on already, and can't get it to run like yours.

You jump/scroll around and do a lot of thinking out loud in your videos,
making it impossible to follow every edit you make; this has
resulted in some tiny stupid bug disabling my whole project.

Probably something silly, not central to understanding the code.
I just need to cross check the code I've done so far w/ your own,
because it would be faster than scanning through your video
tutorial to find every one of your edits, which is hellish and inefficient.

In conclusion, could ya throw a dog a bone and please send me the
completed source code for Intermediate Lesson 21 Platformer?
Mine is 98% complete, but broke somewhere in lesson 21, and now
won't work at all.

Also another stupid bug where he's still getting stuck in the ceiling
despite reversing the collision looping as you suggested, and I need
to compare w/ yours to see what I did wrong. Please, I beg of you!

Thanks.

M
Oh, how I've been down this road more than once :) I can tell you might be at the tipping point already, but I'll tell you something, you won't like it, but the best thing and biggest favor you can do for yourself is learn how to debug. I'm not saying don't ask for help. I'm saying try not to just ask for the answer. Instead, try asking questions like
  • "Where do I start?"
  • "What is the actual problem?"
  • "What pieces of code might be involved in causing the problem?"
  • "Can the bug be reproduced in an expected and purposeful manner?"
As you start to slow down, take a methodical look at the problem, you'll slowly start to unravel the mess and find exactly what the problem is. It's certainly not a quick and easy solution, but it's what every programmer goes through. It's a process, and it's unavoidable.

Does this mean you shouldn't feel welcome to ask for a point in the right in the direction? Not at all. These boards are here for any and all questions. If you want someone else to look at the code, there are those here willing to do that. You should know that this is not the norm. Take, for example, stackoverflow community. Asking someone to debug your code is a good way to get stoned. I do understand that you're not asking anyone to look at your code and solve the problem for you, you're simply asking for the full working code of the lesson. I would suggest, don't do this. As long as it depends on you, try to avoid it.

In summary, all I'm asking of you is to give it one last push of your imagination. Use the debugger and step through. If after investigation and going through all your ideas fails, then please post here. We certainly don't want you to feel that you can't ask for a "bone" every once and a while

DeitusPrime
Posts: 97
Joined: June 9th, 2014, 11:14 pm

Re: source code for Beginn, Intermed, and Advan C++ DirectX

Post by DeitusPrime » April 8th, 2016, 8:57 pm

I would suggest that you try to view 'bugs in the videos'(anything past beginner) as a 'homework assignment' to help you figure out the code you are being taught.
Choose not to go to destruction with a taco-sauce that is bland...
Go to construction with a taco-sauce that is flavorful!!
Mwa ha ha!!

Post Reply