moved tick to process from physics process

fixed fall speed
improved naming
This commit is contained in:
2025-05-01 22:46:51 +02:00
parent 4462573267
commit ea34b8ecc0
3 changed files with 15 additions and 8 deletions

View File

@@ -36,10 +36,10 @@ public partial class Main : Node2D {
public override void _PhysicsProcess(double delta) {
base._PhysicsProcess(delta);
Level.Update();
}
public override void _Process(double delta) {
Level.Update();
mLevelDrawer.Texture?.Dispose();
mLevelDrawer.Texture = ImageTexture.CreateFromImage(Level.DrawLevel());
}