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


Phaser Coding Tips 7 Revisited: Creating a Shoot-em-up Tutorial
For those new to the art of creating shoot-em-up games using Javascript/Phaser framework like me, there is a fantastic tutorial here by...
cedarcantab
Feb 4, 20227 min read
92 views
0 comments


Physics Simulations in Javascript: Circle to Boundary Collision Detection
Boundary Collision Detection Following on from the previous post, we introduce the concept of collision detection by discussing how to...
cedarcantab
Feb 4, 20225 min read
11 views
0 comments


Physics Simulations in Javascript: Moving a ball with Euler Integration
Having covered the fundamental laws of physics necessary (at least for linear motion) and vector maths, it is time to make a start. But...
cedarcantab
Feb 3, 20223 min read
9 views
0 comments


Understanding 2D Physics Engines with Phaser 3, Part 1.6: Affine Transformation Matrix
Phaser 3 TransformMatrix In the previous post we looked at how a point can be rotated about the origin through multiplying the position...
cedarcantab
Feb 1, 20224 min read
5 views
0 comments


Understanding 2D Physics Engines with Phaser 3, Part 1.5: Rotation Matrix
There is one special type of matrix that will come up time and time again, particularly we start to deal with rotating bodies; that is...
cedarcantab
Jan 31, 20224 min read
4 views
0 comments


Understanding 2D Physics Engine with Phaser 3, Part 1.3: The Cross Product
The Cross Product Some mathematicians will tell you that the vector cross product does not exist in 2D. If you search for a wiki page on...
cedarcantab
Jan 29, 20223 min read
12 views
0 comments


Understanding 2D Physics Engines with Phaser 3, Part 1.2: The Dot product
Projections or the Dot Product In the previous post, I explained the extremely useful Vector2 class built into Phaser 3. In this post, I...
cedarcantab
Jan 28, 20223 min read
11 views
0 comments


Physics Simulation: Vector object
2D Vectors in Javascript Before I start actually trying to code the laws of physics, it's useful to remind ourselves about vectors and...
cedarcantab
Jan 27, 20223 min read
21 views
0 comments


Physics Simulations in Javascript: Introduction
(Let's code a Physics Engine from scratch) When you code any game involve stuff moving about and colliding with each other using some...
cedarcantab
Jan 26, 20224 min read
31 views
0 comments


Phaser Coding Tips 5 Revisited: How to move like Pacman
I started learnning about tilemaps by writing Pacman. I found a great tutorial called “How to move like Pacman Tutorial” by Richard Davey...
cedarcantab
Jan 25, 20226 min read
28 views
0 comments


Space Invaders in Phaser 3 (Part 15): Beginning Game Sequence & Flashing Text
In this post I look at the beginning of game sequence. Prompt Player Screen In the original game, when the game starts, the screen is...
cedarcantab
Jan 21, 20224 min read
4 views
0 comments


Space Invaders in Phaser 3 (Part 14): Typewriting Text and the End of Game
Game Over Sequence When the player is hit, and last life is lost it is game over. As soon as the player is hit, the aliens stop moving,...
cedarcantab
Jan 21, 20223 min read
3 views
0 comments


Space Invaders in Phaser 3 (Part 13): Flying Saucer
In this post I talk about how I attempt to recreate the flying saucer. Computer Archeology gives has the following to say about the...
cedarcantab
Jan 18, 20228 min read
2 views
0 comments


Space Invaders in Phaser 3 (Part 12): The other 2 types of bombs
In this post I document the challenges in my attempt to replicate the alien shots. The behaviour of the plunger and the squiggle shots...
cedarcantab
Jan 17, 20225 min read
2 views
0 comments


Space Invaders in Phaser 3 (Part 11): Alien Bomb - the Rolling Shot
In this post I document the challenges in my attempt to replicate the alien shots. Having reviewed the original code in more detail, I...
cedarcantab
Jan 17, 202213 min read
2 views
0 comments


Space Invaders in Phaser 3 (Part 10): SOUND
Sound can make a really big difference to the game experience. With Space Invaders, the thump thump sound as the the invaders move along...
cedarcantab
Jan 16, 20223 min read
6 views
0 comments


Space Invaders in Phaser 3 (Part 9): Drawing the Shields
I am sure you would be familiar with hte 4 shields in the game. The distinguishing feature is the way the shields get damaged gradually...
cedarcantab
Jan 15, 20229 min read
8 views
0 comments


Space Invaders in Phaser 3 (Part 8): Shooting down aliens and extended Play
In this post I talk about how I coded the collision detection to get the player to shoot down aliens, and the extended play option....
cedarcantab
Jan 14, 20222 min read
9 views
0 comments


Space Invaders in Phaser 3 (Part 7): Heads Up Display
Further to the previous blog, this is another simple and short one, where I document the way I created the "heads-up-display" (HUD)....
cedarcantab
Jan 12, 20226 min read
5 views
0 comments


Space Invaders in Phaser 3 (Part 2): Creating the Player
I this post I document how I re-created the player object. A bit about how the original hardware/code moved objects around the screen All...
cedarcantab
Jan 12, 202214 min read
7 views
0 comments
Home: Blog2
Home: 配信登録
bottom of page