Allegro-Keyboard

Started by
0 comments, last by ICUP 15 years, 10 months ago
I made a pong game using classes and such and I can't get the paddles to move at the same time. As soon as the other player presses a keyboard button the previous players paddle will stop moving. I am using W and S keys for player 1 and Up and Down arrows for player 2 and using allegro library.
Advertisement
Show some code on where you think this problem is happening.

My guess, is that you may need to read up on threads.

Good luck.

This topic is closed to new replies.

Advertisement