Encoding unit — one grounded idea

1 Adding new functionality like cloaking to specific entities (e.g., aliens) creates structural conflicts when the same feature must be applied to different types of objects (e.g., structures and players) in a hierarchical object-oriented system.
“you need to decide where you want to put this and one one place is maybe everything that's alive has the ability to be cloaked it may or may not be cloaked depending on game conditions and that seems you know pretty pretty good but then you determine later that oh the the armory this marine structure should not be cloaked so we're going to move it down and and just make it so that structures are cloaked and we can decide which structures are going to be cloaked by inheriting off of that so that seems pretty good and then you know two months later we find out that we want to make alien players cloaked as well so now we have this problem”
spoken · 487s · 2012-12-04 · en · luaworkshop · Small Team, Huge Game, and Lua
id: 2f852cf34af0c92e
concepts in this idea