Language support for HoloScript+ with AI integration, Spatial Profiling, and Live Preview
npm install holoscript-vscode.holo, .hs, and .hsplus files
@if, @else, @for, @forEach, @while
orb, sphere, cube, box, cylinder, cone, plane, mesh, avatar, light, camera, scene, group, text, panel, button, slider, zone
@grabbable, @throwable, @hoverable, @scalable, @rotatable, @snappable, @breakable, @stretchable, @moldable, @skeleton, @body, @face, @expressive, @hands, @networked, @recordable, @streamable, @trackable, @shareable, @particle, @timeline, and more...
@on_mount, @on_grab, @on_release, @on_hover_enter, @on_collision, @on_click, @on_stretch, @on_pose_change, @on_record_start, @on_share, @on_particle_spawn, @on_voice_command, and more...
holoscript
// VR Interactive Cube
cube#interactive_box @grabbable @throwable @hoverable {
position: [0, 1, 0]
size: 0.5
color: "#3498db"
@on_grab(hand) => highlight(true)
@on_release(velocity) => applyForce(velocity)
@on_hover_enter => showTooltip("Grab me!")
}
// Humanoid Avatar with IK
avatar#npc @skeleton(type: "humanoid", ik_enabled: true) @expressive {
position: [2, 0, 0]
@on_pose_change(pose) => updateAnimation(pose)
@on_gesture(gesture) => respondToGesture(gesture)
}
`
Installation
1. Open VS Code
2. Go to Extensions (Ctrl+Shift+X)
3. Search for "HoloScript Enhanced"
4. Click Install
Or install manually:
`bash
code --install-extension holoscript-vscode-1.0.0.vsix
``