Pong
JCHJava Community | Help. Code. Learn.
•Created by Pong on 1/28/2025 in #java-help
Tiles in a 2d Java game
In working on making a simple tile-based 2d game and I was just wondering about something. Say I have a setup like so;
0 1 2 3 4
5 6 7 8 9
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 = grass
1 = water
2 = spruce
And so on
Is there anyway to have more than 9 different types of tiles in a world map? If so I would love to know
26 replies