<!DOCTYPE html>
<html>
  <head>
    <title>Sprites - 01</title>
    <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
    <script src="https://unpkg.com/aframe-environment-component/dist/aframe-environment-component.min.js"></script>
     <script src="https://unpkg.com/aframe-look-at-component@0.8.0/dist/aframe-look-at-component.min.js"></script>
    <script src="../js/livecode.js"></script>
  </head>
  <body>
    <a-scene cursor="rayOrigin: mouse" background="color: lightblue">

      <a-assets>
      <img id="location_sprite" src="https://cdn.glitch.com/80978ab7-9db6-45ae-bc43-4fab16bdbb6e%2Fcurrent_location.png?v=1594888923606">
      </a-assets>
      <a-entity id="env" environment="preset:forest"></a-entity>

      <a-image src="#location_sprite" position="0 1.6 -2" look-at="#user"></a-image>

      <a-camera id="user"></a-camera>
    </a-scene>
  </body>
</html>