Phaser 3 angular combining

I am relatively new to both phaser and angular i am able to make the game run in a normal browser but i am not able put it into an component and make it run.If i put the code into the index.html file in angular it is running but i am not able to move it into a component.

Thanks for your answers

Maybe you could post some code with what you’ve tried? I’m gonna take a stab in the dark that you’ll probably end up doing something like this perhaps - https://www.phaser.io/examples/v3/view/game-config/custom-canvas it’s been a minute since I’ve messed with angular so I can’t give more specific advice but I probably could if I was looking at some code.

1 Like

Thanks for the reply but i solved the issue after doing some digging around the net😀

1 Like