Skip to content

Commit 1ac54d4

Browse files
Update some glitch links to examples inside the repo (#5744)
* Point to aincraft in the repo instead of glitch * Remove not maintained networked-aframe glitch * Link to community-components in the repo instead of aframe-registry glitch * Replace a-watch glitch url by link in the repo * Replace glitch cdn url by aframe cdn for grip-compressed.glb * Remove cdn.glitch.com url in test * Link to 360-gallery in the repo instead of aframe-gallery glitch * Update link to Animated Lights example * Increase light intensity in dynamic-lights example * Remove dead examples in interactions-and-controllers * Add aframe-modify-model-material example in the repo * Remove dead Displacement Shader example
1 parent 4cc62cf commit 1ac54d4

File tree

19 files changed

+61
-33
lines changed

19 files changed

+61
-33
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ architecture](https://aframe.io/docs/1.7.1/introduction/entity-component-system.
117117
components from the ecosystem (e.g., ocean, physics) and plug them into our
118118
objects straight from HTML:
119119

120-
[![Remix](https://cloud.githubusercontent.com/assets/674727/24572421/688f7fc0-162d-11e7-8a35-b02bc050c043.jpg)](https://glitch.com/~aframe-registry)
120+
[See example](https://aframe.io/aframe/examples/docs/community-components/)
121121

122122
```html
123123
<html>
124124
<head>
125125
<script src="https://aframe.io/releases/1.7.1/aframe.min.js"></script>
126-
<script src="https://unpkg.com/@c-frame/[email protected]/dist/aframe-particle-system-component.min.js"></script>
126+
<script src="https://cdn.jsdelivr.net/gh/c-frame/[email protected]/dist/aframe-particle-system-component.min.js"></script>
127127
<script src="https://cdn.jsdelivr.net/gh/c-frame/[email protected]/dist/aframe-extras.min.js"></script>
128128
<script src="https://cdn.jsdelivr.net/npm/@fern-solutions/aframe-sky-background/dist/sky-background.umd.min.js"></script>
129129
</head>
@@ -134,7 +134,7 @@ objects straight from HTML:
134134
<a-entity id="sphere" geometry="primitive: sphere"
135135
material="color: #EFEFEF; shader: flat"
136136
position="0 0.15 -5"
137-
light="type: point; intensity: 5"
137+
light="type: point; intensity: 15.7"
138138
animation="property: position; easing: easeInOutQuad; dir: alternate; dur: 1000; to: 0 -0.10 -5; loop: true"></a-entity>
139139

140140
<a-entity id="ocean" ocean="density: 20; width: 50; depth: 50; speed: 4"

docs/components/gltf-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parent_section: components
66
source_code: src/components/gltf-model.js
77
examples:
88
- title: Modifying Material of Model
9-
src: https://glitch.com/edit/#!/aframe-modify-model-material?path=index.html:1:0
9+
src: https://aframe.io/aframe/examples/test/gltf-model/modify-materials.html
1010
---
1111

1212
[about-gltf]: https://www.khronos.org/gltf

docs/components/light.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parent_section: components
66
source_code: src/components/light.js
77
examples:
88
- title: Animated Lights
9-
src: https://glitch.com/edit/#!/aframe-animated-lights?path=index.html
9+
src: https://aframe.io/aframe/examples/showcase/dynamic-lights/
1010
---
1111

1212
The light component defines the entity as a source of light. Light affects all

docs/components/material.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ layout: docs
55
parent_section: components
66
source_code: src/components/material.js
77
examples:
8-
- title: Displacement Shader
9-
src: https://glitch.com/edit/#!/aframe-displacement-shader?path=client/index.js:1:0
108
- title: Shader Walkthrough
119
src: https://codepen.io/machenmusik/pen/WZyQNj
1210
- title: Grid Shader

docs/components/obj-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ parent_section: components
66
source_code: src/components/obj-model.js
77
examples:
88
- title: Modifying Material of Model
9-
src: https://glitch.com/edit/#!/aframe-modify-model-material?path=index.html:1:0
9+
src: https://aframe.io/aframe/examples/test/gltf-model/modify-materials.html
1010
---
1111

1212
The obj-model component loads a 3D model and material using a

docs/core/mixins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ order: 7
77
source_code: src/core/a-mixin.js
88
examples:
99
- title: Animated Lights
10-
src: https://glitch.com/edit/#!/aframe-animated-lights?path=index.html
10+
src: https://aframe.io/aframe/examples/showcase/dynamic-lights/
1111
---
1212

1313
Mixins provide a way to compose and reuse commonly-used sets of component

docs/introduction/best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ document.querySelector('a-scene').renderer.setTexture2D(ourTexture, 0);
130130

131131
We will try to come with a convenient API in A-Frame to do this automatically.
132132

133-
[360]: https://aframe-360-gallery.glitch.me
133+
[360]: https://aframe.io/aframe/examples/docs/360-gallery/
134134

135135
For example, this is apparent in the [360&deg; image gallery][360]. If we look at
136136
the browser performance tools, there will be frame drops when switching to a

docs/introduction/entity-component-system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ layout: docs
55
order: 5
66
examples:
77
- title: Community Components in Action
8-
src: https://glitch.com/edit/#!/aframe-registry?path=index.html
8+
src: https://aframe.io/aframe/examples/docs/community-components/
99
- title: Animated Lights
10-
src: https://glitch.com/edit/#!/aframe-animated-lights?path=index.html
10+
src: https://aframe.io/aframe/examples/showcase/dynamic-lights/
1111
---
1212

1313
[ecs]: https://wikipedia.org/wiki/Entity_component_system

docs/introduction/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ all browsers implement this. Firefox with WebVR implements this. A link
222222
component for link traversal ([example][link-traversal-example]) was released with A-Frame 0.6.0:
223223

224224
```html
225-
<a-entity link="on: click; href: https://aframe-aincraft.glitch.me"></a-entity>
225+
<a-entity link="on: click; href: https://aframe.io/aframe/examples/docs/aincraft/"></a-entity>
226226
```
227227

228228
## Can I prevent the camera from going through obstacles?

docs/introduction/installation.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ own custom URL name.
3535

3636
Below are a few other A-Frame Glitches for starters:
3737

38-
- [aframe-aincraft](https://glitch.com/~aframe-aincraft) - Minecraft demo.
39-
- [aframe-gallery](https://glitch.com/~aframe-gallery) - 360&deg; image gallery.
40-
- [aframe-registry](https://glitch.com/~aframe-registry) - Showcase of various components.
38+
- [aincraft](https://github.com/aframevr/aframe/tree/master/examples/docs/aincraft) - Minecraft demo.
39+
- [360-gallery](https://github.com/aframevr/aframe/tree/master/examples/docs/360-gallery/) - 360&deg; image gallery.
40+
- [community-components](https://github.com/aframevr/aframe/tree/master/examples/docs/community-components) - Showcase of various community components.
4141
- [aframe-vaporwave](https://glitch.com/~aframe-vaporwave) - Retro-futuristic scene.
42-
- [networked-aframe](https://glitch.com/~networked-aframe) - Multiuser.
4342

4443
### Other Code Editors
4544

0 commit comments

Comments
 (0)