- simplex-noise with seeded PRNG (mulberry32) for deterministic generation - Biome data: 8 tile types (scorched earth, cracked ground, ash sand, acid pools, acid shallow, crystals, geysers, mineral veins) - Elevation noise → base terrain; detail noise → geyser/mineral overlays - Canvas-based tileset with per-pixel brightness variation - Phaser tilemap with collision on non-walkable tiles - Camera: WASD movement, mouse wheel zoom (0.5x–3x), world bounds - Minimap: 160x160 canvas overview with viewport indicator - 21 world generation tests passing (95 total) Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
531 B
JSON
25 lines
531 B
JSON
{
|
|
"name": "synthesis",
|
|
"version": "0.1.0",
|
|
"description": "Scientific roguelike where real science replaces magic",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:run": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"bitecs": "^0.4.0",
|
|
"phaser": "^3.80.0",
|
|
"simplex-noise": "^4.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"happy-dom": "^20.6.1",
|
|
"typescript": "^5.4.0",
|
|
"vite": "^5.4.0",
|
|
"vitest": "^2.0.0"
|
|
}
|
|
}
|