Skip to content

Commit

Permalink
✨ Add 45+ pets to choose
Browse files Browse the repository at this point in the history
Change log:
 -add 40+ pets
 -bump version
  • Loading branch information
SeakMengs committed Nov 18, 2023
1 parent 2e74163 commit d80044a
Show file tree
Hide file tree
Showing 109 changed files with 2,805 additions and 548 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

## ✨ Features
![image](https://github.com/SeakMengs/WindowPet/assets/54373229/42ecd3ea-5999-462e-8630-7904a1a3075f)
- Add pets
- Add pets (45+ pets and characters available to choose from)
- Add your own custom pet
- Remove pets
- Pixel perfect drag pets on your screen
Expand Down
698 changes: 433 additions & 265 deletions package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "WindowPet",
"private": true,
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -12,22 +12,22 @@
"tauri": "tauri"
},
"dependencies": {
"@mantine/core": "^7.2.1",
"@mantine/modals": "^7.2.1",
"@mantine/notifications": "^7.2.1",
"@tabler/icons-react": "^2.40.0",
"@mantine/core": "^7.2.2",
"@mantine/modals": "^7.2.2",
"@mantine/notifications": "^7.2.2",
"@tabler/icons-react": "^2.41.0",
"@tauri-apps/api": "^1.5.1",
"clsx": "^2.0.0",
"i18next": "^23.6.0",
"i18next": "^23.7.6",
"jsdom": "^22.1.0",
"phaser": "^3.60.0",
"phaser": "^3.70.0",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.3.1",
"react-intersection-observer": "^9.5.2",
"react-i18next": "^13.5.0",
"react-intersection-observer": "^9.5.3",
"react-query": "^3.39.3",
"react-router-dom": "^6.18.0",
"react-router-dom": "^6.19.0",
"tauri-plugin-autostart-api": "github:tauri-apps/tauri-plugin-autostart#v1",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"tauri-plugin-store-api": "github:tauri-apps/tauri-plugin-store#v1",
Expand All @@ -36,15 +36,15 @@
},
"devDependencies": {
"@tauri-apps/cli": "1.5.6",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.10",
"@types/react": "^18.2.36",
"@types/react-dom": "^18.2.14",
"@vitejs/plugin-react": "^4.1.1",
"postcss-preset-mantine": "^1.9.1",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.9.1",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@vitejs/plugin-react": "^4.2.0",
"postcss-preset-mantine": "^1.11.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vite": "^5.0.0",
"vitest": "^0.34.6",
"vitest-canvas-mock": "^0.3.3"
}
Expand Down
Binary file added public/media/68.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Albedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Blooky Shimeji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Childe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Chongyun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Dearla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Electro Childe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Gengar Shimeji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Growlithe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Hu Tao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Jotaro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Kamado Nezuko.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Kazuha-xll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Kazuha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Kizuna AI-ver1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Klee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Lumine-xll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Marisa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Nahida.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Punishing Bird.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Puro the Latex Wolf Shimeji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Pusheen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Rosaria-xll.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Spongebob.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/Starphin Shimeji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/media/The Chosen One.png
Binary file added public/media/The King.png
Binary file added public/media/Thoma.png
Binary file added public/media/Venti-ys.png
Binary file added public/media/XiaoCat.png
Binary file added public/media/Xingqiu-xll.png
Binary file added public/media/Yoimiya-ys.png
Binary file added public/media/Yuan Ji.png
Binary file added public/media/Zhongli-1.png
Binary file added public/media/Zhongli-ys.png
Binary file added public/media/Zuo Ci.png
Binary file added public/media/kuro.png
3 changes: 3 additions & 0 deletions public/media/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# All of these images are from the public domain.

