14 years, 5 months ago
Highlights
Thanks heaps JTippetts, fixed the problem!
14 years, 5 months ago
14 years, 5 months ago
I'm trying to find the angle aimDirection with this code. aimDirection = atan2(mouseY - vertical centre of box, mouseX - horizontal centre of box) * 180 / pi; // what I'…
14 years, 5 months ago
First post, hooray! I'm trying to call onEvent (a function of my player class) every time I call SDL_PollEvent in my game loop to move my player up when I press W. Part…
14 years, 5 months ago
The non-capital events was valid because I had left accidentally left a variable that I wasn't using any more in my Player class definition, if I had remembered to delete th…
14 years, 5 months ago
Latest Activity
See all in DiscussionsThanks heaps JTippetts, fixed the problem!
14 years, 5 months ago
I'm trying to find the angle aimDirection with this code. aimDirection = atan2(mouseY - vertical centre of box, mouseX - …
14 years, 5 months ago
The non-capital events was valid because I had left accidentally left a variable that I wasn't using any more in …
14 years, 5 months ago