6 Replies - 559 Views - Last Post: 03 September 2017 - 11:59 AM

#1 Braber01  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 29-November 08

Aframe Scenes Not loading

Posted 31 August 2017 - 09:02 AM

Hi I'm trying to learn aframe for a game I have but every time I try to load up examples, nothing will load for example here is my code
<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">
  <title>MDN GAMES: A-Frame demo</title>
	<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
	</head>
<body>
<a-scene>
<a-cube
  color="#0095DD"
	position="0 1 0"
	rotation="20 40 0">
</a-cube>
<a-sky color="#DDD"></a-sky>


</a-scene>
</body>
</html>

however when I try to preview it in either firefox, chrome or the vr game nothing will show up if anybody has any sugguestions I would really appracate it thank you

Is This A Good Question/Topic? 0
  • +

Replies To: Aframe Scenes Not loading

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13484
  • View blog
  • Posts: 53,832
  • Joined: 12-June 08

Re: Aframe Scenes Not loading

Posted 31 August 2017 - 09:17 AM

Peculiar.. I can get the 3d render to work on all but the cube.. the cube code from github doesn't work in any browser I tried.. even when putting the js local..

Though it appears to work in fiddle.

https://jsfiddle.net...mpaign=m85148b4
Was This Post Helpful? 0
  • +
  • -

#3 Braber01  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 29-November 08

Re: Aframe Scenes Not loading

Posted 31 August 2017 - 09:22 AM

huh, I've tried box and other things as well but still nothing would load for me in my local testing enverimonet, I might just use jsfiddle for a bit until I can figure out a more permenant soultion
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13484
  • View blog
  • Posts: 53,832
  • Joined: 12-June 08

Re: Aframe Scenes Not loading

Posted 31 August 2017 - 09:25 AM

Oh.. I see a possible culprit. Use a local server.

https://aframe.io/do...cal-development
Was This Post Helpful? 0
  • +
  • -

#5 Braber01  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 29-November 08

Re: Aframe Scenes Not loading

Posted 31 August 2017 - 09:31 AM

Modi I've tried that as well I've tried using XAMPP and a few other options as well I might try again
Was This Post Helpful? 0
  • +
  • -

#6 Braber01  Icon User is offline

  • D.I.C Regular

Reputation: 5
  • View blog
  • Posts: 294
  • Joined: 29-November 08

Re: Aframe Scenes Not loading

Posted 03 September 2017 - 09:07 AM

I figured out the problem I was using to old of a version
Was This Post Helpful? 0
  • +
  • -

#7 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13484
  • View blog
  • Posts: 53,832
  • Joined: 12-June 08

Re: Aframe Scenes Not loading

Posted 03 September 2017 - 11:59 AM

That'll do it.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1