You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I'm following the tutorial listed here
Say we declare a level like this:
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.The text was updated successfully, but these errors were encountered: