Java Community | Help. Code. Learn.JC|HCL
Java Community | Help. Code. Learn.β€’13mo agoβ€’
25 replies
Pong

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
Was this page helpful?