Search found 106 matches

by Musi
April 24th, 2013, 5:36 am
Forum: Everything
Topic: Ok got another bug that doesn't make any sense to me...
Replies: 3
Views: 2090

Re: Ok got another bug that doesn't make any sense to me...

Have a look in the SetSquareState function, read what each case in the switch statement does, i'm sure you'l see it :)
by Musi
April 21st, 2013, 4:25 pm
Forum: Everything
Topic: Best way to learn Windows programming ?
Replies: 8
Views: 4270

Re: Best way to learn Windows programming ?

He goes over the framework in the intermediate lessons i think. It's basically made to separate the Win32 code and the DirectX code from you game logic. To understand what the windows.cpp file does I'd recommend reading "Windows Programming fifth edition" by Charles Petzold, it has all you need to k...
by Musi
April 21st, 2013, 1:17 am
Forum: Everything
Topic: Best way to learn Windows programming ?
Replies: 8
Views: 4270

Re: Best way to learn Windows programming ?

Putting things in separate files is good in many ways, it makes the codes easier to read, usually easier to debug and it will re-compile faster because only the files that have been edited need to be compiled instead of the whole project. The different files group together related code, like Windows...
by Musi
April 16th, 2013, 3:13 pm
Forum: Everything
Topic: Snake Score
Replies: 2
Views: 1920

Re: Snake Score

I can't remember the specific lesson but eventually Chili teaches you how to load your own font sheet and draw it. Other than that you'd need to learn how to load and draw fonts using DirectX, which i don't exactly now how to do either.
by Musi
April 14th, 2013, 10:53 am
Forum: Everything
Topic: Getting a Little Confused
Replies: 6
Views: 3391

Re: Getting a Little Confused

I found these c++ tutorials on Youtube: Link . I haven't watched them myself but they seem pretty good and have high likes. Pretty much all the tutorials i did were C#/XNA before Chili's. Whether they would help you or only confuse you even more I'm not sure. Some specific tutorials i used were here...
by Musi
April 13th, 2013, 7:16 pm
Forum: Everything
Topic: Lesson 12 Problem
Replies: 4
Views: 2396

Re: Lesson 12 Problem

On my keyboard its next to the left shift key. Shift and \ is |
by Musi
April 13th, 2013, 6:39 pm
Forum: Everything
Topic: Lesson 12 Problem
Replies: 4
Views: 2396

Re: Lesson 12 Problem

Do you mean this || ?
by Musi
April 13th, 2013, 6:33 pm
Forum: Everything
Topic: Getting a Little Confused
Replies: 6
Views: 3391

Re: Getting a Little Confused

That's how i felt when i first started learning (not that i've been programming for long). I started learning C# through online tutorials and eventually i was understanding less and less. I got stuck a few times at first but i just looked for different tutorials, its good to use multiple sources to ...
by Musi
April 9th, 2013, 3:48 pm
Forum: Everything
Topic: Saving structures
Replies: 3
Views: 2256

Re: Saving structures

You can do the same with a structure object, declare it as a member of the Game class. The only thing is I don't think you can initialize a structure in the initializer list, has to be in the function body.