mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix jitter
This commit is contained in:
parent
a7d26e373a
commit
016f4685e4
2 changed files with 2 additions and 2 deletions
|
|
@ -1959,7 +1959,7 @@ class Marble extends GameObject {
|
|||
function calculateNetSmooth() {
|
||||
if (this.netCorrected) {
|
||||
this.netCorrected = false;
|
||||
this.netSmoothOffset.load(this.lastRenderPos.sub(this.oldPos).sub(this.velocity.multiply(0.032)));
|
||||
this.netSmoothOffset.load(this.lastRenderPos.sub(this.oldPos));
|
||||
// this.oldPos.load(this.posStore);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ class MarbleGame {
|
|||
static var canvas:Canvas;
|
||||
static var instance:MarbleGame;
|
||||
|
||||
static var currentVersion = "1.1.1";
|
||||
static var currentVersion = "1.1.2";
|
||||
|
||||
var world:MarbleWorld;
|
||||
var previewWorld:PreviewWorld;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue