760 B
760 B
ESCPlayer
Description
A playable character TODO
- Currently the sprite node needs to be named "sprite". This is bad.
- Animation management doesn't allow using AnimationPlayer yet. Need to find the best solution to manage both AnimatedSprite and AnimationPlayer.
Property Descriptions
camera_position_node
export var camera_position_node = ""
The node that references the camera position
Method Descriptions
get_camera_pos
func get_camera_pos()
Return the camera position if a camera_position_node exists or the global position of the player