Im brand new to Godot Engine and I've been trying to use this asset library but I cant seem to figure out why it's giving me a "Invalid access to property or key "scale" on a base object of type 'Nil' error
I'm not sure exactly which of the code you'd want to see to be able to help me but the debugger points out these two lines
func _ready():
wasMovingR = true
anim = PlayerSprite
col = PlayerCollider
1-> _updateData()
func _updateData():
acceleration = maxSpeed / timeToReachMaxSpeed
deceleration = -maxSpeed / timeToReachZeroSpeed
jumpMagnitude = (10.0 * jumpHeight) * gravityScale
jumpCount = jumps
dashMagnitude = maxSpeed * dashLength
dashCount = dashes
maxSpeedLock = maxSpeed
2-> animScaleLock = abs(anim.scale)
colliderScaleLockY = col.scale.y
colliderPosLockY = col.position.y