Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Vector2 parse error in Camera2DRig example #48

Open
scramjetter opened this issue Aug 6, 2019 · 0 comments
Open

Vector2 parse error in Camera2DRig example #48

scramjetter opened this issue Aug 6, 2019 · 0 comments
Labels

Comments

@scramjetter
Copy link

After importing the Camera2DRig example, a Vector2 parse error appears in file:

2018/03-16-camera-2d-rig/end/characters/camera/grid-snapper.gd

Function jump_to_grid_position() code body should read:

position = grid_position * grid_size
instead of:
position = Vector2(grid_position * grid_size)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants