window.onload = function(){ const FPS = 60; let ImgSize = 60; let ImgX,ImgY; let Counter = 0; let ImgVeloX,ImgVeloY; let canvas,context; let newarrayXv=[]; let newarrayX