AH BEN TABARNOUCHE

This commit is contained in:
Claudel-D-Roy 2023-12-13 15:14:38 -05:00
parent b1fc9d7d92
commit a11c52cf77

View File

@ -125,9 +125,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
bool isLeft = side.y > 0;
time += elapsedTime;
if (time >= 100)
if (time >= 0.5)
{
time -= 100;
time -= 0.5;
Shooting = !Shooting;
/*if (!current.states.shooting)
@ -135,8 +135,9 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
else
Shooting = true;*/
}
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 << Shooting << 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
{