sprite can get frames(x, y, w, h) from params (w, h, not working yet)