DE 🐛
This commit is contained in:
parent
ce2d03c354
commit
d7bd36d134
@ -868,7 +868,7 @@ void Engine::DisplayInfo(float elapsedTime, BlockType bloc) {
|
||||
fPosY = fPosYJump;
|
||||
fPosY -= charSize;
|
||||
|
||||
ss << " Velocity : " << m_remotePlayer.GetVelocity();
|
||||
ss << " Velocity : " << m_otherplayerpos;
|
||||
PrintText(fPosX, fPosY, ss.str());
|
||||
ss.str("");
|
||||
fPosY -= charSize;
|
||||
@ -1244,6 +1244,7 @@ void Engine::Render(float elapsedTime) {
|
||||
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));
|
||||
|
@ -117,6 +117,7 @@ private:
|
||||
Texture PauseBGTexture;
|
||||
Texture SplachScreenTexture;
|
||||
|
||||
Vector3f m_otherplayerpos = Vector3f(0, 0, 0);
|
||||
|
||||
float m_scale;
|
||||
float m_time = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user