game-arch / mmo-arch

Base Architecture for creating scalable games using microservices through Angular, Phaser, NestJS, NATS, and MySQL
34 stars 4 forks source link

Feature Request: NPC Spawning system #17

Open JoeyHengst opened 4 years ago

JoeyHengst commented 4 years ago

It would be nice to have a NPC Microservice or system? Which would handle spawning of npc's, movement of npc's.

NPC can be categorized in different types:

jwhenry3 commented 4 years ago

There are NPC Config files for specific maps to be used across multiple microservices in order to coordinate spawn location and behavior, so the map server will be responsible for the movement of the npcs and determining distance, while other AI related services would be responsible for what to do with that information.