0.1.0-beta.2 • Published 5 years ago
svelte-phaser v0.1.0-beta.2
Documentation
Check out the documentation
Getting Started
Creating a new project
npx degit mattjennings/svelte-phaser/templates/svite my-first-game
cd my-first-game
npm install
npm run dev
# or if you prefer typescript:
npx degit mattjennings/svelte-phaser/templates/svite-typescript my-first-game
cd my-first-game
npm install
npm run devThere are some other templates available as well
If a blank project is too boring, feel free to look through the examples.
Adding to an existing project
If you have an existing svelte project you can just install svelte-phaser:
npm install phaser svelte-phaserand then import it:
<script>
import { Game, Scene, Text } from 'svelte-phaser'
</script>
<Game width={400} height={400}>
<Scene key="main">
<Text x={140} y={180} text="hello world" />
</Scene>
</Game>0.1.0-beta.2
5 years ago
0.1.0-beta.1
5 years ago
0.1.0-beta.0
5 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.3-alpha.1
6 years ago
0.0.2
6 years ago
0.0.3-alpha.0
6 years ago
0.0.1-rc.0
6 years ago
0.0.1-alpha.10
6 years ago
0.0.1-alpha.8
6 years ago
0.0.1-alpha.9
6 years ago
0.0.1
6 years ago
0.0.1-alpha.6
6 years ago
0.0.1-alpha.7
6 years ago
0.0.1-alpha.5
6 years ago
0.0.1-alpha.4
6 years ago
0.0.1-alpha.3
6 years ago
0.0.1-alpha.2
6 years ago
0.0.1-alpha.1
6 years ago
0.0.1-alpha.0
6 years ago
0.0.0
6 years ago