Zoomed the camera, reduced jump heights

This commit is contained in:
2026-03-13 15:20:31 +11:00
parent 94b810e4f1
commit aea1b4a97d
5 changed files with 84 additions and 77 deletions

View File

@@ -3,18 +3,18 @@ class_name BoxBoy extends CharacterBody2D
@onready var _gameplayController = $/root/Scene/GameplayController
@onready var _sprite = $AnimatedSprite2D
const MOVE_FORCE: int = 300 #about 10 tiles horizontally (airborne arc)
const JUMP_FORCE: int = 500 #about 4 tiles vertically
const MOVE_FORCE: int = 150
const JUMP_FORCE: int = 380 #about 2 tiles
const GRAVITY_RISING: int = 15
const GRAVITY_FALLING: int = 30
#bouncy platform
const BOUNCE_FORCE: int = -820 #about 10 tiles vertically
const BOUNCE_FORCE: int = -500 #about 4 tiles
var just_bounced: bool = false #allow max bounce height (i.e. ignore jump input)
#limits
const MAX_MOVE_SPEED: int = 300
const MAX_MOVE_SPEED: int = 200 #about 6 tiles when airborne
const MAX_FALL_SPEED: int = 800
#game-feel