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

Two-dimensional array for map #4

Open
wants to merge 4 commits into
base: gh-pages
Choose a base branch
from

Conversation

chollinger93
Copy link

Using a two-dimensional array for the level-generation seemed way more reasonable to me, since addressing the x & y coordinates in a one-dimensional array is pretty tedious.

@Resseguie
Copy link

You might want to check out the refactoring I did on my fork (https://github.com/Resseguie/playfuljs-demos) that allows level switching. I'll look into adding the two dimensional array as an option there too since it makes the level definitions more intuitive.

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

Successfully merging this pull request may close these issues.

None yet

2 participants