top of page
COZY COZY WORLD
I am an ordinary Japanese salaryman in his 50's.
The posts are mostly about my attempts at programming which I have taken up recently to maintain logical thinking.
And a bit about my travels around the country.
Home: ようこそ!
Search
![Space Invaders in Phaser 3 (Part 1): Structuring the Game Code](https://static.wixstatic.com/media/e41812_2b1152a8f22247f8b96427912d578fa2~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/e41812_2b1152a8f22247f8b96427912d578fa2~mv2.webp)
cedarcantab
Jan 9, 20224 min read
Space Invaders in Phaser 3 (Part 1): Structuring the Game Code
Having played the game in the arcades in my teenage years a lot, I needed to understand the game logic. There are numerous tutorials on...
26 views0 comments
![Space Invaders in Phaser 3 (Part 0): The Beginning](https://static.wixstatic.com/media/e41812_5ca62a95ccea4c5b9278205a80c87e71~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/e41812_5ca62a95ccea4c5b9278205a80c87e71~mv2.webp)
cedarcantab
Jan 9, 20226 min read
Space Invaders in Phaser 3 (Part 0): The Beginning
I have worked on the Danmaku project pretty much non-stop for several months. Whilst there are plenty more that I want to do, I have...
53 views0 comments
![](https://static.wixstatic.com/media/e41812_484b6c1fb3bf4404acd7b807e02ec182~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_484b6c1fb3bf4404acd7b807e02ec182~mv2.webp)
![Danmaku using Phaser 3 (lesson 40 part 6): Angle Offset as Arrays](https://static.wixstatic.com/media/e41812_484b6c1fb3bf4404acd7b807e02ec182~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_484b6c1fb3bf4404acd7b807e02ec182~mv2.webp)
cedarcantab
Dec 4, 20212 min read
Danmaku using Phaser 3 (lesson 40 part 6): Angle Offset as Arrays
We continue our series of accepting arrays as parameters - in this post, it is the angle offset paramter. Changing the angle of the...
5 views0 comments
![](https://static.wixstatic.com/media/e41812_108d762f824e4bb688a9618cfe22a49b~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_108d762f824e4bb688a9618cfe22a49b~mv2.webp)
![Danmaku using Phaser 3 (lesson 40 part 5): Number of Parallel Cannons as Arrays](https://static.wixstatic.com/media/e41812_108d762f824e4bb688a9618cfe22a49b~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_108d762f824e4bb688a9618cfe22a49b~mv2.webp)
cedarcantab
Nov 29, 20212 min read
Danmaku using Phaser 3 (lesson 40 part 5): Number of Parallel Cannons as Arrays
Just as I was about to close off the current series of accepting various danmaku properties as arrays, I remembered another property that...
3 views0 comments
![](https://static.wixstatic.com/media/e41812_442de0ad7463455f8adc0909c0703447~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_442de0ad7463455f8adc0909c0703447~mv2.webp)
![Danmaku using Phaser 3 (lesson 40 part 4): Curve, Gravity, Acceleration, Rotation as Arrays](https://static.wixstatic.com/media/e41812_442de0ad7463455f8adc0909c0703447~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_442de0ad7463455f8adc0909c0703447~mv2.webp)
cedarcantab
Nov 28, 20213 min read
Danmaku using Phaser 3 (lesson 40 part 4): Curve, Gravity, Acceleration, Rotation as Arrays
I continue to expand the scope of parameters which can be passed as arrays. With parameters that are passed "as-they-are" to the...
6 views0 comments
![](https://static.wixstatic.com/media/e41812_6f6c384410a748bfbacccff93821b6a4~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_6f6c384410a748bfbacccff93821b6a4~mv2.webp)
![Danmaku using Phaser 3 (lesson 40 Part 3): Defining Bullet Speed as Arrays](https://static.wixstatic.com/media/e41812_6f6c384410a748bfbacccff93821b6a4~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_6f6c384410a748bfbacccff93821b6a4~mv2.webp)
cedarcantab
Nov 26, 20214 min read
Danmaku using Phaser 3 (lesson 40 Part 3): Defining Bullet Speed as Arrays
In the previous 2 posts, we went as far as the code to accept arrays for bullet texture/frame, number of cannons and cannonAngleRange...
0 views0 comments
![Danmaku using Phaser 3 (lesson 40 Part 2): Number of Cannons and Angle Range as Arrays](https://static.wixstatic.com/media/e41812_ddc5f8974c6945a3be9a43d0cda813d3~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/e41812_ddc5f8974c6945a3be9a43d0cda813d3~mv2.webp)
cedarcantab
Nov 25, 20213 min read
Danmaku using Phaser 3 (lesson 40 Part 2): Number of Cannons and Angle Range as Arrays
In the previous post, we went as far as the code to accept arrays for bullet texture/frame. In this post, I continue my exploration into...
0 views0 comments
![Danmaku using Phaser 3 (lesson 40 Part 1): Defining Bullet Texture as Arrays](https://static.wixstatic.com/media/e41812_fa8f860be77b427d88c4e456666ddab2~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/e41812_fa8f860be77b427d88c4e456666ddab2~mv2.webp)
cedarcantab
Nov 24, 20213 min read
Danmaku using Phaser 3 (lesson 40 Part 1): Defining Bullet Texture as Arrays
I have come a long way in terms of adding parameters to define the danmaku pattern, the way bullets are fired via the cannonConfig, and...
2 views0 comments
![](https://static.wixstatic.com/media/e41812_4282078fe31a40b09c1e9fe23de6cace~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_4282078fe31a40b09c1e9fe23de6cace~mv2.webp)
![Danmaku using Phaser 3 (lesson 39): DRAW re-re-revisted](https://static.wixstatic.com/media/e41812_4282078fe31a40b09c1e9fe23de6cace~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_4282078fe31a40b09c1e9fe23de6cace~mv2.webp)
cedarcantab
Nov 22, 20216 min read
Danmaku using Phaser 3 (lesson 39): DRAW re-re-revisted
Having recoded the entire nway/multi-nway code and the PAINT code to allow firing of PAINT pictures off multi-nways, I set about doing...
0 views0 comments
![](https://static.wixstatic.com/media/e41812_0864ec0ad06549d88a662775dccb60c9~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_0864ec0ad06549d88a662775dccb60c9~mv2.webp)
![Danmaku using Phaser 3 (lesson 38 Part 2): PAINT re-revisited](https://static.wixstatic.com/media/e41812_0864ec0ad06549d88a662775dccb60c9~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_0864ec0ad06549d88a662775dccb60c9~mv2.webp)
cedarcantab
Nov 14, 20214 min read
Danmaku using Phaser 3 (lesson 38 Part 2): PAINT re-revisited
In this post, I continue my re-write of the PAINT danmaku which has been changed for the following: the picture data, rather than being...
0 views0 comments
![](https://static.wixstatic.com/media/e41812_49b4e6ac59f34ed1a73e5cef7bbf3db5~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_49b4e6ac59f34ed1a73e5cef7bbf3db5~mv2.webp)
![Danmaku using Phaser 3 (lesson 38 Part 1): PAINT re-revisted](https://static.wixstatic.com/media/e41812_49b4e6ac59f34ed1a73e5cef7bbf3db5~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_49b4e6ac59f34ed1a73e5cef7bbf3db5~mv2.webp)
cedarcantab
Nov 14, 20214 min read
Danmaku using Phaser 3 (lesson 38 Part 1): PAINT re-revisted
In this post, we revisit the PAINT danmaku. I have now changed the code for the following: the picture data, rather than being defined in...
0 views0 comments
![](https://static.wixstatic.com/media/e41812_506fb57fd8a541e6ba083cb0bad0ecaa~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_506fb57fd8a541e6ba083cb0bad0ecaa~mv2.webp)
![Danmaku using Phaser3 (lesson 37 Part 1): NWAY revisited](https://static.wixstatic.com/media/e41812_506fb57fd8a541e6ba083cb0bad0ecaa~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_506fb57fd8a541e6ba083cb0bad0ecaa~mv2.webp)
cedarcantab
Nov 13, 20214 min read
Danmaku using Phaser3 (lesson 37 Part 1): NWAY revisited
This has been a huge re-write. However, not much to show for it in terms of new functionality. For the sake of posting a picture, I have...
3 views0 comments
![](https://static.wixstatic.com/media/e41812_d49919d37afd4b879619aeb4595d8002~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_d49919d37afd4b879619aeb4595d8002~mv2.webp)
![Danmaku using Phaser 3 (lesson 37 Part 2): NWAY revisited](https://static.wixstatic.com/media/e41812_d49919d37afd4b879619aeb4595d8002~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_d49919d37afd4b879619aeb4595d8002~mv2.webp)
cedarcantab
Nov 13, 20215 min read
Danmaku using Phaser 3 (lesson 37 Part 2): NWAY revisited
I continue my documentation of the substantial changes I have made to my NWAY code. I posted a picture of a danmay which shoots bullets...
1 view0 comments
![](https://static.wixstatic.com/media/e41812_2555078097f74db8b746bd2e503fcc19~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_2555078097f74db8b746bd2e503fcc19~mv2.webp)
![Danmaku using Phaser 3 (lesson 36): EXPLODE revisited](https://static.wixstatic.com/media/e41812_2555078097f74db8b746bd2e503fcc19~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_2555078097f74db8b746bd2e503fcc19~mv2.webp)
cedarcantab
Nov 6, 20213 min read
Danmaku using Phaser 3 (lesson 36): EXPLODE revisited
In lesson 34, I spun out the code to create the Curves.Path object to a separate function, as I re-worked the Draw danmaku code. As the...
3 views0 comments
![Danmaku using Phaser 3 (lesson 35): Angle Range Step revisited](https://static.wixstatic.com/media/e41812_529c57a458c5405b99f9ce76e0fb00ae~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/e41812_529c57a458c5405b99f9ce76e0fb00ae~mv2.webp)
cedarcantab
Nov 5, 20213 min read
Danmaku using Phaser 3 (lesson 35): Angle Range Step revisited
This will be a short post as it will not add any fundamentally new danmaku. Rather, it is more a reminder to myself of what I have done....
1 view0 comments
![](https://static.wixstatic.com/media/e41812_5a0a8e8d4643486d9737cdb40afd86c2~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_5a0a8e8d4643486d9737cdb40afd86c2~mv2.webp)
![Danmaku using Phaser 3 (lesson 33): "Waving" and "Bending" bullet revisited](https://static.wixstatic.com/media/e41812_5a0a8e8d4643486d9737cdb40afd86c2~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_5a0a8e8d4643486d9737cdb40afd86c2~mv2.webp)
cedarcantab
Nov 4, 20213 min read
Danmaku using Phaser 3 (lesson 33): "Waving" and "Bending" bullet revisited
In lesson 20 I created the "waving" bullet type. This was a bullet that changed its bearing from 90 degrees to -90 degrees around the...
3 views0 comments
![](https://static.wixstatic.com/media/e41812_a5eb0de18d6440f2affc0013d11ff9c1~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_a5eb0de18d6440f2affc0013d11ff9c1~mv2.webp)
![Danmaku using Phaser 3 (lesson 34): "DRAW" re-re-re-visited!](https://static.wixstatic.com/media/e41812_a5eb0de18d6440f2affc0013d11ff9c1~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_a5eb0de18d6440f2affc0013d11ff9c1~mv2.webp)
cedarcantab
Nov 4, 20214 min read
Danmaku using Phaser 3 (lesson 34): "DRAW" re-re-re-visited!
I can not seem to stop myself from fiddling with the DRAW danmaku code. I have pretty much re-written the core of the code, again. One of...
1 view0 comments
![](https://static.wixstatic.com/media/e41812_50db923de21d4c4a99a54ce87b1db5c3~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_50db923de21d4c4a99a54ce87b1db5c3~mv2.webp)
![Danmaku using Phaser 3 (lesson 32): PARALLEL and PAINT revisited](https://static.wixstatic.com/media/e41812_50db923de21d4c4a99a54ce87b1db5c3~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_50db923de21d4c4a99a54ce87b1db5c3~mv2.webp)
cedarcantab
Nov 3, 20215 min read
Danmaku using Phaser 3 (lesson 32): PARALLEL and PAINT revisited
I had created the Parallel danmaku in lesson 28. Then I tried to be clever and tried to factor the cannon related arrays setting with eh...
0 views0 comments
![](https://static.wixstatic.com/media/e41812_1d747e8ab2b446e0b3231b6448b045a2~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_1d747e8ab2b446e0b3231b6448b045a2~mv2.webp)
![Danmaku using Phaser 3 (lesson 31): DRAW revisited (again)](https://static.wixstatic.com/media/e41812_1d747e8ab2b446e0b3231b6448b045a2~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_1d747e8ab2b446e0b3231b6448b045a2~mv2.webp)
cedarcantab
Oct 30, 20217 min read
Danmaku using Phaser 3 (lesson 31): DRAW revisited (again)
The morning after posting part 3 of lesson 30, I had the urge to add some functionality to the DRAW danmaku. With the existing version of...
5 views0 comments
![](https://static.wixstatic.com/media/e41812_c27cd62881374b73947b017922698997~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/e41812_c27cd62881374b73947b017922698997~mv2.webp)
![Danmaku using Phaser 3 (lesson 30 part 3): DRAW revisited - Attacking Smiley's!](https://static.wixstatic.com/media/e41812_c27cd62881374b73947b017922698997~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/e41812_c27cd62881374b73947b017922698997~mv2.webp)
cedarcantab
Oct 24, 20212 min read
Danmaku using Phaser 3 (lesson 30 part 3): DRAW revisited - Attacking Smiley's!
In the previous post I created functions to draw heart, spade, club and diamond, utilising Phaser's Curve.Path object. As explained...
0 views0 comments
Home: Blog2
Home: 配信登録
bottom of page