Update max location for new block image

This commit is contained in:
rw-r-r-0644 2016-10-07 23:35:34 +02:00 committed by GitHub
parent 701d653f88
commit ebb0be7fee

View File

@ -170,7 +170,7 @@ void MainWindowTV::process(){
flappy_bird_position -= flappy_bird_velocity;
if(flappy_bird_position<-224) flappy_bird_position=-224;
if(flappy_bird_position>328) flappy_bird_position=328;
if(flappy_bird_position>320) flappy_bird_position=320;
flappy_bird->setPosition(-150, (int)flappy_bird_position);
if ((((float)flappy_bird_velocity / 10.0f) * 90.0f)<90.0f) flappy_bird_rotation = (((float)flappy_bird_velocity / 10.0f) * 90.0f);
@ -203,7 +203,7 @@ void MainWindowTV::process(){
flappy_bird_position -= flappy_bird_velocity;
if(flappy_bird_position<-224) flappy_bird_position=-224;
if(flappy_bird_position>328) flappy_bird_position=328;
if(flappy_bird_position>320) flappy_bird_position=320;
flappy_bird->setPosition(-150, (int)flappy_bird_position);
if ((((float)flappy_bird_velocity / 10.0f) * 90.0f)<90.0f) flappy_bird_rotation = (((float)flappy_bird_velocity / 10.0f) * 90.0f);