[C++6 DirectX8] Just a quick question
I'm following the tutorials over at drunken hyena and im at the one with the rotations. I just want to play around with it for a bit, like adding controls to speed up/slow down the rotations, or moving the triangle around (i took out the square).
What im wondering is what is the best way to check if the person pressed a certain key (like a switch...case) and then where would I put it in the code?
Thanks
Re: [C++6 DirectX8] Just a quick question
Actually, i want it to move like the ship from asteriods. So, how would I do that?
Would i set up a vector of some kind and then a thrust or something. Then for rotating it i take the vector and multiply by a rotation matrix?? Also, some basic code would help.
Thanks