March 5th, 2014, 08:21 AM
I understand that Switch Statements are not the answers to all my problems. But, for this type of problem and for the time being until I learn more about c++ a Switch statement will be adequate. In...
March 4th, 2014, 12:16 PM
Sorry for the confusion, I left out the Comments for:
void respondtokeypress(char a)
a +=0.1; // Left *Testing, to change when working*
//a -=0.1; //Right
//b +=0.1; //Up
March 4th, 2014, 10:11 AM
The code I posted is everything to do with keyboard inputs, I didn't think the rest mattered.
I do understand c++ basics but, I'm having a hard time figuring out how to use respondtokeypress...
March 4th, 2014, 08:44 AM
I'm trying to implement keyboard controls to move a sphere(Player) with respondtokeypress.
Currently, when I press any key my character will move to the right by 0.1. This might be a...