jonathaneeckhout / jdungeon

An opensource 2d morpg game based on the Godot engine in a medieval inspired fantasy world
https://jdungeon.org
BSD 2-Clause "Simplified" License
133 stars 23 forks source link

Bug: Rubberbanding when minimizing the window #101

Open Cablefish1 opened 1 year ago

Cablefish1 commented 1 year ago

When maximizing the game window after minimizing it again one runs into a nasty case of rubberbanding. The characters jumps all over and movement is lagging. The game is playable but not enjoyable. Apparently this is a Godot networking issues so a workaround me be found there.

NancokPS2 commented 1 year ago

Is the player teleporting or just taking forever to move when you click somewhere?
Because i think this is due to the buffer clogging up or the timestamp part of movement getting out of sync (since attacking enemies seems to work just fine).
The game and server run fine on my end, but the inputs get some extreme delay.

Cablefish1 commented 1 year ago

Is the player teleporting or just taking forever to move when you click somewhere? Because i think this is due to the buffer clogging up or the timestamp part of movement getting out of sync (since attacking enemies seems to work just fine). The game and server run fine on my end, but the inputs get some extreme delay.

The player is just stuttering when moving. Like moving in jumps with 1-2 seconds of delay. Same thing happens when minimizing Guild Wars 1 actually. Attacking still works normally.

NancokPS2 commented 1 year ago

Huh, i wonder if this is OS related.
Sounds like the game's connection is being throttled.

jonathaneeckhout commented 1 year ago

I was wondering the same if it's OS related. Like that the priority of the minimized game process is lowered and thus not all packets being received anymore, making the game go out of sync.