Skip to content

Repository files navigation

Examples and minigames for PixiJS and Colfio

Preview

Live demo

Docs

How to run this project

  • powered by ParcelJS, TypeScript, PixiJS 8, and colfio from npm (colfio@^0.4.0 — not linked to a sibling checkout)
  • install NodeJS (Node >= 18)
  • enable pnpm (this package uses pnpm, not npm): corepack enable or npm i -g pnpm
  • in this folder, run pnpm install
  • run pnpm run generate-views to generate HTML files from examples-info.json
  • run pnpm run dev and open http://localhost:1234/ (do not open view/*.html via Live Server or file:// — bare imports like pixi.js only resolve through Parcel)

Do not mix npm install with an existing pnpm node_modules — if install fails after switching package managers, delete node_modules (and any package-lock.json) then run pnpm install again.

Versioning

  • examples package: 7.1.0
  • depends on colfio 0.4.0 (colfio@^0.4.0 on npm)

Deployment

  • run pnpm run build and find your project in the build folder

About

Lots of examples from APHGames gaming courses

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages