-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
createSpritesheet mvp
- Loading branch information
Showing
27 changed files
with
286 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@threejs-kit/instanced-sprite-mesh": minor | ||
--- | ||
|
||
createSpritesheet utility function for combining multiple image files into one and generating metadata for instancing |
Binary file added
BIN
+6.74 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/All Characters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.41 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Flying_eye/Attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.19 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Flying_eye/Death.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.43 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Flying_eye/Flight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.05 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Flying_eye/Hit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.85 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Goblin/Attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.87 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Goblin/Death.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.51 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Goblin/Idle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.77 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Goblin/Run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.97 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Goblin/Take Hit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.84 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Mushroom/Attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.43 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Mushroom/Death.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.7 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Mushroom/Idle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.33 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Mushroom/Run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.28 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Mushroom/Take Hit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.47 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Attack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.43 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Death.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.7 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Idle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.45 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Shield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.34 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Take Hit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.73 KB
apps/docs/src/assets/sprite/Monsters_Creatures_Fantasy/Skeleton/Walk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
178 changes: 0 additions & 178 deletions
178
apps/playground/src/routes/instanced-sprite/spriteBuilder.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export { InstancedSpriteMesh } from "./InstancedSpriteMesh"; | ||
|
||
export { makeDataTexture, parseAseprite } from "./material"; | ||
export { createSpritesheet } from "./spriteBuilder"; | ||
|
||
export type { SpritesheetFormat } from "./material"; |
Oops, something went wrong.
f702c14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
threejs-kit-playground – ./apps/playground
threejs-kit-playground-git-main-jerzakm.vercel.app
threejs-kit-playground.vercel.app
threejs-kit-playground-jerzakm.vercel.app