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

Add a deno pet #567

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Conversation

thisisjofrank
Copy link

Added a lil dinosaur pet to represent Deno.

@tonybaloney
Copy link
Owner

Erm. This is amazing. Well done on the PR. I'll take some time to try this out with a few different scenarios then give a +1

@tonybaloney tonybaloney self-requested a review May 21, 2024 17:50
@@ -178,6 +179,8 @@ export function createPet(
return new Cat(...standardPetArguments, PetSpeed.normal);
case PetType.chicken:
return new Chicken(...standardPetArguments, PetSpeed.normal);
case PetType.deno:
return new Deno(...standardPetArguments, PetSpeed.normal);
Copy link
Owner

Choose a reason for hiding this comment

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

I've been playing around with a couple of these and think the pet animations might look more natural at slow instead of normal. It would walk and run slower (fewer pixels/sec), but it is a big ol' dinosaur.

What do you think?

Copy link
Author

Choose a reason for hiding this comment

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

awww yeah, could be kind of cute lumbering around

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 45.45455% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 17.07%. Comparing base (3c3a51e) to head (0fa85cb).

Files Patch % Lines
src/panel/pets/deno.ts 50.00% 4 Missing ⚠️
src/panel/pets.ts 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #567      +/-   ##
==========================================
+ Coverage   16.80%   17.07%   +0.26%     
==========================================
  Files          22       23       +1     
  Lines        1166     1177      +11     
  Branches      158      158              
==========================================
+ Hits          196      201       +5     
- Misses        964      970       +6     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants