lean / phaser-es6-webpack

A bootstrap project for create games with Phaser + ES6 + Webpack.
MIT License
1.28k stars 314 forks source link

Phaser 3 #52

Open lean opened 7 years ago

lean commented 7 years ago

I have create the branch 'phaser3' to start with the implementation of the new release of the library. Does anyone have any ideas or suggestions to implement? Any functionality to add or remove?

There are some ideas:

RenaudRohlinger commented 7 years ago
Raagh commented 6 years ago

it would be nice if you could add support for electron. that way you d have mobile desktop and web on the same template :)

rafaeldelboni commented 6 years ago

What you think about add something like https://github.com/mixtur/webpack-spritesmith, then we could easily merge all the image assets into a atlas on the build (and in dev runtime). I'm playing with this idea in a old fork of your repo, if you want to check it out: https://github.com/RafaelDelboni/phaser-dungeon

thisredone commented 6 years ago

Maybe it's possible to add Webpack's Hot Module Replacement ( https://webpack.js.org/concepts/hot-module-replacement/ )

oronbz commented 6 years ago

Hi, I think we need to separate the upgrade to phaser 3 from the other enhancements, that way we could consume it in smaller chunks.

I'll try to upgrade it to phaser 3 and make a pull request for it. Are you still up to merge it? @lean

EDIT: After looking through the phaser3 branch, I've seen it's mostly complete regarding upgrading to phaser3, is there anything missing that prevents you from merging to master?

lean commented 6 years ago

Don't worry about the merge, I will do manually because I was planning to move the v2 to another repo. So let me check your work and I will integrate it with what I have been doing

rafaeldelboni commented 6 years ago

I've made something very similar some time ago, maybe it helps as source of inspiration: https://github.com/rafaeldelboni/phaser3-es6-webpack4

oronbz commented 6 years ago

@lean I'm not worried. I just don't want to repeat / duplicate work that already has been done. Is there anything else needed to be done on top of your phaser3 branch in order to support Phaser 3.0?

lean commented 6 years ago

@oronbz cool, let me update some things. I will tell you when I'm ready

lean commented 6 years ago

@rafaeldelboni thanks for share your project. I'm looking at it right now

lean commented 6 years ago

@oronbz I just updated https://github.com/lean/phaser-es6-webpack/tree/phaser3 Now is running with webpack 4 and babel 7

oronbz commented 6 years ago

@lean that's awesome, Is there any reason you haven't included cordova too?

lean commented 6 years ago

I haven't include for lack of time. I even think it's still incomplete. We need to add:

jay-jlm commented 6 years ago

For newcomers like me it would be useful to update the ReadME with some information about the v3 branch and any steps needed to use it (if any). Some ppl will just assume there's no v3 support yet.