Tidepool
Tidepool
Tidepool is a game engine built with Pixi and Typescript
Usage
- use the template button above to clone this repo into your own repo or clone the repo locally
- install dependencies:
npm install - run development server:
npm run dev - build for production:
npm run build
Structure
src/engine/- Core engine files
src/game/game.ts- Main game initialization codecomponents/- Individual game components like player, enemy, etc.
index.html- Entry point that loads the game via Vite
- Also where I like to write my HUD and menus
Distribution
Tidepool is set up to publish to itch using butler.
- first go to itch and upload a new project
- name your project and get the projects id from the Project URL field
- for example
https://zafuzi.itch.io/tidepool, in this case we just wanttidepool - set the kind of project to
HTML - make sure to click
save and view pageat the bottom to make your project visible to butler- you can set the project to
draftto keep others from viewing your project.
- you can set the project to
- for example
- Edit
deploy.shand change username to your itch username and game_name to your games unique id from above - run
npm run deploywhich will build the project and upload to butler- or manually:
npm run buildthen./deploy.sh -p - optionally use
./deploy.sh -c -pthe-cwill clean your localdistfolder before generating the new package
- or manually:
| Updated | 1 day ago |
| Status | In development |
| Category | Tool |
| Platforms | HTML5 |
| Author | zafuzi |
| Made with | PixiJS |
| Tags | 2D, butler, game-dev, Game engine |
| Code license | MIT License |
| Asset license | Creative Commons Attribution v4.0 International |
| Links | GitHub |
