zero-to-mastery/ZTM-Quest

Spawning/adding more NPCs to map_start

开放

#3 创建于 2024年9月30日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (132 个派生)auto 404
hacktoberfest

仓库指标

星标
 (39 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南