Tag

depth sorting

0 views collected around this technical thread.

DaTaobao Tech
DaTaobao Tech
Jul 12, 2024 · Game Development

Game Development Techniques: Pathfinding, Depth Sorting, and Parallax Effects in a 2D Chicken Game

The article walks through building a 2D chicken game, contrasting a costly ray‑casting pathfinder with an optimal A* grid‑based solution, detailing node classes, heuristics, and JavaScript code, while also covering parallax scrolling, bottom‑Y depth sorting, a unified timer system, and a dual Phaser‑Rax rendering architecture.

A* algorithmJavaScriptdepth sorting
0 likes · 18 min read
Game Development Techniques: Pathfinding, Depth Sorting, and Parallax Effects in a 2D Chicken Game