obstacles are now created when character hits a line