content icon indicating copy to clipboard operation
content copied to clipboard

Update Phaser in "2D breakout game using Phaser"

Open igrep opened this issue 1 year ago • 12 comments
trafficstars

MDN URL

https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_breakout_game_Phaser

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

As referred in the first one of the tutorials, it uses older version of Phaser (v2). The last release of Phaser v2.x is 2.6.1, at more than 8 years ago. It's not always bad to use the outdated version, but makes the readers (and me as a translator) less motivated.

What did you expect to see?

Introduction of the latest (v3.80.1 as of writing this issue) version of Phaser.

Do you have any supporting links, references, or citations?

You can see the latest version of Phaser available at https://github.com/phaserjs/phaser/releases/latest or https://phaser.io/download/stable.

Do you have anything more you want to share?

No response

igrep avatar Aug 24 '24 06:08 igrep

I'm trying to update the example code in https://github.com/igrep/2D_Breakout_game_Phaser.

igrep avatar Aug 24 '24 06:08 igrep

If you could update the whole guide so it works Phaser v3, please for sure do; the reason is just because no one is maintaining it.

Josh-Cena avatar Aug 24 '24 14:08 Josh-Cena

Progress report:

In today's monthly Japanese Translation Community Meetup, I ported the lesson 1 and 2:

  • https://github.com/igrep/2D_Breakout_game_Phaser/commit/89378bcb8afe5a473b66b80f32dc0a5c78e788b7
  • https://github.com/igrep/2D_Breakout_game_Phaser/commit/c98eea3fca547b87160c30cb2318d44d40831af7

igrep avatar Sep 21 '24 08:09 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 3-6, and porting the lesson 7 is in progress.

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson03.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson04.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson05.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson06.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/commit/5de526f04877d8d8fb484ab290aaf745f51edce1

igrep avatar Oct 19 '24 08:10 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 7.

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson07.html

I had a problem bouncing the ball when colliding with the paddle, but resolved!

igrep avatar Dec 21 '24 08:12 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 8.

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson08.html

I had a problem that Phaser 3 didn't provide any equivalent of ball.events.onOutOfBounds.add, but I solved thanks to https://phaser.discourse.group/t/out-of-bounds-checking/905.

igrep avatar Jan 18 '25 07:01 igrep

We don't have a monthly Japanese Translation Community Meetup this month. But today I ported lesson 9 and 10.

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson09.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson10.html

igrep avatar Feb 22 '25 11:02 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 11, 12, and 13!

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson11.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson12.html
  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson13.html

Porting the lesson 14 is in progress. I confirmed the ball animates when hitting at the paddle.

  • https://github.com/igrep/2D_Breakout_game_Phaser/commit/69df6c3fec5f25c08e692ea1ed190a66d2affeae

igrep avatar Mar 22 '25 08:03 igrep

Today, I canceled participating the monthly Japanese Translation Community Meetup due to an urgent task. But I finished porting the lesson 14 after that.

https://github.com/igrep/2D_Breakout_game_Phaser/commit/c531ea50ea1f4f9b140e8a937d228a7197b59693

igrep avatar Apr 19 '25 09:04 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 15

https://github.com/igrep/2D_Breakout_game_Phaser/commit/a484dcd132820604a7c11734015a42a6cca6025d

igrep avatar May 17 '25 07:05 igrep

@igrep Thanks for the work! Do you have an ETA of when it will be ready? If you are going to update the content, could you also migrate all uses of jsfiddle to live samples? I'm trying to remove JSFiddleEmbed but it's currently blocked on your work.

Josh-Cena avatar May 29 '25 04:05 Josh-Cena

@igrep Thanks for the work! Do you have an ETA of when it will be ready? If you are going to update the content, could you also migrate all uses of jsfiddle to live samples? I'm trying to remove JSFiddleEmbed but it's currently blocked on your work.

I want to finish it by the end of July.

igrep avatar May 29 '25 04:05 igrep

In today's monthly Japanese Translation Community Meetup, I ported the lesson 16

  • https://github.com/igrep/2D_Breakout_game_Phaser/blob/main/lesson16.html

I'll resolve the problems left in the previous lessons from now before updating the lessons' contents.

igrep avatar Jun 21 '25 08:06 igrep

Well done on all of this hard work 👏🏻 👏🏻

bsmth avatar Aug 18 '25 07:08 bsmth