2D gaming performance
Cocos
MAY 1, 2024
For now, I settled on the ground generation approach (piece of ground->bridge->piece of ground) At first I wanted to attach the code, but I think it would be better to try to explain the meaning of the generation. Then I generate nodes (sprites) from this array and add them to the playing field. Got 3,490 triagle and 4 FPS.
Let's personalize your content