Recommended Posts

hi,
I am new to game programming.I am developing a simple sprite based 2d game.I have problem with my game looping.In the looping when I run the animation at the same time I have to receive the user input and all the other things running at the same time.How can this be done in a single loop??