[READ-ONLY] Mirror of https://github.com/flo-bit/shadow-shmup. Fun and casual top-down, roguelike shoot 'em up browsergame with shadow elements and colorful neon effects flo-bit.dev/shadow-shmup/
browsergame pixijs rapier2d roguelike shoot-em-up typescript webgame
0

Configure Feed

Select the types of activity you want to include in your feed.

deploy?

Florian (Jul 23, 2024, 8:51 PM +0200) daf967f5 9ed2cbbb

+52 -1
+51
.github/workflows/deploy.yml
··· 1 + name: Deploy to GitHub Pages 2 + 3 + on: 4 + push: 5 + branches: 6 + - gh-deploy 7 + 8 + jobs: 9 + build_site: 10 + runs-on: ubuntu-latest 11 + steps: 12 + - name: Checkout 13 + uses: actions/checkout@v3 14 + 15 + - name: Install Node.js 16 + uses: actions/setup-node@v3 17 + with: 18 + node-version: 18 19 + cache: npm 20 + 21 + - name: Install dependencies 22 + run: npm ci 23 + 24 + - name: build 25 + env: 26 + BASE_PATH: '/${{ github.event.repository.name }}' 27 + run: | 28 + npm run build 29 + 30 + - name: Upload Artifacts 31 + uses: actions/upload-pages-artifact@v2 32 + with: 33 + # this should match the `pages` option in your adapter-static options 34 + path: 'dist/' 35 + 36 + deploy: 37 + needs: build_site 38 + runs-on: ubuntu-latest 39 + 40 + permissions: 41 + pages: write 42 + id-token: write 43 + 44 + environment: 45 + name: github-pages 46 + url: ${{ steps.deployment.outputs.page_url }} 47 + 48 + steps: 49 + - name: Deploy 50 + id: deployment 51 + uses: actions/deploy-pages@v2
+1 -1
src/player.ts
··· 81 81 } 82 82 83 83 async createLight() { 84 - const texture = await PIXI.Assets.load('/light.png'); 84 + const texture = await PIXI.Assets.load('/shadow-shmup/light.png'); 85 85 this.light = PIXI.Sprite.from(texture); 86 86 this.light.tint = 0xfda4af; 87 87 this.light.anchor.set(0.5);