zero-to-mastery/ZTM-Quest

Spawning/adding more NPCs to map_start

Open

#3 opened on Sep 30, 2024

 (2 comments) (0 reactions) (0 assignees)JavaScript (132 forks)auto 404
hacktoberfest

Repository metrics

Stars
 (39 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide