Merge pull request #5 from motorlatitude/animation-center-fix
Animation Center Fixed
This commit is contained in:
commit
a7aae7d6d6
21 changed files with 62 additions and 63 deletions
|
@ -12,8 +12,8 @@ for (i = 0; i < 41; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 76; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 24; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 30; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 61; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,9 +12,8 @@ for (i = 0; i < 164; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
progress = 0;
|
||||
|
||||
fun refresh_callback ()
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 68; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 101; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 48; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 72; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 156; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 96; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 375; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 89; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 120; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 120; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 210; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 81; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 62; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < 41; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@ for (i = 0; i < NUM; i++)
|
|||
flyingman_sprite = Sprite();
|
||||
|
||||
# set image position
|
||||
flyingman_sprite.SetX(Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2);
|
||||
flyingman_sprite.SetX(Window.GetX() + (Window.GetWidth() / 2 - flyingman_image[0].GetWidth() / 2)); # Place images in the center
|
||||
flyingman_sprite.SetY(Window.GetY() + (Window.GetHeight() / 2 - flyingman_image[0].GetHeight() / 2));
|
||||
|
||||
progress = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue