Skip to main content

Questions tagged [phaser]

Phaser is a JavaScript framework for game development on desktop and mobile platforms.

1 vote
2 answers
166 views

I have a top-down character object that is a Container of various parts. This character can have elements that should move along with it (think a health bar, a speech bubble) that should NOT rotate ...
Mara's user avatar
  • 121
1 vote
0 answers
39 views

I'm trying to figure out if it's possible to blend a (noise)texture with an image by creating a shader, and then apply the shader as a postFX to an image (or sprite). (see attached image) ...
John's user avatar
  • 294
1 vote
2 answers
220 views

I am building a real time a multiplayer web game using client authoritative server architecture, phaser, node, aws, etc. For an example, if I have a player that walks right and picks up food, I need ...
JobHunter69's user avatar
0 votes
1 answer
147 views

How can apply a shader to a graphics object, and not the whole canvas? I have a wave shader example here https://phaser.io/sandbox/6SsT2zfC, and I want the wave to be unaffected by the camera's ...
John's user avatar
  • 294
0 votes
1 answer
75 views

I'm working on expanding on the tutorial found here I currently am creating two classes based off of menu ...
Legen Diary's user avatar
1 vote
1 answer
160 views

I'm trying to recreate the following shader from shadertoy using Phaser 3: https://www.shadertoy.com/view/wdG3Rz I managed to fix the errors I was getting but it just loads an empty black square when ...
Javier Villanueva's user avatar
1 vote
1 answer
195 views

In Phaser, is it possible to fill the remaining part of the Browser window with the game's (clipped) content, and still keep the aspect ratio of the game intact? For example, I have a game which is ...
John's user avatar
  • 294
1 vote
0 answers
90 views

I am creating simple 100x100 tilemap using Tiled and Phaser, nothing more, but when I move the camero around, the "map ...
Michał Wojas's user avatar
1 vote
1 answer
452 views

I'm trying to let the player of my PhaserJS game (with MatterJS physics) move a (static?) object around. That is: the player is allowed to move the object, but otherwise it should be ...
Jeroen's user avatar
  • 695
1 vote
1 answer
62 views

I am building a multiplayer snake game and I turned on debug mode to see more details of what was happening. After a collision with an apple, the collision bounding box seems to remain and multiple ...
qbush's user avatar
  • 135
1 vote
1 answer
762 views

I am making a simple game in Phaser (but the library doesn't really matter). I have an enemy that is moving towards the player on a 2 dimensional grid. I have written some code that makes the enemy ...
yesman's user avatar
  • 113
0 votes
1 answer
269 views

I am developing a small game with Phaser 3. I want to make a container with several buttons, representing a pop-up dialog. The container needs to pop up on completing a task. When container pops up, I ...
bhagya's user avatar
  • 11
0 votes
2 answers
1k views

I am working on my first 2D game with Phaser 3. I have set up VS Code with a node.js https server and run it to deploy the game on localhost. While the game gets compiled successfully and deployed, I ...
bhagya's user avatar
  • 11
-2 votes
2 answers
225 views

I am following the tutorial for Phaser 3 game development and came across the following line of code. player.anims.play('Left', true); I am curious about the ...
bhagya's user avatar
  • 11
0 votes
1 answer
184 views

I am looking for an equation for predicting the future position of a moving arcade physics body in Phaser 3. The body has drag applied and isDamping set to true. Phaser applies the drag using the ...
Calabi's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
10