Using the files

Using the files

Topic Progress:

Building the files

To work with A-Frame do the following steps:

1) Create a simple, empty HTML-File and save it as a_frame.html

<!doctype html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>A-Frame</title>
    </head>
    <body>

    </body>
</html>

2) Add a script Tag in the head part of the file, link it with the src attribute to the source files of A-Frame

<!doctype html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>A-Frame</title>
        <script src="https://aframe.io/releases/1.0.3/aframe.min.js"></script>
    </head>
    <body>

    </body>
</html>

That’s it! I prepared an empty file with the structure. It does not link to the internet, I downloaded the aframe.min.js. It means you can work offline.

Comments are closed.