zero-to-mastery/ZTM-Quest

Spawning/adding more NPCs to map_city

Offen

#4 geöffnet am 30.09.2024

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (132 Forks)auto 404
hacktoberfest

Repository-Metriken

Stars
 (39 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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