Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorSegura99 committed Sep 19, 2018
1 parent d1f70be commit bff0493
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Pinball/Flecha2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Flecha2::Flecha2()
hit.PushBack({ 0, 280, 80,70 });
hit.PushBack({ 0, 350, 80,70 });
hit.PushBack({ 0, 420, 80,70 });
hit.speed = 0.25f;
hit.speed = 0.7f;
hit.loop = false;

rep.PushBack({ 0, 350, 80,70 });
rep.PushBack({ 0, 280, 80,70 });
rep.PushBack({ 0, 210, 80,70 });
rep.PushBack({ 0, 140, 80,70 });
rep.PushBack({ 0,70,80,70 });
rep.speed = 0.25f;
rep.speed = 0.7f;
rep.loop = false;
}

Expand Down
4 changes: 2 additions & 2 deletions Pinball/Flecha3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Flecha3::Flecha3()
hit.PushBack({ 0, 280, 80,70 });
hit.PushBack({ 0, 350, 80,70 });
hit.PushBack({ 0, 420, 80,70 });
hit.speed = 0.25f;
hit.speed = 0.7f;
hit.loop = false;

rep.PushBack({ 0, 350, 80,70 });
rep.PushBack({ 0, 280, 80,70 });
rep.PushBack({ 0, 210, 80,70 });
rep.PushBack({ 0, 140, 80,70 });
rep.PushBack({ 0,70,80,70 });
rep.speed = 0.25f;
rep.speed = 0.7f;
rep.loop = false;
}

Expand Down
5 changes: 2 additions & 3 deletions Pinball/Flechas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Flecha::Flecha()
hit.PushBack({ 11, 280, 80,70 });
hit.PushBack({ 11, 350, 80,70 });
hit.PushBack({ 11, 420, 80,70 });
hit.speed = 0.25f;
hit.speed = 0.7f;
hit.loop = false;

rep.PushBack({ 11, 350, 80,70 });
rep.PushBack({ 11, 280, 80,70 });
rep.PushBack({ 11, 210, 80,70 });
rep.PushBack({ 11, 140, 80,70 });
rep.PushBack({ 11,70,80,70 });
rep.speed = 0.25f;
rep.speed = 0.7f;
rep.loop = false;
}

Expand Down Expand Up @@ -61,7 +61,6 @@ update_status Flecha::Update()
if (noactive) {
current_animation = &rep;
rep.Reset();

}

App->render->Blit(texture, position.x, position.y, &(current_animation->GetCurrentFrame()));
Expand Down
Binary file modified Pinball/Game/Assets/Sprites/Nuevo Resorte.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Pinball/Game/Assets/Sprites/Nuevo Resorte_I.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bff0493

Please sign in to comment.