"Empty Room" movement feels ok?

This commit is contained in:
2026-02-25 18:57:15 +11:00
parent 81fd71d52e
commit 0914903084
3 changed files with 11 additions and 6 deletions

View File

@@ -2,14 +2,14 @@ class_name BoxBoy extends CharacterBody2D
@onready var _sprite = $AnimatedSprite2D
const MOVE_FORCE: int = 300
const JUMP_FORCE: int = 500 #about 4 tiles
const MOVE_FORCE: int = 300 #about 10 tiles horizontally (airborne arc)
const JUMP_FORCE: int = 500 #about 4 tiles vertically
const GRAVITY_RISING: int = 15
const GRAVITY_FALLING: int = 30
#bouncy platform
const BOUNCE_FORCE: int = -820 #about 10 tiles
const BOUNCE_FORCE: int = -820 #about 10 tiles vertically
var just_bounced: bool = false #allow max bounce height (i.e. ignore jump input)
#limits