Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Naruto committed Jul 10, 2024
2 parents f6897a4 + 76b76d2 commit fd3cf0f
Show file tree
Hide file tree
Showing 135 changed files with 3,123 additions and 1,792 deletions.
2 changes: 1 addition & 1 deletion docs/Player/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</head>
<body>
<!-- pixi.jsの読込 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/8.0.2/pixi.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/8.2.2/pixi.min.js"></script>
<!-- ss6player -->
<script src="./ss6player-pixi.min.js"></script>
<!-- ユーザープログラムの読込 -->
Expand Down
18 changes: 18 additions & 0 deletions docs/Player/sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
//const testVersion = "sampleAnimation1";
//const testVersion = "sampleAnimation2";
const testVersion = "sampleAnimation3";
//const testVersion = "sampleReplaceTexture";

(async () => {
PIXI.sayHello();
Expand Down Expand Up @@ -44,6 +45,11 @@ const testVersion = "sampleAnimation3";
"sampleAnimation3": {
"ssfbFile": "./MeshBone/Knight.ssfb",
"func": Play_sampleAnimation3
},

"sampleReplaceTexture": {
"ssfbFile": "./MeshBone/Knight.ssfb",
"func": Play_sampleReplaceTexture
}
};

Expand Down Expand Up @@ -115,4 +121,16 @@ const testVersion = "sampleAnimation3";
mySS6Player.Play();
}
}

function Play_sampleReplaceTexture() {
let mySS6Player = new ss6PlayerPixi.SS6Player(mySS6Project);
mySS6Player.Setup("Knight_bomb", "Balloon");
mySS6Player.position = new PIXI.Point(320, 480);
mySS6Player.scale = new PIXI.Point(0.5, 0.5);
mySS6Player.SetPartCell('Head', 'Effect', 'Flame');
app.stage.addChild(mySS6Player);

// 再生開始
mySS6Player.Play();
}
})();
4 changes: 2 additions & 2 deletions docs/Player/ss6player-pixi.min.js

Large diffs are not rendered by default.

175 changes: 89 additions & 86 deletions docs/Player/ss6player-pixi.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/Player6/ss6player-pixi6.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fd3cf0f

Please sign in to comment.