Methods
Soul:move(x: any, y: any, speed: any)
Arguments:
x: any | |
y: any | |
speed: any |
Returns:
1: boolean|nil | |
2: boolean |
Soul:moveX(amount: any, move_y: any)
Arguments:
amount: any | |
move_y: any |
Returns:
1: boolean|nil | |
2: boolean|nil |
Soul:moveXExact(amount: any, move_y: any)
Arguments:
amount: any | |
move_y: any |
Returns:
1: boolean | |
2: Arena|nil |
Soul:moveY(amount: any, move_x: any)
Arguments:
amount: any | |
move_x: any |
Returns:
1: boolean|nil | |
2: boolean|nil |
Soul:moveYExact(amount: any, move_x: any)
Arguments:
amount: any | |
move_x: any |
Returns:
1: boolean | |
2: Arena|nil |
Fields
Undocumented
Soul.partial_x: number
1px movement increments
Soul.sprite: Sprite
A simple object that renders a texture.
This texture must be placed inside assets/sprites/
.