added spritesheet and multiple block type rendering