Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2751

Performance / Optimization - Endless Scroll

$
0
0

@bbmn16 wrote:

I am working on a endless scroll , where my hero is moving infinitely on y-axis in upward direction and i'm updating the world for hero as he moves in upward direction , the updation procedure does not create any sprite or asset it just moves the exisiting assets up on the y-axis as hero moves upward on y-axis , so from hero's perpective it looks that those are new enemy but they are the same old one with different(new) positions on the y-axis in the world.

I want to know is this architecture good enough for endless scroll because its causing frustrating lag issue on old android devices even though game is not heavy just 7-8 sprites in total created one time , Update loop is just changing position of sprite not creating anything new .

Posts: 7

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 2751

Trending Articles