I do not own any of these images. They are all from the public domain. If you are the owner of any of these images and would like them removed, please contact me or open a pull request to remove the image and I will remove them immediately.
Binary file added public/media/sanji.png
Binary file added public/media/shimeji_Caneko.png
Binary file added public/media/shimeji_Germouser.png
Binary file added public/media/shimeji_Turkat.png
Binary file added public/media/shimeji_nekojapan.png
Binary file added public/media/shimeji_skoreacat.png
Binary file added public/media/slugcat.png
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "window_pet"
version = "0.0.4"
version = "0.0.5"
description = "Window Pet"
authors = ["SeakMengs"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "WindowPet",
"version": "0.0.4"
"version": "0.0.5"
},
"tauri": {
"allowlist": {
Expand Down
2 changes: 1 addition & 1 deletion src/PhaserWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Phaser from "phaser";
import Pets from "./scenes/Pets";
import { useSettingStore } from "./hooks/useSettingStore";
import { appWindow } from "@tauri-apps/api/window";
import defaultPetConfig from "./config/pet_config.json";
import defaultPetConfig from "./config/pet_config";


function PhaserWrapper() {
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/components/component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { cleanup, render, screen } from "@testing-library/react";
import PetCard from "../../ui/components/PetCard";
import { ISpriteConfig } from "../../types/ISpriteConfig";
import { PetCardType } from "../../types/components/type";
import defaultPet from "../../config/pet_config.json";
import defaultPet from "../../config/pet_config";
import { afterEach } from "node:test";
import SettingWindow from "../../SettingWindow";

Expand Down
43 changes: 43 additions & 0 deletions src/config/68.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "68",
"imageSrc": "media/68.png",
"frameSize": 128,
"states": {
"stand": {
"spriteLine": 1,
"frameMax": 1
},
"walk": {
"spriteLine": 2,
"frameMax": 3
},
"sit": {
"spriteLine": 3,
"frameMax": 1
},
"greet": {
"spriteLine": 4,
"frameMax": 1
},
"crawl": {
"spriteLine": 8,
"frameMax": 8
},
"climb": {
"spriteLine": 9,
"frameMax": 8
},
"jump": {
"spriteLine": 5,
"frameMax": 1
},
"fall": {
"spriteLine": 6,
"frameMax": 4
},
"drag": {
"spriteLine": 7,
"frameMax": 1
}
}
}
46 changes: 46 additions & 0 deletions src/config/Blooky Shimeji.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "Blooky Shimeji",
"imageSrc": "media/Blooky Shimeji.png",
"frameSize": 128,
"credit": {
"link": "https://undertaleshimejis.tumblr.com/post/140301252826/thank-you-for-6000-followers-here-i-present?is_related_post=1"
},
"states": {
"stand": {
"spriteLine": 1,
"frameMax": 1
},
"walk": {
"spriteLine": 2,
"frameMax": 4
},
"sit": {
"spriteLine": 3,
"frameMax": 8
},
"greet": {
"spriteLine": 4,
"frameMax": 4
},
"crawl": {
"spriteLine": 8,
"frameMax": 8
},
"climb": {
"spriteLine": 9,
"frameMax": 8
},
"jump": {
"spriteLine": 5,
"frameMax": 1
},
"fall": {
"spriteLine": 6,
"frameMax": 3
},
"drag": {
"spriteLine": 7,
"frameMax": 1
}
}
}
43 changes: 43 additions & 0 deletions src/config/Childe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "Childe",
"imageSrc": "media/Childe.png",
"frameSize": 128,
"states": {
"stand": {
"spriteLine": 1,
"frameMax": 1
},
"walk": {
"spriteLine": 2,
"frameMax": 4
},
"sit": {
"spriteLine": 3,
"frameMax": 1
},
"greet": {
"spriteLine": 4,
"frameMax": 4
},
"crawl": {
"spriteLine": 8,
"frameMax": 8
},
"climb": {
"spriteLine": 9,
"frameMax": 8
},
"jump": {
"spriteLine": 5,
"frameMax": 1
},
"fall": {
"spriteLine": 6,
"frameMax": 3
},
"drag": {
"spriteLine": 7,
"frameMax": 1
}
}
}
46 changes: 46 additions & 0 deletions src/config/Chongyun.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "Chongyun",
"imageSrc": "media/Chongyun.png",
"frameSize": 128,
"credit": {
"socialMedia": "@uuteki_art on twitter"
},
"states": {
"stand": {
"spriteLine": 1,
"frameMax": 1
},
"walk": {
"spriteLine": 2,
"frameMax": 4
},
"sit": {
"spriteLine": 3,
"frameMax": 1
},
"greet": {
"spriteLine": 4,
"frameMax": 4
},
"crawl": {
"spriteLine": 8,
"frameMax": 8
},
"climb": {
"spriteLine": 9,
"frameMax": 8
},
"jump": {
"spriteLine": 5,
"frameMax": 1
},
"fall": {
"spriteLine": 6,
"frameMax": 3
},
"drag": {
"spriteLine": 7,
"frameMax": 1
}
}
}
46 changes: 46 additions & 0 deletions src/config/Electro Childe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "Electro Childe",
"imageSrc": "media/Electro Childe.png",
"frameSize": 128,
"credit": {
"resource": "https://drive.google.com/drive/folders/1sWs0nQlMJxkIh01qqvCbQF0AF1esdaZQ"
},
"states": {
"stand": {
"spriteLine": 1,
"frameMax": 1
},
"walk": {
"spriteLine": 2,
"frameMax": 4
},
"sit": {
"spriteLine": 3,
"frameMax": 1
},
"greet": {
"spriteLine": 4,
"frameMax": 4
},
"crawl": {
"spriteLine": 8,
"frameMax": 8
},
"climb": {
"spriteLine": 9,
"frameMax": 8
},
"jump": {
"spriteLine": 5,
"frameMax": 1
},
"fall": {
"spriteLine": 6,
"frameMax": 3
},
"drag": {
"spriteLine": 7,
"frameMax": 1
}
}
}
Loading

0 comments on commit d80044a

Please sign in to comment.