0
\$\begingroup\$

How do games such as aa Game have high levels in the structure of their code? I mean if we want create a game with high levels, should we create and use a class for each level? I do not want code from you. only I want know for creating a game with high levels in android, What we should do in coding? Is it good if we create and use a class for each level?

\$\endgroup\$
3
3
\$\begingroup\$

The simple answer is that in general, your levels should be defined as data, and your code should be the same for all levels, it just reads the data to know what to do.

\$\endgroup\$
1

Not the answer you're looking for? Browse other questions tagged or ask your own question.