Comment

Comment by Tyr42

Hmm, if you only have one system, then yes, those are the same.

But if you have multiple systems (say collision detection, physics, damage/health, control(ai or player)) you can then build things up lego brick style.

For example, a basic wall will just participate in the collision detection system and nothing else, but now it's easy to add in breakable walls by giving them a hp value and defence value for the damage system.

Does that help?

parent Tyr42 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton