An example project loosely recreating TMT's Demo
thepaperpilot
ff14443102
Renderables no longer get wrapped in computed refs, because JSX.Elements don't like that (desyncs with the DOM) Relatedly, a lot of display functions got fairly simplified, removing unnecessary local components Added `MaybeGetter` utility type for something that may be a getter function or a static value (but not a ref) Made Achievement.vue use a Renderable for the display. The object of components can still be passed to `createAchievement` Made Challenge.vue use a Renderable for the display. The object of components can still be passed to `createChallenge` Fixed some issues introduced by the rewrite that broke particles systems |
||
---|---|---|
.forgejo/workflows | ||
.github/workflows | ||
.vscode | ||
public | ||
saves | ||
src | ||
tests | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierrc.json | ||
.replit | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
index.html | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
replit.nix | ||
tsconfig.json | ||
vite.config.ts | ||
vitest.config.ts |
Profectus
A game engine that grows with you
Project setup
npm install
Hosts dev server and hot-reloads modules as they're changed
npm start
Compiles and minifies for production
npm run build
Hosts the production build
npm run preview
Runs the tests using vite-jest
npm run test