@strata-game-library/presets
v1.1.1
Published
Pre-configured presets for Strata 3D - ready-to-use terrain, weather, physics settings
Maintainers
Readme
@strata-game-library/presets
Pre-configured, parameterized presets for Strata 3D - ready-to-use creatures, structures, collectibles, equipment, and more.
🎮 Live Demo
Try the interactive Preset Viewer: strata-game-library.github.io/presets/
📚 Documentation
Full documentation is available at strata.game/presets
🏢 Enterprise Context
Strata is the Games & Procedural division of the jbcom enterprise. This package is part of a coherent suite of specialized tools, sharing a unified design system and interconnected with sibling organizations like Agentic and Extended Data.
Features
- Ready-to-use - Sensible defaults for common scenarios
- Customizable - Override any setting as needed
- Comprehensive - Presets for all major Strata systems
Installation
pnpm add @strata-game-library/presets @strata-game-library/coreUsage
import {
createQuadruped,
createBuilding,
createCollectible,
ALL_THEMES
} from '@strata-game-library/presets';
// Create a baby otter with arctic theme
const otter = createQuadruped('otter', { age: 'baby', furLength: 1.4 });
// Create a temple building
const temple = createBuilding('temple', { floors: 2, wear: 0.3 });
// Create a rare gem collectible
const gem = createCollectible('gem', 'rare', { size: 1.5 });Available Presets
| Category | Module | Examples |
|----------|--------|----------|
| Creatures | @strata-game-library/presets/creatures | createQuadruped, createMount |
| Structures | @strata-game-library/presets/structures | createBuilding |
| Collectibles | @strata-game-library/presets/collectibles | createCollectible |
| Obstacles | @strata-game-library/presets/obstacles | createObstacle |
| Equipment | @strata-game-library/presets/equipment | createEquipment |
| Vehicles | @strata-game-library/presets/vehicles | createVehicle |
| AI | @strata-game-library/presets/ai | GuardPreset, FlockPreset |
Related
- Strata Documentation - Full documentation
- Strata Core - Main library
- Strata Shaders - GLSL shaders
License
MIT © Jon Bogaty
