I have written the majority of the game - just having huge problems with the enemies movements.
Lets say i have two circles at different positions on the screen, and I want them to move in the yaxis between two points (at the same time (they have different x coordinates)) I want this to happen automatically without any keys being pressed.
I have a stick man whos position can change via keyboard inputs on the x axis as well as being able to jump so I think i need to use kbhit != 0 but I keep trying code without any sucess, an example of how to do this would be really helpful.