Newer
Older
escapegame-2022 / yuto / game / AR.html
@Yuto Togashi Yuto Togashi on 24 May 2022 613 bytes add AR
<!DOCTYPE html>
<html lang="ja">

<head>
  <title>AR読み取り|庄内XR謎解きゲーム(仮)
  <link rel="stylesheet" type="text/css" href="escape.css">
  <script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script>
  <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
</head>

<body style="margin: 0px; overflow: hidden;">
  <a-scene embedded arjs>
    <a-marker type="pattern" url="pattern-marker.patt">
      <a-box position="0 -1 0" scale="1 1 1" color="grey"></a-box>
    </a-marker>
    <a-entity camera></a-entity>
  </a-scene>
</body>
</html>