Phaser in 3D with Physics (yes, it works, using enable3d!)

Hi, is this the recommended template we should use with Phaser 3?

Yes, this is a great template to get started.

@yannick I just want to say that your work is amazing! My idea is that you should not make it an independent framework, but, if it is possible, to keep it as a Phaser extension. This way, I believe you will attract more users. Just my two cents.

Again, great job!

Glad you like it. I will continue developing all packages. They depend on each other and are easy to maintain.

btw, I’m still [looking for sponsors :money_with_wings:]

Version 21 is now available with lots of fixes and improvements!

Take a look at the new examples.

And btw, Happy New Year :tada:

You can now join the discussions on github. :tada::tada:

Just found a awesome enable3d video (without Phaser though)

How nice when someone else shows how great your framework is :smile:
He really shows how powerful it is, perfect for rapid prototyping.

Oh my - this is truly remarkable!
I had a play with this over the weekend and knocked together a little game, that has no real point or anything other than just to demonstrate to me the kind of thing this can do and I must say that I am very, very impressed. I used the ā€œcustom setupā€ example file as the basis for this.
I’ve uploaded it to a free webhost, just to see it run off of a localhost and it is at:

http://emphyrio.freecluster.eu/voyage.html
All of the code is embedded in the webpage, if anyone is interested, as are the src’s of the scripts it calls - so it is all visible to copy and do with what ever you will.

Controls are w a d or cursor keys to move, space to shift camera angles, z to skip level.

Code is shonky and a work in progress - but hopefully the point of each part is commented usefully.
The code is also vastly longer than it should be - it uses a seeded random ā€œdungeonā€ generator script to create what is presented, but I also found a nice maze generator script which is attached in the code after the update function - this absolutely works as well, but just isn’t ever called above it (set the levelType variable to maze to call it).
Re the above - if you get to the exit in the last level then you will fall eternally to your death - said it was shonky! I just wanted to get something out there quickly to show how cool this is and how easy it is to:

  1. code
  2. drop in bits of native THREE.js code
  3. drop in and use other arbitrary js classes

So - just to say thanks Yannick - enable3d is amazing!

Looks Awesome! Glad you like it :relaxed:

Make sure you also check out my latest project. I’m sure you :heart: it as well:
Five Server

I have a condition where I have 3 scenes: Preload, Menu, Gameplay.

Then i want trigger Scene Start to Gameplay from <button> or <a href> .

In phaser itself usualy i use like :

var game; 
game = new Phaser.Game(gameConfig); 
function restartGame() { game.scene.start("Gameplay"); }

But with enable3d have different method to init phaser like :

enable3d(() => new Phaser.Game(config)).withPhysics('/lib/ammo/kripken')

Thanks for help.

Hi there …I am building a game using enable3d phaser extension and I am having issues implementing unreal bloom or nothing happens. I don’t what I am doing wrong