Comment

Comment by szastupov

> Player.hits(Monster).with(Weapon)

The problem is that it's an artificial example, in reality you'll ave a lot of different monsters, weapons, and most importantly separate subsystems. I.e. physics processed in one pass, animation in another, same goes for custom logic and rendering.

Modern game engines use component systems that put data first for the same reasons author described in the post.

parent szastupov 8 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton