Edit of asset "PlatformerBody2D" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | PlatformerBody2D | PlatformerBody2D |
Description |
# 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** |
Category | Scripts | Scripts |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/Drumstickz64/godot-platformer-body-2d | https://github.com/Drumstickz64/godot-platformer-body-2d |
Issues Url | https://github.com/Drumstickz64/godot-platformer-body-2d/issues | https://github.com/Drumstickz64/godot-platformer-body-2d/issues |
Godot version | Godot 3.3 | Godot 3.3 |
Version String | 1.1 | 1.1 |
Download Commit | ba2497835354f4978370acec8eb2c68980b77f01 | ba2497835354f4978370acec8eb2c68980b77f01 |
Download Url (Computed) | https://github.com/Drumstickz64/godot-platformer-body-2d/archive/ba2497835354f4978370acec8eb2c68980b77f01.zip | https://github.com/Drumstickz64/godot-platformer-body-2d/archive/ba2497835354f4978370acec8eb2c68980b77f01.zip |
Icon Url |
https://raw.githubusercontent.com/Drumstickz64/Godot-Platformer-Body-2D/master/icon.png
![]() |
https://raw.githubusercontent.com/Drumstickz64/Godot-Platformer-Body-2D/master/icon.png
![]() |