/OBScene

Primary LanguageSvelte

Import an SVG in Svelte

{@html sports_hockey}

<script>
    import sports_hockey from '$lib/assets/icons/sports_hockey.svg?raw'
</script>

Credits

Project Structure

  • (app)-Layout: everything that is displayed and can be interacted with
  • (preview)-Layout: for use in OBS (transparent background) or as preview in browser (checkerboard-background, full width)
  • Overlays: /overlay/[overlayName]?scale=100
  • Example: http://localhost:5173/overlay/Scoreboard_Floorball_Goal_v2/?scale=100
  • overlayName: name of the overlay (currently in $lib/overlays as .svelte file)
  • scale in percent (default: 100)

TODO

  • Overlays:
  • somehow tag overlays by sport
  • filter overlays
  • multiple parameters (alignment)

OBS