Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is "setAcceptableTiles" always necessary? #97

Open
maxwade-argodesign opened this issue Feb 2, 2022 · 0 comments
Open

Is "setAcceptableTiles" always necessary? #97

maxwade-argodesign opened this issue Feb 2, 2022 · 0 comments

Comments

@maxwade-argodesign
Copy link

I'm following the tutorial listed here

Say we declare a level like this:

var level = 
[[0,0,1,0,0],
[1,0,1,0,1],
[0,0,1,0,0],
[0,0,1,1,0],
[0,0,0,0,0]];

is it required that we then call setAcceptableTiles?
My understanding is that all the 0s in the above array signify a walkable tile. If that's the case, setAcceptableTiles would be optional.

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

No branches or pull requests

1 participant