how to raw bubble like bubble shooter game in libgdx game

583 views Asked by At

i would like to make Bubble shooter game. but issue is that how i draw bubble 10 row and 10 column wise bubble with different color in libgdx...is this bubble draw through tilemap or any other way.

1

There are 1 answers

4
AAryan On

If your row is fixed then simply you can draw on game screen in 2D array and add pading in row depending upon even or odd row number. But if your row changes from then 10 means increase then you can use ArrayList.

Bubble Images can be taken from json file if you have predefined bubble color otherwise you can generate random bubble.