module

GSDL::PlatformerController

Inherits GSDL::Directionable < GSDL::TileMapCollidable

Instance methods

can_crouch=(can_crouch : Bool)

Crouching properties

Source
can_crouch?

Crouching properties

Source
can_dash=(can_dash : Bool)

Dash properties

Source
can_dash?

Dash properties

Source
can_wall_jump=(can_wall_jump : Bool)

Wall Jump/Slide properties

Source
can_wall_jump?

Wall Jump/Slide properties

Source
crouch_speed_multiplier
Source
crouch_speed_multiplier=(crouch_speed_multiplier : Float32)
Source
crouching=(crouching : Bool)
Source
crouching?
Source
dash_cooldown
Source
dash_cooldown=(dash_cooldown : Float32)
Source
dash_duration
Source
dash_duration=(dash_duration : Float32)
Source
dash_speed
Source
dash_speed=(dash_speed : Float32)
Source
dashing=(dashing : Bool)
Source
dashing?
Source
jump_impulse
Source
max_jumps

Double Jump properties

Source
max_jumps=(max_jumps : Int32)

Double Jump properties

Source
move_speed

Requirements for the including class

Source
platformer_move_and_collide(dt : Float32, collidables : Array(Collidable), tile_map : TileMap | Nil, world_bounds : FRect | Nil)
Source
platformer_update(dt : Float32, collidables : Array(Collidable) = [] of Collidable, tile_map : TileMap | Nil = nil, world_bounds : FRect | Nil = nil)
Source
wall_jump_impulse_x
Source
wall_jump_impulse_x=(wall_jump_impulse_x : Float32)
Source
wall_jump_impulse_y
Source
wall_jump_impulse_y=(wall_jump_impulse_y : Float32)
Source
wall_slide_gravity
Source
wall_slide_gravity=(wall_slide_gravity : Float32)
Source
wall_sliding=(wall_sliding : Bool)
Source
wall_sliding?
Source