Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/20240710 #199

Merged
merged 16 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
node-version: [18.x, 20.x]
node-version: [18.x, 20.x, 22.x]

env:
CI: true
Expand Down
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
Loading