Skip to content

Commit 97165a3

Browse files
Update particle system version and links to c-frame repositories (aframevr#5573)
* Update to c-frame/aframe-particle-system-component@1.2.x * Update some urls of some components that were moved to c-frame organization * Replace aframe-teleport-controls by aframe-blink-controls * Update more links to c-frame organization * aframe-extras.ocean package is not maintained, use aframe-extras to get the ocean component * Replace not working aframe-gradient-sky by aframe-sky-background * Replace gradient sky link
1 parent e029e55 commit 97165a3

File tree

11 files changed

+29
-37
lines changed

11 files changed

+29
-37
lines changed

‎README.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ objects straight from HTML:
126126
<html>
127127
<head>
128128
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script>
129-
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.1.x/dist/aframe-particle-system-component.min.js"></script>
130-
<script src="https://unpkg.com/aframe-extras.ocean@%5E3.5.x/dist/aframe-extras.ocean.min.js"></script>
131-
<script src="https://unpkg.com/aframe-gradient-sky@1.0.4/dist/gradientsky.min.js"></script>
129+
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
130+
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.0/dist/aframe-extras.min.js"></script>
131+
<script src="https://cdn.jsdelivr.net/npm/@fern-solutions/aframe-sky-background/dist/sky-background.umd.min.js"></script>
132132
</head>
133133
<body>
134134
<a-scene>
@@ -144,9 +144,7 @@ objects straight from HTML:
144144
material="color: #9CE3F9; opacity: 0.75; metalness: 0; roughness: 1"
145145
rotation="-90 0 0"></a-entity>
146146

147-
<a-entity id="sky" geometry="primitive: sphere; radius: 5000"
148-
material="shader: gradient; topColor: 235 235 245; bottomColor: 185 185 210"
149-
scale="-1 1 1"></a-entity>
147+
<a-sky-background top-color="#EBEBF5" bottom-color="#B9B9D2"></a-sky-background>
150148

151149
<a-entity id="light" light="type: ambient; color: #888"></a-entity>
152150
</a-scene>

‎docs/components/gltf-model.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Work on the [three.js glTF loader][threejsgltf] and converters are still
2525
active.
2626

2727
> **NOTE:** A-Frame supports glTF 2.0. For models using older versions of the
28-
> glTF format, use `gltf-model-legacy` from [donmccurdy/aframe-extras][extras].
28+
> glTF format, use `gltf-model-legacy` from [aframe-extras][extras].
2929
30-
[extras]: https://github.com/donmccurdy/aframe-extras/tree/master/src/loaders
30+
[extras]: https://github.com/c-frame/aframe-extras/tree/master/src/loaders
3131

3232
<!--toc-->
3333

@@ -98,7 +98,7 @@ rendering.
9898

9999
## Using animations
100100

101-
If you want to use the animations from your glTF model, you can use the [animation-mixer](https://github.com/donmccurdy/aframe-extras/tree/master/src/loaders#animation) component from [aframe-extras](https://github.com/donmccurdy/aframe-extras). By default all animations are played in a loop.
101+
If you want to use the animations from your glTF model, you can use the [animation-mixer](https://github.com/c-frame/aframe-extras/tree/master/src/loaders#animation) component from [aframe-extras](https://github.com/c-frame/aframe-extras). By default all animations are played in a loop.
102102

103103
```html
104104
<a-entity gltf-model="#monster" animation-mixer></a-entity>

‎docs/guides/building-a-minecraft-demo.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ See a live version [here](https://aframe.io/aframe/examples/docs/aincraft/step2.
9191
[a-sky]: https://aframe.io/docs/1.6.0/primitives/a-sky.html
9292
[flickr]: https://www.flickr.com/groups/equirectangular/
9393

94-
[gradient]: https://github.com/zcanter/aframe-gradient-sky
94+
[gradient]: https://github.com/mrxz/fern-aframe-components/tree/main/sky-background
9595

9696
Let's add a 360&deg; background to our `<a-scene>` with the [`<a-sky>`
9797
element][a-sky]. `<a-sky>` is a large 3D sphere with a material mapped on the

‎docs/introduction/entity-component-system.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -356,14 +356,14 @@ The [A-Frame Wiki](https://aframe.wiki/) is a useful community-driven initiative
356356

357357
### Using a Community Component
358358

359-
[particlesystem]: https://www.npmjs.com/package/aframe-particle-system-component
359+
[particlesystem]: https://www.npmjs.com/package/@c-frame/aframe-particle-system-component
360360

361361
Once we find a component that we want to use, we can include the component as a
362362
`<script>` tag and use it from HTML.
363363

364364
[unpkg.com]: http://unpkg.com/
365365

366-
For example, let's use IdeaSpaceVR's [particle system component][particlesystem]:
366+
For example, let's use the [particle system component][particlesystem]:
367367

368368
#### Using unpkg
369369

@@ -411,7 +411,7 @@ For the particle system component, the CDN link we found earlier (at time of
411411
writing) was:
412412

413413
```
414-
https://unpkg.com/@c-frame/aframe-particle-system-component@1.1.x/dist/aframe-particle-system-component.min.js
414+
https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js
415415
```
416416

417417
Now we can include it into our HTML:
@@ -420,7 +420,7 @@ Now we can include it into our HTML:
420420
<html>
421421
<head>
422422
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script>
423-
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.1.x/dist/aframe-particle-system-component.min.js"></script>
423+
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
424424
</head>
425425
<body>
426426
<a-scene>
@@ -441,7 +441,7 @@ Now we can include it into our HTML:
441441
<html>
442442
<head>
443443
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script>
444-
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.1.x/dist/aframe-particle-system-component.min.js"></script>
444+
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
445445
</head>
446446
<body>
447447
<a-scene>
@@ -476,7 +476,7 @@ Registry and using the JSDELIVR CDN. This example can also be viewed in the [A-
476476
<title>Community Components Example</title>
477477
<meta name="description" content="Community Components Example">
478478
<script src="https://aframe.io/releases/1.6.0/aframe.min.js"></script>
479-
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.1.x/dist/aframe-particle-system-component.min.js"></script>
479+
<script src="https://unpkg.com/@c-frame/aframe-particle-system-component@1.2.x/dist/aframe-particle-system-component.min.js"></script>
480480
<script src="https://cdn.jsdelivr.net/npm/aframe-simple-sun-sky@^1.2.2/simple-sun-sky.js"></script>
481481
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@7.5.0/dist/aframe-extras.min.js"></script>
482482
</head>

‎docs/introduction/faq.md‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,6 @@ component][whygltf].
166166
[Wavefront (`.obj`)][obj] is also a well-known format but has some limitations
167167
like the lack of animation and vertex color support.
168168

169-
There are also components in the ecosystem for loading other formats:
170-
171-
- [`.PLY` models](https://github.com/donmccurdy/aframe-extras/blob/master/src/loaders/ply-model.js)
172-
- [three.js `.JSON` Object](https://github.com/donmccurdy/aframe-extras/blob/master/src/loaders/json-model.js)
173-
- [three.js `.JSON` Scene](https://github.com/donmccurdy/aframe-extras/blob/master/src/loaders/object-model.js)
174-
175169
Below are a couple basic examples for using models:
176170

177171
- [Model Example 1](https://aframe.io/aframe/examples/test/model/)
@@ -233,15 +227,15 @@ This depends on what devices you plan to support and how you allow users to
233227
navigate your scene. For most VR experiences, follow best practices and only
234228
move the camera proportionately to the user's motion.
235229

236-
[teleport]: https://github.com/fernandojsg/aframe-teleport-controls
230+
[teleport]: https://github.com/jure/aframe-blink-controls
237231

238232
Don't block the camera if the user steps forward in a room-scale VR space. For
239233
most VR applications it's better to do locomotion with methods such as using
240234
[teleportation controls][teleport], designing your scene to keep obstacles out
241235
of the way or not require much movement, or explore more creative ways of
242236
moving users through the world.
243237

244-
[physics]: https://github.com/donmccurdy/aframe-physics-system
238+
[physics]: https://github.com/c-frame/aframe-physics-system
245239

246240
For non-VR desktop experiences with a gamepad or keyboard controls or for VR
247241
scenes where the camera is inside a vehicle, you can add a [physics

‎docs/introduction/html-and-primitives.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ AFRAME.registerPrimitive('a-box', extendDeep({}, meshMixin, {
181181
}));
182182
```
183183

184-
[aframe-extras]: https://github.com/donmccurdy/aframe-extras
184+
[aframe-extras]: https://github.com/c-frame/aframe-extras
185185

186-
For example, Don McCurdy's [`aframe-extras`][aframe-extras] package includes an
186+
For example, [`aframe-extras`][aframe-extras] package includes an
187187
`<a-ocean>` primitive that wraps his `ocean` component. Here is the definition
188188
for `<a-ocean>`.
189189

‎docs/introduction/index.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ and fly around to peek under the hood!
136136
[augmented reality]: https://github.com/jeromeetienne/AR.js#augmented-reality-for-the-web-in-less-than-10-lines-of-html
137137
[environment]: https://github.com/supermedium/aframe-environment-component
138138
[multiuser]: https://github.com/networked-aframe/networked-aframe
139-
[oceans]: https://github.com/n5ro/aframe-extras/tree/master/src/primitives
140-
[particle systems]: https://github.com/IdeaSpaceVR/aframe-particle-system-component
141-
[physics]: https://github.com/n5ro/aframe-physics-system
139+
[oceans]: https://github.com/c-frame/aframe-extras/tree/master/src/primitives
140+
[particle systems]: https://github.com/c-frame/aframe-particle-system-component
141+
[physics]: https://github.com/c-frame/aframe-physics-system
142142
[state]: https://npmjs.com/package/aframe-state-component
143-
[super hands]: https://github.com/wmurphyrd/aframe-super-hands-component
144-
[teleportation]: https://github.com/fernandojsg/aframe-teleport-controls
143+
[super hands]: https://github.com/c-frame/aframe-super-hands-component
144+
[teleportation]: https://github.com/jure/aframe-blink-controls
145145

146146
:runner: **Components**: Hit the ground running with A-Frame's core components
147147
such as geometries, materials, lights, animations, models, raycasters, shadows,

‎docs/introduction/interactions-and-controllers.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ The [documentation for super-hands][superhandsdocs] and
589589

590590
### Other Examples
591591

592-
[aframe-extras]: https://github.com/donmccurdy/aframe-extras
593-
[aframe-physics]: https://github.com/donmccurdy/aframe-physics-system
592+
[aframe-extras]: https://github.com/c-frame/aframe-extras
593+
[aframe-physics]: https://github.com/c-frame/aframe-physics-system
594594

595595
Other examples to look at include:
596596

‎docs/introduction/javascript-events-dom-apis.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ entityEl.setAttribute('geometry', {
321321
});
322322
```
323323

324-
[physics]: https://github.com/donmccurdy/aframe-physics-system
324+
[physics]: https://github.com/c-frame/aframe-physics-system
325325

326326
Or adding [the community physics component][physics]:
327327

‎docs/introduction/models.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ three.js loaders.
3030

3131
## Animating Models
3232

33-
[mixer]: https://github.com/donmccurdy/aframe-extras/tree/master/src/loaders#animation
33+
[mixer]: https://github.com/c-frame/aframe-extras/tree/master/src/loaders#animation
3434

3535
We can use [Don McCurdy's animation-mixer component][mixer] to play a model's
3636
built-in animations. Animations usually come in the model built via animation
@@ -148,7 +148,7 @@ If this didn't work, you should check your MTL file and you might notice it is t
148148

149149
### My Model Isn't Animating
150150

151-
[aframe-extras]: https://github.com/donmccurdy/aframe-extras
151+
[aframe-extras]: https://github.com/c-frame/aframe-extras
152152

153153
The [animation-mixer component][mixer], part of [aframe-extras] by Don McCurdy,
154154
provides controls for playing animations in three.js (.json) and glTF (.gltf)

0 commit comments

Comments
 (0)