Posts by Lucca de Paula • 1 point
1 post
-
0
votes1
answer35
viewsQ: Color recognition with switch/case
In my code, I’m making a map in which one pixel for colored x, then the Sprite x will be put in it, example: int pixelAtual = pixels[xx + (yy * map.getWidth())]; tiles[xx + (yy * WIDTH)] = new…