Emdashless

This commit is contained in:
2026-06-07 21:27:59 -05:00
parent dc41c0e302
commit be68fe5a35
40 changed files with 117 additions and 107 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ var assets = AssetBatch([
]);
// Pokemon DS-style camera: ~34 degrees elevation (atan(6/9)).
// CAM_HEIGHT / CAM_DIST ratio controls the tilt keep it under 0.7 for
// CAM_HEIGHT / CAM_DIST ratio controls the tilt - keep it under 0.7 for
// the characteristically shallow DS angle.
const CAM_HEIGHT = 6;
const CAM_DIST = 9;
@@ -38,7 +38,7 @@ scene.init = async function() {
camPos = cam.add(Component.POSITION);
cam.add(Component.CAMERA);
// Floor infinite static plane at Y=0. Rendered as a large flat blue
// Floor - infinite static plane at Y=0. Rendered as a large flat blue
// slab using the default SHADER_MATERIAL (no texture needed).
floorEntity = Entity.create();
var floorPos = floorEntity.add(Component.POSITION);
@@ -51,7 +51,7 @@ scene.init = async function() {
floorPos.localScale = new Vec3(16, 0.2, 16);
floorPos.localPosition = new Vec3(0, -0.1, 0);
// Player spawns 1 unit above the floor so physics drops it cleanly.
// Player - spawns 1 unit above the floor so physics drops it cleanly.
player.create(texEntry);
// Initialise camera at the correct angle from the player's spawn position.