Emdashless
This commit is contained in:
+3
-3
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user