zero-to-mastery/ZTM-Quest

Spawning/adding more NPCs to map_start

オープン

#3 opened on 2024/09/30

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (132 件のフォーク)auto 404
hacktoberfest

Repository metrics

Stars
 (39 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Currently, there is not much going on on each map. There are a few NPCs which get spawned in map_start which should give you an idea about how you can start.

We build a makeNpc function which you can use to spawn new NPCs easily and randomly. But feel free to add NPCs yourself by adding your own spritesheets.

Here you can find the makeNpc function.

And here how we added them.

コントリビューターガイド