-danse de la pluie-
This commit is contained in:
parent
3043b1ff6b
commit
e8d456cc09
@ -1241,12 +1241,6 @@ void Engine::Render(float elapsedTime) {
|
|||||||
|
|
||||||
gameTime += elapsedTime * 10;
|
gameTime += elapsedTime * 10;
|
||||||
|
|
||||||
for (auto& [key, player] : m_players) {
|
|
||||||
RemotePlayer* rt = (RemotePlayer*)player;
|
|
||||||
rt->Render(m_animeAtlas, m_shader01, all, elapsedTime);
|
|
||||||
m_otherplayerpos = rt->GetPosition();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Vector3f dance = Vector3f(sin(gameTime), 0, cos(-gameTime));
|
//Vector3f dance = Vector3f(sin(gameTime), 0, cos(-gameTime));
|
||||||
//dance.Normalize();
|
//dance.Normalize();
|
||||||
//m_remotePlayer.ApplyPhysics(dance, &m_world, elapsedTime);
|
//m_remotePlayer.ApplyPhysics(dance, &m_world, elapsedTime);
|
||||||
@ -1347,8 +1341,15 @@ void Engine::Render(float elapsedTime) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lsPck.clear();
|
lsPck.clear();
|
||||||
|
|
||||||
|
for (auto& [key, player] : m_players) {
|
||||||
|
RemotePlayer* rt = (RemotePlayer*)player;
|
||||||
|
rt->Render(m_animeAtlas, m_shader01, all, elapsedTime);
|
||||||
|
m_otherplayerpos = rt->GetPosition();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
else if (m_gamestate == GameState::MAIN_MENU || m_gamestate == GameState::OPTIONS)
|
else if (m_gamestate == GameState::MAIN_MENU || m_gamestate == GameState::OPTIONS)
|
||||||
{
|
{
|
||||||
if (!m_soloMultiChoiceMade) {
|
if (!m_soloMultiChoiceMade) {
|
||||||
|
Loading…
Reference in New Issue
Block a user