@hytopia.com/examples 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "health": 100,
3
- "currentRegionId": "stalkhaven-port",
4
- "skillExperience": [],
3
+ "currentRegionId": "stalkhaven",
4
+ "skillExperience": [
5
+ [
6
+ "agility",
7
+ 43
8
+ ]
9
+ ],
5
10
  "backpack": {
6
11
  "items": []
7
12
  },
@@ -29,5 +34,11 @@
29
34
  },
30
35
  "wearables": {
31
36
  "items": []
37
+ },
38
+ "currentRegionSpawnFacingAngle": 0,
39
+ "currentRegionSpawnPoint": {
40
+ "x": 1,
41
+ "y": 2,
42
+ "z": 40
32
43
  }
33
44
  }
@@ -323,7 +323,6 @@ export default class BaseEntity extends Entity implements IInteractable, IDamage
323
323
  }
324
324
 
325
325
  public takeDamage(damage: number, attacker?: Entity): void {
326
- console.log(damage);
327
326
  this.adjustHealth(-damage, attacker);
328
327
  }
329
328
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hytopia.com/examples",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -0,0 +1,3 @@
1
+ # particles
2
+
3
+ An example showing how to use particle emitters for a variety of visual effects.