Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
58 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
2 votes
2 answers
134 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
105 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
1 vote
1 answer
119 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
69 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
1 vote
1 answer
84 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
3 votes
2 answers
168 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
0 answers
26 views

I'm wondering why I can exit full screen when I have a flag that should prevent the user from pressing F11 twice. Please don't tell me to use once I just need to know the reason. Fyi this is just an ...
Newboy11's user avatar
  • 3,182
1 vote
2 answers
77 views

On a default Phaser project, I have a sprite positioned at 100, 100. I want to get its coordinates when zoomed in to place an absolute div on top of it in HTML. On zoom 1 this works: const ...
L123's user avatar
  • 51
1 vote
1 answer
53 views

I’m following a walkthrough on creating a Multiplayer Card Game using Phaser 3 and Socket.io Linked here: https://www.youtube.com/watch?v=6KaGqh1spfs&list=PLCbP9KGntfcEDAiseVwYVbrmJdoYajNtw&...
Arthur Parkinson's user avatar
1 vote
1 answer
53 views

In a specific section of my code, the animation for a sprite stops at frame 1 when I run this.sprite.anims.play("key", true). I have ran animations in other sections of my code and they have ...
Sereen Taleb's user avatar
0 votes
1 answer
73 views

i´m starting with phaser arcade physics. the assigned categories won´t work - i have to add a collider manually. the bricks should also collide with each other: for (let i = 0; i < 3; i++) { ...
NeoGER89's user avatar
  • 530
-1 votes
1 answer
46 views

Has anyone tried to display LaTeX-style expression in phaser 3? I need to display this latex-style expression
Newboy11's user avatar
  • 3,182
1 vote
1 answer
108 views

I'm developing a game for cats with phaser 3.The game consists of a mouse that keeps moving in the screen and every time the cat touches it, it dies and then he comes from another direction and faster....
Guilherme Alves's user avatar
2 votes
1 answer
122 views

So, I am trying to make a tetris game. I have created a tetriminoe using a group of tiles that is helped by a container. The container rotates fine, but I am trying to rotate this container by its ...
Sereen Taleb's user avatar
0 votes
0 answers
41 views

After sending data from my php to my js with DrupalSettings, I can use this data only in the function (function ($, Drupal) { var myData = null; Drupal.behaviors.customJs = { attach: ...
JoKa's user avatar
  • 15
0 votes
1 answer
38 views

I have a phaserJS static body; for some reason, the texture shifts over by a few pixels when I run into it. I have to run for a bit before hitting it or it won't do it but it isn't enjoyable and I don'...
Coco's user avatar
  • 53
2 votes
1 answer
52 views

I want to disable bounced in my io game. Main idea to set object (player) velocity and player must move until io socket command stop movement. sample this.objects[id].setVelocityX (-speed); to prevent ...
Alex Green's user avatar
1 vote
1 answer
109 views

I am trying to make a pac_man game with Phaser 3. I have implemented the pac_man movement, however, I really need help with the ghost AI. The ghost is moving by its self, however, it is not passing ...
Sereen Taleb's user avatar
1 vote
2 answers
76 views

I’m encountering an issue with a custom dropdown in my Phaser 3 game. The dropdown works perfectly on iOS and web, but on Android (APK), the screen turns black when I attempt to display the dropdown ...
Sahana Dattatreya Hegde's user avatar
0 votes
2 answers
165 views

phaser 3: Uncaught TypeError: this.game.scene.launch is not a function unable to launch I have implemented a scene manager, and I'm having trouble. Please help. I really want to be able to use this ...
Tyler's user avatar
  • 11
0 votes
1 answer
48 views

I am currently fiddling with Phaser3 with Ionic Capacitor to make a mobile app. I'm not sure if this is a bug on Phaser3 or on Ionic, but for some reason the readonly values in the Scene (inside the ...
Gui Imamura's user avatar
2 votes
1 answer
98 views

I'm having trouble with a shader in my Phaser game. I've applied the shader as a post pipeline, hoping it would cover the whole screen with a water effect. But when I move my character around, the ...
Javier Villanueva's user avatar
1 vote
1 answer
60 views

I have created a dynamic group in phaser 3 using let group = this.physics.add.group(). However, I have tried group.x,group.x to try and get the x and y coordinate of the group, but the result seems to ...
Sereen Taleb's user avatar
1 vote
1 answer
41 views

I have a moving platform and box on top of it. No matter how fast the platform is moving, the box doesnt move sideways along with the platform and eventually falls down if the platform slipped away. I ...
NeoGER89's user avatar
  • 530

1
2 3 4 5
45