Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Is it a bad design to use single BasicEffect/CustomFX for all game entities ?

$
0
0

@DexterZ wrote:

Mostly I have read that you should create each of game objects or entities it's own BasicEffect or Custom Effect as for example if I have 500 bullets as shown in the image below if I will create each of them it's own BasicFX/CustomFX when the bullets elapse it's life time I need to destroy 500 BasicFX/CustomFx ?

Against if I will only use single BasicFX/CustomFX and apply the appropriate properties on render time to the global single BasicFX/CustomFX then I don't need to destroy any effects.

But Is there any long run side effect if I will just use single BasicFX/CustomFX for all of my game objects ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles