PlatformerBody2D

An asset by drumstickz64
The page banner background of a mountain and forest
PlatformerBody2D hero image

Quick Information

0 ratings
PlatformerBody2D icon image
drumstickz64
PlatformerBody2D

# Base PlatformerBody2D for GodotA simple base platformer body 2D with acceleration, deceleration, jumping, and jump-cutting. acceleration and jump trajectories calculated using simple time and max-distance/max-speed values exported to the editor.## Functions- **Move:** Move the character.- **Jump:** perform a jump.- **cut_jump:** cut the jump short.- **apply_gravity:** apply gravity.- **get_gravity:** allows for adding different types of gravity.- **should_accelerate:** should the character accelerate- **apply_acceleration** accelerate in a given direction.- **get_acceleration:** allows for adding different types of acceleration.- **should_decelerate:** should the character decelerate- **apply_deceleration:** slowly decelerate.- **get_deceleration:** allows for adding different types of deceleration.## Properties - **up_direction**- **down_direction**

Supported Engine Version
3.3
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Base PlatformerBody2D for Godot

A simple base platformer body 2D with acceleration, deceleration, jumping, and jump-cutting. acceleration and jump trajectories calculated using simple time and max-distance/max-speed values exported to the editor.

Functions

  • Move: Move the character.
  • Jump: perform a jump.
  • cut_jump: cut the jump short.
  • apply_gravity: apply gravity.
  • get_gravity: allows for adding different types of gravity.
  • should_accelerate: should the character accelerate
  • apply_acceleration accelerate in a given direction.
  • get_acceleration: allows for adding different types of acceleration.
  • should_decelerate: should the character decelerate
  • apply_deceleration: slowly decelerate.
  • get_deceleration: allows for adding different types of deceleration.

Properties

  • up_direction
  • down_direction

# Base PlatformerBody2D for Godot

A simple base platformer body 2D with acceleration, deceleration, jumping, and jump-cutting. acceleration and jump trajectories calculated using simple time and max-distance/max-speed values exported to the editor.

## Functions

- **Move:** Move the character.
- **Jump:** perform a jump.
- **cut_jump:** cut the jump short.
- **apply_gravity:** apply gravity.
- **get_gravity:** allows for adding different types of gravity.
- **should_accelerate:** should the character accelerate
- **apply_acceleration** accelerate in a given direction.
- **get_acceleration:** allows for adding different types of acceleration.
- **should_decelerate:** should the character decelerate
- **apply_deceleration:** slowly decelerate.
- **get_deceleration:** allows for adding different types of deceleration.

## Properties

- **up_direction**
- **down_direction**

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
PlatformerBody2D icon image
drumstickz64
PlatformerBody2D

# Base PlatformerBody2D for GodotA simple base platformer body 2D with acceleration, deceleration, jumping, and jump-cutting. acceleration and jump trajectories calculated using simple time and max-distance/max-speed values exported to the editor.## Functions- **Move:** Move the character.- **Jump:** perform a jump.- **cut_jump:** cut the jump short.- **apply_gravity:** apply gravity.- **get_gravity:** allows for adding different types of gravity.- **should_accelerate:** should the character accelerate- **apply_acceleration** accelerate in a given direction.- **get_acceleration:** allows for adding different types of acceleration.- **should_decelerate:** should the character decelerate- **apply_deceleration:** slowly decelerate.- **get_deceleration:** allows for adding different types of deceleration.## Properties - **up_direction**- **down_direction**

Supported Engine Version
3.3
Version String
1.1
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers