@sprite can change resource url when created