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

added chest object #192

Closed

Conversation

codewithsupra
Copy link

Added a chest object that gets more points

Copy link

🙏 Thanks for your pull request @codewithsupra, 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:
192 1745 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
4 27 94

Copy link

🙏 Thanks for your pull request @codewithsupra, 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:
192 1745 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
4 27 94

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.

@codewithsupra there are a few changes to make in your PR.
Also, make sure you check the game with your changes locally with

npm run dev

To make sure there are no errors.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not really a sprite. If looks more like a normal image which doesn't fit into the style which the entire game follows. Can you replace it with a 2D top-down pixel chest sprite?


return k.add([
k.sprite('chest'),
k.pos(map.pos.x + spawnpoints.chest.x, map.pos.y + spawnpoints.chest.y),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unfortunately, there is no spawnpoint.chest available for now.
Have a look at other game object files to get an idea how you can place objects differently in such a case

yarn.lock Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove the yarn.lock file because we use npm primarily for the project.

Copy link
Author

Choose a reason for hiding this comment

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

i have added as a new branch. please check

Copy link

⚠️ MERGE CONFLICT DETECTED!

@codewithsupra A possible conflict has been detected, you will need to resolve this before your pull request can be merged. The most common reason conflicts occur, is when the contributor does not run git pull origin master before pushing their new changes.

Before we can merge the code, you will need to resolve the conflict, check out these videos by Aldo: How To Get Started With Open Source and How To Resolve Git Merge Conflicts. If you get stuck ask over on Discord.

1 similar comment
Copy link

⚠️ MERGE CONFLICT DETECTED!

@codewithsupra A possible conflict has been detected, you will need to resolve this before your pull request can be merged. The most common reason conflicts occur, is when the contributor does not run git pull origin master before pushing their new changes.

Before we can merge the code, you will need to resolve the conflict, check out these videos by Aldo: How To Get Started With Open Source and How To Resolve Git Merge Conflicts. If you get stuck ask over on Discord.

Copy link

🙏 Thanks for your pull request @codewithsupra, 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:
192 1764 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
6 27 94

1 similar comment
Copy link

🙏 Thanks for your pull request @codewithsupra, 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:
192 1764 0
📑 Files Changed: Repo Stars: 🔱 Total Forks:
6 27 94

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.

2 participants