Const
Root game world component.
World is responsible for:
World
It should wrap all game-related entities and systems.
<World mapSize={{ width: 3000, height: 2000 }}> <Player position={{ x: 100, y: 500 }} /> <Camera target={Symbol.for('player')} /></World> Copy
<World mapSize={{ width: 3000, height: 2000 }}> <Player position={{ x: 100, y: 500 }} /> <Camera target={Symbol.for('player')} /></World>
Root game world component.
Worldis responsible for:It should wrap all game-related entities and systems.