zero-to-mastery / ZTM-Quest

A fun little 2D top-down rpg where you can explore the world of zero-to-mastery. Be prepared for funny and serious content and of course, Bruno.
https://zero-to-mastery.github.io/ZTM-Quest/
27 stars 93 forks source link

Feature: Add a new best friend (dog) to map_forest_junction #123

Open r4pt0s opened 1 month ago

r4pt0s commented 1 month ago

Every person on earth should have a pet with in my opinion 😅.

Pets enrich our daily life in a positive way.

Add a dog to the game which follows our main character along. The dog should be placed into map_forest_junction. It should move their around randomly.

It is lost there so to say. As soon as the main character got seen by the dog, it should move towards the main character. Once the dog collides with the main character, a dialog box should appear which says

wuff wuff, hehe he wuff

It would be cool if you could also add barking sounds which will play while the text is visible.

Then the text should get replaced with a text like

Looks like you found a new friend, if it might wants to move along?

You can give the user the ability to decide if the dog should follow along or not.

If the user decides yes, then let the dog follow the user everywhere the main character goes to.

The dog game object should also have its own property state so that we can build upon it in the future.

IngaleChinmay04 commented 1 month ago

I want to give it a try.Can you assign it to me?

r4pt0s commented 1 month ago

Absolutely @IngaleChinmay04. Go for it 🎉🚀