HELP!!!!

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
codinitup
Posts: 112
Joined: June 27th, 2012, 7:43 am

HELP!!!!

Post by codinitup » June 30th, 2012, 5:23 am

My problem will sound simple, but it's proving to be very complicated to solve. When I press the left key the circle in my game goes upward and to the left, if i press right, it goes down to the right. I don't have it set to that. If anybody can tell me what i did wrong that would help a lot.

BTW: I think I screwed up the framework somehow, and that might be the cause of my problem.
Attachments
My Game.zip
(35.89 KiB) Downloaded 154 times
MOOOOOO

SemisentientGoat
Posts: 4
Joined: June 30th, 2012, 5:37 am

Re: HELP!!!!

Post by SemisentientGoat » June 30th, 2012, 5:41 am

In D3DGraphics.cpp in the draw circle function try changing the "cx" in the putpixel calls that are in the axis-y places

User avatar
codinitup
Posts: 112
Joined: June 27th, 2012, 7:43 am

Re: HELP!!!!

Post by codinitup » June 30th, 2012, 6:24 am

Thanks bro, I didn't even see that lol. It works perfectly now!
MOOOOOO

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

Re: HELP!!!!

Post by chili » June 30th, 2012, 2:44 pm

Cheers Goat, thanks for answering. ;)
Chili

Post Reply