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

Mass Moment of Inertia: Rectangle
Before continuing our challenge to derive the mmoi for other shapes, I will introduce two important theorems that will help us as we deal...
cedarcantab
Jun 6, 20222 min read
10 views
0 comments

Mass Moment of Inertia (MMOI): Introduction
Angular Momentum, Moment of Inertia In prior posts we have discussed momentum, which we have assumed to be mass x velocity. In a world...
cedarcantab
Jun 5, 20224 min read
18 views
0 comments

Center of Mass of Lamina: Arbitrary Triangle
In the previous post we worked through the calculation of the centroid of an isosceles triangle. In this post we delve into the...
cedarcantab
Jun 1, 20223 min read
5 views
0 comments

Center of Mass of Lamina: Isosceles triangle
We will put the learnings of the previous post into practice by applying the principles to a triangle. Center of Mass of a Triangle We...
cedarcantab
May 31, 20221 min read
5 views
0 comments

Sloped Tile Collision Detection in Phaser 3
Making Characters Climb Sloped Tiles After a long and tortuous journey I finally managed to get CozyPhysics engine to work with partial...
cedarcantab
May 28, 20228 min read
97 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 15: SAT - Line vs Circle vs Polygon vs Capsule
In previous posts I have dealt with checking for collisions of the following combinations: polygon vs polygon polygon vs line segment...
cedarcantab
May 15, 20222 min read
18 views
0 comments

Partial Tile Collision in Phaser 3: Climbing "Slopes"
Having worked out the basic logic for detecting collisions with partial tiles, there is light at the end of the tunnel to making Mario...
cedarcantab
May 14, 20225 min read
42 views
0 comments

Partial Tile Collision in Phaser 3: The Basics
Finally, we go beyond recreating (cut-down version of) Phaser's arcade physics engine, and tackle the problem of partial tiles. The...
cedarcantab
May 14, 20224 min read
50 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 2
Introducing gravity and bounce In the previous post I got as far as recreating basic tile collisions for my CozyPhysics engine. The...
cedarcantab
May 13, 20224 min read
24 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 0B
In this post, I continue to explore the insides of the Phaser arcade physics engine relating to sprite vs tile collisions. Detecting...
cedarcantab
May 10, 20227 min read
26 views
0 comments

Pixel Perfect Tile Collision in Phaser 3, Part 0A
In my exploration of the various mechanics involved tile map based games, I have, among others, used the original Donkey Kong game (which...
cedarcantab
May 9, 202210 min read
64 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 14: SAT - Capsule vs Capsule
We saw in the previous post that we can use the separating axis theorem to detect collisions between a polygon and circle, the point...
cedarcantab
May 8, 20223 min read
15 views
0 comments

"One-way" / "Pass-through" Platforms in Phaser 3: Tile Maps
As we saw in the previous post, it is remarkably easy to create "one-way" platforms using sprites. However, what about using tilemaps?...
cedarcantab
May 5, 20224 min read
134 views
0 comments

"One-way" / "Pass-through" Platforms in Phaser 3: Sprites
In this post we explore platforms commonly referred to as "one-way", ie the ones that you can "jump through" from the bottom and land...
cedarcantab
May 4, 20223 min read
177 views
0 comments

Understanding 2D Physics Engines with Phaser 3, Part 13: SAT - Circle Collision Detection
Circle collision detection using Separating Axis Theorem Where is the projection axis for a circle? As we saw in the previous post, the...
cedarcantab
Apr 30, 20224 min read
18 views
0 comments

Conveyor Belts in Phaser 3
Having looked at moving platforms and ladders, I take a look at conveyor belts, as found in the classic Donkey Kong game (the very...
cedarcantab
Apr 28, 20226 min read
74 views
0 comments

Climbing Ladders in Phaser 3, Part 3
In this post, I finish off this series on my exploration of making characters climb ladders, by looking at making character climb ladders...
cedarcantab
Apr 23, 20225 min read
55 views
0 comments

Climbing Ladders in Phaser 3, Part 2
In the previous post I delved into how you can make characters climb ladders and run across platforms made out of sprites. In this post I...
cedarcantab
Apr 22, 20226 min read
42 views
0 comments

Climbing Ladders in Phaser 3, Part 1
Having delved into the mechanics of moving platforms, I take a break from platforms and look at ladders. Making Mr Dude climb ladders...
cedarcantab
Apr 21, 20229 min read
114 views
0 comments

Phaser Coding Tips 4 "Cloud Platforms" Revisited
Further to my revisit of Phaser Coding Tips 3 (original Phaser 2 tutorial here), where I went beyond the scope of the original tutorial...
cedarcantab
Apr 13, 20228 min read
9 views
0 comments
Home: Blog2
Home: 配信登録
bottom of page