Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
1 answer
165 views

I'm currently working on my bachelor's project, I downloaded the Stardew Valley Title font to use it in my Web Game but I'm having problems getting that wooden texture. Here is how my title related ...
ALIMEROUANE BERRABAH's user avatar
1 vote
0 answers
67 views

enter image description here I’m working on a Phaser 3 game that uses a hexagonal (staggered) map created in Tiled. However, when I load the map into Phaser, the tile layout appears offset where some ...
Kam's user avatar
  • 11
0 votes
0 answers
51 views

I'm working on a Phaser 3 project where I want the camera to follow a physics-enabled sprite (an orc). I've set world bounds and camera bounds and used startFollow, but the camera doesn't seem to ...
Connor's user avatar
  • 49
2 votes
2 answers
146 views

I'm trying to make slightly fancier text objects where part of the text in a Phaser text object is coloured. Googling around there seemed to be an addColor function to achieve this (shown off here, ...
Mara's user avatar
  • 165
0 votes
1 answer
85 views

I use the right arrow key for my character’s movement. The problem is, when I press another key at the same time, the movement stops. Is there a way to keep the character moving even when other keys ...
Newboy11's user avatar
  • 3,182
0 votes
1 answer
110 views

Environment Bootstrap version: 5.3.3 Browser: Chrome (latest) Framework: Vue.js 3 with Phaser 3.87.0 Problem Description I'm developing a game using Phaser 3 within a Vue.js application that uses ...
ivo's user avatar
  • 39
2 votes
1 answer
52 views

I am writing a game of Solitaire in Phaser 3 and want to run a function inside of this.input.on('dragstart', .... I can drag a single card inside of dragstart, but I need a function to work out which ...
summer9844's user avatar
1 vote
1 answer
138 views

I am setting the FPS in my Phaser game like this: const config = { type: window.Phaser.AUTO, width: window.innerWidth, height: window.innerHeight, scene: GameScene, physics: { default: &...
JobHunter69's user avatar
  • 2,376
1 vote
1 answer
46 views

I'm currently learning Phaser and decided to use this Vite template (https://github.com/phaserjs/template-vite). These are the changes I've made: Boot.js: import { Scene } from 'phaser'; export ...
David Pham's user avatar
1 vote
1 answer
80 views

I'm trying to mathematically create some shape graphics in Phaser.js, and to attach matching Matter.js physics bodies to them. I'm finding that the coordinate systems used for these two things don't ...
Pathogen's user avatar
  • 1,047
0 votes
1 answer
63 views

I need to make my dom elements stay in it's place when the camera scroll in phaser. I tried setting setScrollFactor(0) but doesn't work. Is there other solution aside from updating dom elements ...
Newboy11's user avatar
  • 3,182
1 vote
1 answer
87 views

I run into an issue with generated bodies in matter.js. if i generate a body from svg via: Matter.Svg.pathToVertices(svgPath, 1) It can happen that the generated Body consists of more shapes like ...
NeoGER89's user avatar
  • 530
0 votes
1 answer
41 views

I want to combine text and an image in Phaser 3 and place them inside a container. What is the most efficient way to achieve this? Ideally, the layout should adapt to the container’s width. Is there a ...
Newboy11's user avatar
  • 3,182
3 votes
2 answers
182 views

I'm loading a svg as xml in the preload function: this.load.xml("xml-pipe-bottom", "assets/svg/shape_pipe_b.svg"); and create a body and the svg as sprite: const shapeBody = this....
NeoGER89's user avatar
  • 530
0 votes
2 answers
112 views

I'm creating a function for full screen via pressing f11 or from icon. What is the efficient way to detect if the fullscreenchange event came from pressing f11 below is my code going full screen by ...
Newboy11's user avatar
  • 3,182

15 30 50 per page
1
2 3 4 5
149