Added grassy tiles
Release / Export Game (push) Successful in 2m12s

This commit is contained in:
qwsdcvghyu89
2026-06-14 23:21:39 +10:00
parent 3254d821c1
commit e252a94f46
8 changed files with 147 additions and 97 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ public partial class PlayerPhysicsController : CharacterBody2D {
vely *= 1/4f;
}
if (Input.IsActionJustPressed("turn_back") && vely > 0) {
if (Input.IsActionJustPressed("turn_back") && vely > 0 && velx != 0) {
var side = velx > 0 ? PredictiveCollisions.Location.BottomRight : PredictiveCollisions.Location.BottomLeft;
if (Predictor.AnyHit(side) && !this.IsOnWall()) {
EmitSignal(SignalName.OnTurnbackJump, true, this.IsOnWall());