AH BEN TABARNOUCHE
This commit is contained in:
parent
b1fc9d7d92
commit
a11c52cf77
@ -125,9 +125,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
|
|||||||
bool isLeft = side.y > 0;
|
bool isLeft = side.y > 0;
|
||||||
|
|
||||||
time += elapsedTime;
|
time += elapsedTime;
|
||||||
if (time >= 100)
|
if (time >= 0.5)
|
||||||
{
|
{
|
||||||
time -= 100;
|
time -= 0.5;
|
||||||
|
|
||||||
Shooting = !Shooting;
|
Shooting = !Shooting;
|
||||||
/*if (!current.states.shooting)
|
/*if (!current.states.shooting)
|
||||||
@ -135,8 +135,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
|
|||||||
else
|
else
|
||||||
Shooting = true;*/
|
Shooting = true;*/
|
||||||
}
|
}
|
||||||
|
//std::cout << Shooting << std::endl;
|
||||||
std::cout << "shooting : " << current.states.shooting << " jumping : " << current.states.jumping << " jumpshot : " << current.states.jumpshot << " running : " << current.states.running << " still : " << current.states.still << " dead : " << current.states.dead << " hit : " << current.states.hit << std::endl;
|
//std::cout << time << std::endl;
|
||||||
|
//std::cout << "shooting : " << current.states.shooting << " jumping : " << current.states.jumping << " jumpshot : " << current.states.jumpshot << " running : " << current.states.running << " still : " << current.states.still << " dead : " << current.states.dead << " hit : " << current.states.hit << std::endl;
|
||||||
|
|
||||||
if (angle >= 0.75) //Face - side positif
|
if (angle >= 0.75) //Face - side positif
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user