Skip to content

Instantly share code, notes, and snippets.

@sjvnnings
sjvnnings / better_jumping_character_example.gd
Last active November 2, 2024 02:10
An easy to work with jump in Godot
extends KinematicBody2D
export var move_speed = 200.0
var velocity := Vector2.ZERO
export var jump_height : float
export var jump_time_to_peak : float
export var jump_time_to_descent : float