Skip to content

Latest commit

 

History

History
117 lines (99 loc) · 3.12 KB

File metadata and controls

117 lines (99 loc) · 3.12 KB

WaveRider95 Beams and Visual Effects Analysis

All Beam Types Found

1. Station2 Hyper Beam (Green Laser)

Location: Right controller Element: <a-cylinder id="hyperBeam"> Properties:

  • Color: Green (#0f0)
  • Radius: 0.02
  • Height: 5
  • Position: 0 0 -2.5 (extends forward from controller)
  • Rotation: -90 0 0 (points forward)
  • Material: Emissive green with 0.8 opacity
  • Trigger: Right controller trigger button
  • Sound: Plays 2000Hz tone when activated

2. Laser Controls (Cyan Laser)

Location: Both VR controllers Component: laser-controls Properties:

  • Line Color: Cyan (#0ff)
  • Line Opacity: 0.8
  • Built-in A-Frame component for pointing
  • Always visible in VR mode
  • Used for selection and interaction

3. Raycaster (Invisible Selection Beam)

Location: Multiple elements Types:

  1. Camera Cursor Raycaster

    • Origin: Mouse
    • Range: 20 units
    • Objects: .interactive class
    • Fuse timeout: 1500ms
  2. Left Hand Raycaster

    • Range: 10 units
    • Objects: .interactive class
    • Used with teleport controls
  3. Right Hand Raycaster

    • Range: 10 units
    • Objects: .interactive class
    • Used for object interaction

4. Teleportation Arc

Location: Left controller Component: teleport-controls Properties:

  • Curve shooting speed: 18
  • Landing normal: 0 1 0 (upward)
  • Landing max angle: 45 degrees
  • Collision entities: .collidable class
  • Creates parabolic arc when aiming

5. Teleport Effect Cylinder

Type: Dynamic effect Created: On teleportation Properties:

  • Radius: 0.5 expanding to 1.5
  • Height: 3
  • Color: Cyan (#0ff)
  • Animation: Scale up and fade out over 500ms
  • Temporary element removed after animation

6. Waveform Display Lines

Location: Central display Elements: 16 vertical lines Properties:

  • Width: 0.1
  • Height: 0.02 (scales with audio)
  • Color: Cyan (#0ff)
  • Updates every 4 frames
  • Visualizes audio waveform data

Visual Effects Summary

Persistent Beams:

  1. Laser controls - Always visible in VR
  2. Raycasters - Invisible selection beams

Triggered Beams:

  1. Hyper Beam - Right trigger activation
  2. Teleport Arc - Left trigger hold
  3. Teleport Effect - On successful teleport

Animation Effects:

  1. Hover animations - Scale 1.0 to 1.1
  2. Click animations - Quick pulse effect
  3. Preset burst - Yellow sphere expansion
  4. Waveform lines - Continuous audio visualization

Controller Mappings

Right Controller:

  • Trigger Down: Activate green hyper beam + laser sound
  • Trigger Up: Hide hyper beam
  • Thumbstick: Control filter cutoff/resonance
  • Grip: Toggle sequencer

Left Controller:

  • Trigger: Teleportation
  • Grip: Cycle presets

Color Coding:

  • Cyan (#0ff): Default interactive elements, laser pointers
  • Green (#0f0): Station2 hyper beam
  • Magenta (#f0f): Secondary elements
  • Yellow (#ff0): Tertiary elements, preset bursts

Performance Optimizations:

  • Waveform updates every 4 frames
  • Spectrum updates every 6 frames
  • Maximum 10 particles
  • Simplified geometry (15 grid divisions)
  • Minimal lighting (1 ambient + 1 point light)