Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…o main
  • Loading branch information
SheepTester committed Jun 7, 2024
2 parents 74ec924 + b23b9df commit b482f84
Show file tree
Hide file tree
Showing 9 changed files with 12,772 additions and 6 deletions.
5 changes: 5 additions & 0 deletions assets/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { magic_sauce } from "./magic_sauce";
import { mushroom } from "./mushroom";
import { pickaxe } from "./pickaxe";
import { player_blue } from "./player_blue";
import { player_blue_slap1, player_blue_slap2, player_blue_slap3 } from "./player_blue/slap";
import { player_green } from "./player_green";
import { player_red } from "./player_red";
import { player_yellow } from "./player_yellow";
Expand Down Expand Up @@ -68,6 +69,10 @@ export const getModels = (engine: GraphicsEngine) =>
mushroom: GltfModelWrapper.from(engine.gltfMaterial, mushroom),
pickaxe: GltfModelWrapper.from(engine.gltfMaterial, pickaxe),
player_blue: GltfModelWrapper.from(engine.gltfMaterial, player_blue),
player_blue_slap1: GltfModelWrapper.from(engine.gltfMaterial, player_blue_slap1),
player_blue_slap2: GltfModelWrapper.from(engine.gltfMaterial, player_blue_slap2),
player_blue_slap3: GltfModelWrapper.from(engine.gltfMaterial, player_blue_slap3),

player_green: GltfModelWrapper.from(engine.gltfMaterial, player_green),
player_red: GltfModelWrapper.from(engine.gltfMaterial, player_red),
player_yellow: GltfModelWrapper.from(engine.gltfMaterial, player_yellow),
Expand Down
11 changes: 11 additions & 0 deletions assets/models/player_blue/slap/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { parseGltf } from "../../../../common/gltf/gltf-parser";
import bin1 from "./player_blue_slap1.bin";
import bin2 from "./player_blue_slap2.bin";
import bin3 from "./player_blue_slap3.bin";
import root1 from "./player_blue_slap1.gltf";
import root2 from "./player_blue_slap2.gltf";
import root3 from "./player_blue_slap3.gltf";

export const player_blue_slap1 = parseGltf(root1, { "player_blue_slap1.bin": bin1 });
export const player_blue_slap2 = parseGltf(root2, { "player_blue_slap2.bin": bin2 });
export const player_blue_slap3 = parseGltf(root3, { "player_blue_slap3.bin": bin3 });
Binary file not shown.
Loading

0 comments on commit b482f84

Please sign in to comment.