Ok so i feel like I should know how to do this but heres my problem: I am increasing the X cordinates of an image by writing
float aX = 50;
while(aX < 100){
aX += .01;
}
Normally this would work for me (im not sure if its the right way to do it but thats how I do it) but my computer is processing this so quickly that I cant notice the change in movement, I just notice the image at the final value. As i decrease the the amount that aX is increased by the same thing still happens until the game crashes… what should i do?