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

Texture2D vs Render Texture performance

$
0
0

@jmclaveria wrote:

Currently my game is overlaping a few textures to draw the main character. Each texture has the same number of frames.

For example, the character is drawn overlapping a frame of a "body" texture, a frame of a "helmet" texture, a frame of a "weapon" texture, etc.

With this configuration I can build a lot of combinations for the character. The player chooses a combination before the game starts.

I was wondering if overlaping all the textures in a render texture on loading screen would increase the performance. Instead of drawing 4 sprites from 4 different textures a single sprite from a render texture would be drawn.

What do you think? Any tip will be appreciated smile

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles