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

first interaction with arcade employee #47

Closed
wants to merge 2 commits into from

Conversation

abdulrahimsulthan
Copy link
Member

First interaction with arcade employee done, Need a time to get some fun idea with games playing.

Copy link

🙏 Thanks for your pull request @abdulrahimsulthan, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
47 23 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
3 9 23

Copy link

🥳 Congratulations 🎉

Congrats on making your first Pull Request in the Zero To Mastery Organization!
You have been sent an invitation to join the ZTM github organization, please check your emails for further details!

ZTM Profile Badge

If you'd like the ZTM Badge to show up on your profile, you will need to follow this guide!

@abdulrahimsulthan
Copy link
Member Author

#30 linked to this issue

Copy link
Collaborator

@r4pt0s r4pt0s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at the comments. There is a change necessary.
Thank you

Copy link

🙏 Thanks for your pull request @abdulrahimsulthan, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
47 23 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
3 10 31

Copy link

🙏 Thanks for your pull request @abdulrahimsulthan, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
47 23 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
3 18 40

Copy link

🙏 Thanks for your pull request @abdulrahimsulthan, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
47 28 1
📑 Files Changed: Repo Stars: 🔱 Total Forks:
4 18 41

Copy link

🙏 Thanks for your pull request @abdulrahimsulthan, The team will now review and merge this request. In the mean time why not check out some of the other opensource projects available, contributions are greatly appreciated!

Some of the most popular are


PR Statistics

#️⃣ PR Number: Line Additions: 🗑️ Line Deletions:
47 28 1
📑 Files Changed: Repo Stars: 🔱 Total Forks:
4 18 41

@abdulrahimsulthan
Copy link
Member Author

I didnt touch this file it give some linting issues src/interactions/map_start/jokeTeller.interaction.js

@r4pt0s
Copy link
Collaborator

r4pt0s commented Oct 3, 2024

@abdulrahimsulthan I know. Can you just update the PR with the latest version of main?
The issue with the liniting got already resolved. Thank you 🙏

Copy link
Collaborator

@r4pt0s r4pt0s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please make the requested changes 🙏

export const firstInteractionWithUncleBob = (player, k, map) => {
player.onCollide('uncle_bob', () => {
player.isInDialog = true;
displayDialogueWithCharacter(
Copy link
Collaborator

@r4pt0s r4pt0s Oct 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove the displayDialogueWithCharacter function call here?
We have now a event system started for interactions. To get an idea what you have to add, have a look at this interaction

it is basically just wrapping it into a object.
Also, add uncleBobVisitOne to the player state object so that we can persist it into local storage

 displayDialogue({
            k,
            player,
            characterName: 'Uncle Bob',
            text: firstConversationArcade,
            onDisplayEnd: () => {
                player.isInDialog = false;
                player.state.uncleBobVisitOne = true;
            },
        });

@b-hexsoul
Copy link
Contributor

please also checkout npcInteractionHandler function in handler.interactions.js

Copy link
Member

@lorenzomiro lorenzomiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes were made as of 10/7/2024

@r4pt0s
Copy link
Collaborator

r4pt0s commented Oct 10, 2024

@abdulrahimsulthan are you still working on it?

@r4pt0s
Copy link
Collaborator

r4pt0s commented Oct 18, 2024

Closed due to inactivity. @abdulrahimsulthan if still want to make these changes, please open a new pull request 🙏🏻

@r4pt0s r4pt0s closed this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants