Contributing
Ideas and discussion
Have an awesome idea for a new feature? Please open an issue describing your idea! You can also help by reviewing some of the existing ideas and leaving your opinion.
Reporting bugs
Something is not working as it should? Please open an issue giving as much information as you can. Writing an effective bug report is a valuable skill as a Software Engineer, refer to the given example below for advice.
- Title - Clearly summarize what the bug is with specific details.
- Summary - If the title is too long, include a summary with additional details.
- Visual/Screenshot - A picture is always worth the time. Include one if possible.
- Expected/Actual Results - Explain what you expected to happen and what actually happened.
- Steps to Reproduce - The steps to follow should be comprehensive, easy to understand, and short. We want to experience the bug first-hand.
- Environment - Share the current version information by copying from
Help
and clickingAbout
.
Write code
Want to contribute to vscode-pets? Feel free to fork the repository and submit a pull request.
Drawing and Animations
If you want to contribute improvements to the animations, additional pet colors or even new pets, clone the repository and work in the media/
folder.
Most drawings are done in aseprite because you can edit GIFs directly. However, you are free to use any tool to make the animations. Animations should be 8 frames per second. The style of the extension is to have pixelated creatures (although not limited to an 8-bit color canvas).
Don't worry if you don't have enough coding experience to add the changes to the extension to support the new animations, we can help you with that.
The minimum set of behaviors is:
- standing
- walking
- running/chasing
- holding green ball
Testing the changes
- Run
npm install
. - Run
npm run compile
. - Go to the debug panel on the sidebar and launch the development version with the extension loaded (first option in the debug profiles).
- Refer to VS Code Extension Documentation for additional resources.
Submitting a PR
- Please make sure to run
npm run lint
and verify there are no errors/warnings. - You can run
npm run lint:fix
to fix the lint issues.