#sandbox
#colony-construction
#indirect-control
#pixel-art
#browser-game
Svelte
- CYBERNETICALLY ENHANCED WEB APPSPhaser 3
- Phaser 3 is the next generation of the Phaser Game Framework. Every last element has been rebuilt from scratch using a fully modular structure, combined with a data-orientated approach. It includes a brand-new custom WebGL renderer designed specifically for the needs of modern 2D games.svelte-phaser
- Create Phaser games with Sveltetauri
- Tauri is a toolkit that helps developers make applications for the major desktop platforms - using virtually any frontend framework. The core of Tauri is built with Rust, and the CLI leverages Node.js.You can also see React version
Far away on a distant planet inhabited by primitive life forms a small colony of robots accidentally trapped must build, develop and fight only to exist... How far can they go? 🕹 🎲 🌌 🎰 ⭐ ⭐ ⭐
If you're seeing this, you've probably already done this step. Congrats!
npm create @svelte-add/kit@latest proto-mass-svelte-phaser-tauri -- --with typescript+prettier
npx svelte-add@latest scss
yarn add phaser svelte-phaser uifx uuid svelte-simple-modal @tauri-apps/api
yarn add -D @sveltejs/adapter-static @tsconfig/svelte @types/uuid @types/node @tauri-apps/cli prettier-plugin-svelte
yarn tauri init
Everything you need to build a Svelte project, powered by create-svelte
.
Once you've created a project and installed dependencies with yarn
, start a development server:
yarn dev
# or start the server and open the app in a new browser tab
yarn dev -- --open
# or as tauri project
yarn tauri dev
To create a production version of your app:
yarn tauri build
You can preview the production build with yarn preview
.
MIT