zero-to-mastery/ZTM-Quest

Spawning/adding more NPCs to map_arcade

Aperta

#5 aperta il 30 set 2024

 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (132 fork)auto 404
hacktoberfest

Metriche repository

Star
 (39 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor