I am having major problems moving a simple bitmap across the screen fast and smooth. I think it has to do with timing but everything i try does not seem to work. I have read tutorials and searched message boards and still can't figure it out. I'm experiemnting with SDL but i don't believe its a problem with SDL. I have attached my code to demonstrate what i can't do!! lol
I want it to move at 1 pixel at a time to keep it smooth, but i would like it to move acroos the screen in like acouple of seconds. the only way i seem to be able to get it moving fast is to increase the pixels by 5 at a time, not 1. But this is way too jerky for my liking, I would like it smooth like most 2d games are!
Any help you can give would be very much appreciatted.