项目作者: poeticAndroid

项目描述 :
Essential game components for A-Frame!
高级语言: JavaScript
项目地址: git://github.com/poeticAndroid/a-game.git
创建时间: 2021-04-02T19:37:21Z
项目社区:https://github.com/poeticAndroid/a-game

开源协议:MIT License

下载


A-Game!

Essential game components for A-Frame!

  1. <html>
  2. <head>
  3. <script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
  4. <script src="https://cdn.jsdelivr.net/npm/a-game@0.48.0/dist/a-game.min.js"></script>
  5. </head>
  6. <body>
  7. <a-scene physics>
  8. <a-entity include="./scenes/_assets.html"></a-entity>
  9. <a-player locomotion grabbing></a-player>
  10. <a-main include="./scenes/level1.html">
  11. <a-box floor color="gray" width="32" height="0.25" depth="32"></a-box>
  12. </a-main>
  13. </a-scene>
  14. </body>
  15. </html>

Demo!

Primitives

Components