😎
This commit is contained in:
@@ -249,9 +249,9 @@ void Engine::LoadResource() {
|
||||
//TextureAtlas::TextureIndex JumpQuarterBackLeftShootFire = m_animeAtlas.AddTexture(ANIM_PATH_JSHOOT2 "BlueBackLeftJumpLeftShootingLeftShoot1.png");
|
||||
//TextureAtlas::TextureIndex JumpQuarterBackRightShootFire = m_animeAtlas.AddTexture(ANIM_PATH_JSHOOT2 "BlueBackRightJumpRightShootingRightShoot1.png");
|
||||
//TextureAtlas::TextureIndex JumpBackShootFire = m_animeAtlas.AddTexture(ANIM_PATH_JSHOOT2 "BlueBackJumpRightShootingRightShoot1.png");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!m_animeAtlas.Generate(TEXTURE_SIZE, false)) {
|
||||
std::cout << " Unable to generate texture atlas ..." << std::endl;
|
||||
abort();
|
||||
@@ -1430,7 +1430,7 @@ void Engine::Render(float elapsedTime) {
|
||||
m_player.InflictDamage(sync.hp - comp.hp);
|
||||
|
||||
Vector3f diff = sync.position - comp.position;
|
||||
|
||||
|
||||
if (diff.y < 1.)
|
||||
diff.y = 0;
|
||||
|
||||
@@ -1449,7 +1449,7 @@ void Engine::Render(float elapsedTime) {
|
||||
case OUTPUT:
|
||||
if (Deserialize(&out, pck, &bsize)) {
|
||||
if (!m_players.contains(out.id)) {
|
||||
|
||||
|
||||
std::cout << out.id << " is id no good." << std::endl;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user