okay the problem was that my spritesheet got corrupted or something weird happened with it…it does not contain images from frame 10 to 15 …dont know what happened to it…there are five black images in the spritesheet