Created
June 23, 2020 10:41
-
-
Save juunegreiros/fcb9bd1e842375d72e80f3f10d4552e1 to your computer and use it in GitHub Desktop.
Matrizes Imersão GameDev Javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const matrizInimigo = [ | |
[0, 0], | |
[104, 0], | |
[208, 0], | |
[312, 0], | |
[0, 104], | |
[104, 104], | |
[208, 104], | |
[312, 104], | |
[0, 208], | |
[104, 208], | |
[208, 208], | |
[312, 208], | |
[0, 312], | |
[104, 312], | |
[208, 312], | |
[312, 312], | |
[0, 418], | |
[104, 418], | |
[208, 418], | |
[312, 418], | |
[0, 522], | |
[104, 522], | |
[208, 522], | |
[312, 522], | |
[0, 626], | |
[104, 626], | |
[208, 626], | |
[312, 626], | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const matrizPersonagem = [ | |
[0, 0], | |
[220, 0], | |
[440, 0], | |
[660, 0], | |
[0, 270], | |
[220, 270], | |
[440, 270], | |
[660, 270], | |
[0, 540], | |
[220, 540], | |
[440, 540], | |
[660, 540], | |
[0, 810], | |
[220, 810], | |
[440, 810], | |
[660, 810], | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eita, mas eu peguei aqui essa matriz kkkk vou olhar o seu, tem muitos arquivos kkk
peguei as suas imagens e coloquei no meu e deu o msm erro, ollhei a matriz inimigo que colocaram aqui no post anterior e tbm ñ mudou =/