Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Status Effects (Buffs Debuffs) in an ECS Architecture

$
0
0
I'd like to implement status effects in an ECS architecture but I'm unsure of exactly how to do that. I seem to recall seeing an example where each status effect had an enum representing its effect, and an update function where the enum was switched and the effect was applied.

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>