Skip to content

poeticAndroid/a-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A-Game!

Essential game components for A-Frame!

<html>
  <head>
    <script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/a-game.min.js"></script>
  </head>
  <body>
    <a-scene physics>
      <a-entity include="./scenes/_assets.html"></a-entity>
      <a-player locomotion grabbing></a-player>
      <a-main include="./scenes/level1.html">
        <a-box floor color="gray" width="32" height="0.25" depth="32"></a-box>
      </a-main>
    </a-scene>
  </body>
</html>

Demo!

Primitives

Components