Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawning/adding more NPCs to map_city #4

Open
r4pt0s opened this issue Sep 30, 2024 · 2 comments
Open

Spawning/adding more NPCs to map_city #4

r4pt0s opened this issue Sep 30, 2024 · 2 comments
Labels
hacktoberfest Hacktoberfest label for 2024

Comments

@r4pt0s
Copy link
Collaborator

r4pt0s commented Sep 30, 2024

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.

@r4pt0s r4pt0s added the hacktoberfest Hacktoberfest label for 2024 label Sep 30, 2024
@Ajeet-Rana
Copy link
Contributor

Hello @r4pt0s,
could you please specify the locations where NPCs will be spawning on both the map_arcade and map_city?

@r4pt0s
Copy link
Collaborator Author

r4pt0s commented Oct 5, 2024

Hi @Ajeet-Rana,

There are no spawnpoints pre defined for them.
You could pick just one object near the position where you want to spawn a new npc and calcute the position for the npc from there if that makes sense 🤔?

r4pt0s added a commit that referenced this issue Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Hacktoberfest label for 2024
Projects
None yet
Development

No branches or pull requests

2 participants