Added the speed parameter in tuiles