phaserjs / phaser-ce

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
http://phaser.io
MIT License
1.34k stars 491 forks source link

Why was createStaticLayer deprecated? #688

Closed ochanje210 closed 3 years ago

ochanje210 commented 3 years ago

This Issue is not about a bug but just a question:

Hello! :) I would like to know why createStaticLayer was deprecated.

Screen Shot 2021-03-22 at 4 26 57 PM
photonstorm commented 3 years ago

This is the Phaser CE repo, this question is about Phaser 3. And the answer is that it's no longer required. createLayer does everything createStaticLayer could do, and more.