Lesson 21 stuck

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
Amorie
Posts: 3
Joined: November 3rd, 2012, 9:53 pm

Lesson 21 stuck

Post by Amorie » November 12th, 2012, 7:42 am

Ive spent at least the last 4 hours trying to get this to work. Ive watched the video over and over to see if there is any difference none that i can see.. When debugging it seems that its trying to PutPixel from the D3Dgraphics::DrawChar function but the value is off the screen.. yoff keeps getting some crazy number. Also it doesn't seem to be creating the const int's( I even tried making non const's... Ive tried to even set xoff and yoff to 0 and other values. removing them all together. etc.. I comment out all the DrawChar/Font stuff and the program runs. The only thing I can see thats strange is the value of c but not sure.

Any Help would be appreciated.
Attachments
Font.zip
(86.77 KiB) Downloaded 143 times

Lorth
Posts: 139
Joined: July 19th, 2012, 4:12 pm

Re: Lesson 21 stuck

Post by Lorth » November 12th, 2012, 8:54 am

Hey Amorie!

damn, to long time between my coding, have to get it going again.

look at the put pixel call, had te reread it a couple of time before i found out what the problem was,
not going to tell you straight out, but it is there. ;)


hope you see it faster than i did.

Amorie
Posts: 3
Joined: November 3rd, 2012, 9:53 pm

Re: Lesson 21 stuck

Post by Amorie » November 12th, 2012, 10:04 pm

yeah i found it. You know I must have stared at that thing for hours on end.. Thanks for the help.

Post Reply