python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Odd behaviour in gravity from different directions matter js phaser 3
I'm making a platformer game, in which I have a powerup that lets you fly. On collision, I removed the powerup using powerup.gameObject.destroy() and disabled gravity using player.setIgnoreGravity(tru...
Prateek p
Votes: 0
Answers: 1
How to delete matter js object on collision dynamically phaser js
I'm making a platformer game in which there is player and some powerups. To check the collision I used matterjs collisionactive function:
this.matter.world.on("collisionactive", (e, o1, o2) ...
Prateek p
Votes: 0
Answers: 1
How to make sprite not collide with another sprite but only with player. Phaser 3 and matter js
Big story short: I'm using matter js with phaser3 and I have a player, platform, saw and tree. Like in a regular platformer, the saw should be halfway between the ground and the air/space.
The proble...
Prateek p
Votes: 0
Answers: 1
Matter.js no collision after you change Engine.world to other world
So I`m making a game and decided to make switchable game scenes.
I have one instance on Matter.Engine where I switch world param when to world parameter of current scene.
So in class "App" i...
PING_LORD
Votes: 0
Answers: 1