Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
undo example changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodBoyDigital committed Aug 1, 2024
1 parent c3a40ed commit 5921d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// Pre-load the skeleton data and atlas. You can also load .json skeleton data.
PIXI.Assets.add({alias: "spineboyData", src: "./assets/spineboy-pro.skel"});
PIXI.Assets.add({alias: "spineboyAtlas", src: "./assets/spineboy.atlas"});
PIXI.Assets.add({alias: "spineboyAtlas", src: "./assets/spineboy-pma.atlas"});
await PIXI.Assets.load(["spineboyData", "spineboyAtlas"]);

// Create the spine display object
Expand All @@ -42,7 +42,7 @@
spineboy.y = window.innerHeight / 2 + spineboy.getBounds().height / 2;

// Set animation "run" on track 0, looped.
spineboy.state.setAnimation(0, "portal", true);
spineboy.state.setAnimation(0, "run", true);

// Add the display object to the stage.
app.stage.addChild(spineboy);
Expand Down

0 comments on commit 5921d1d

Please sign in to comment.