the skya-project game website's frontend-part repository now is PUBLIC !
-
./src
- routes (pages router)
- styles (styles for components)
- shared (shared styles)
- main.tsx (entry)
-
./components
- shared (reuseable components)
-
./hooks (Custom react hooks)
-
./tests (Custom vitest test sections)
-
./public
- fonts (opensource fonts with license files)
- imgs (svg or png)
- locates (translation files, !symbolic! zh -> zh_CN as default)
- models (gltf models for threejs)
- sfx (sound effects)
-
./functions (cloudflare pages functions)
-
./worker (cloudflare workers)
-
Build & Run Preview:
Make sure you have installed node(v18.0.0 or above) and its package manager. Clone and
cd
to the repository root, runnpm i && npm run build
. When it built successfully, runnpm run preview
, and then open a browser to accesslocalhost:4173
. -
Run Dev:
After
npm i && npm run dev
, and then open a browser to accesslocalhost:5173
.
-
the whole website frontend part was built by vite, based on vite template "react-swc-ts".
-
do not use deno (another node package solution) because there's a issue of using SWC instead of babel.
-
The website codes(including html files, style files, components files, translation files) don't have License. And because of that, no modify-and-republish or copy-and-republish without author's permission, and also not in commercial use. You can clone this repository and run locally, create a issue or a discussion of this website repository.
-
Some elements or sprites were licensed under CC BY-NC 4.0. It's not allowed to use some elements(including the game logo, character avatars, character voice files, character 3d models, etc.) in COMMERCIAL USE with the copyright. But you can share and adapt/modify as fan-made stuff or in other non-commercial activities.