assets/models/cube-pets/License.txt
+0
-0
diff --git a/assets/models/License.txt b/assets/models/cube-pets/License.txt
similarity index 100%
rename from assets/models/License.txt
rename to assets/models/cube-pets/License.txt
assets/models/cube-pets/Textures/colormap.png
+0
-0
diff --git a/assets/models/Textures/colormap.png b/assets/models/cube-pets/Textures/colormap.png
similarity index 100%
rename from assets/models/Textures/colormap.png
rename to assets/models/cube-pets/Textures/colormap.png
Binary files a/assets/models/Textures/colormap.png and b/assets/models/cube-pets/Textures/colormap.png differ
assets/models/cube-pets/animal-bunny.glb
+0
-0
diff --git a/assets/models/animal-bunny.glb b/assets/models/cube-pets/animal-bunny.glb
similarity index 100%
rename from assets/models/animal-bunny.glb
rename to assets/models/cube-pets/animal-bunny.glb
Binary files a/assets/models/animal-bunny.glb and b/assets/models/cube-pets/animal-bunny.glb differ
assets/models/cube-pets/animal-dog.glb
+0
-0
diff --git a/assets/models/animal-dog.glb b/assets/models/cube-pets/animal-dog.glb
similarity index 100%
rename from assets/models/animal-dog.glb
rename to assets/models/cube-pets/animal-dog.glb
Binary files a/assets/models/animal-dog.glb and b/assets/models/cube-pets/animal-dog.glb differ
assets/models/fantasy-town-kit/License.txt
+28
-0
diff --git a/assets/models/fantasy-town-kit/License.txt b/assets/models/fantasy-town-kit/License.txt
new file mode 100644
index 0000000..6cd074a
@@ -0,0 +1,28 @@
Fantasy Town Kit (2.0)
Created/distributed by Kenney (www.kenney.nl)
Creation date: 03-08-2025 13:56
------------------------------
License: (Creative Commons Zero, CC0)
http://creativecommons.org/publicdomain/zero/1.0/
You can use this content for personal, educational, and commercial purposes.
Support by crediting 'Kenney' or 'www.kenney.nl' (this is not a requirement)
------------------------------
• Website : www.kenney.nl
• Donate : www.kenney.nl/donate
• Patreon : patreon.com/kenney
Follow on social media for updates:
• Twitter: twitter.com/KenneyNL
• BlueSky: kenney.bsky.social
• Instagram: instagram.com/kenney_nl
\ No newline at end of file
assets/models/fantasy-town-kit/Textures/colormap.png
+0
-0
diff --git a/assets/models/fantasy-town-kit/Textures/colormap.png b/assets/models/fantasy-town-kit/Textures/colormap.png
new file mode 100644
index 0000000..a20ad94
Binary files /dev/null and b/assets/models/fantasy-town-kit/Textures/colormap.png differ
assets/models/fantasy-town-kit/fence.glb
+0
-0
diff --git a/assets/models/fence.glb b/assets/models/fantasy-town-kit/fence.glb
similarity index 100%
rename from assets/models/fence.glb
rename to assets/models/fantasy-town-kit/fence.glb
Binary files a/assets/models/fence.glb and b/assets/models/fantasy-town-kit/fence.glb differ
docs/screenshot.png
+0
-0
diff --git a/docs/screenshot.png b/docs/screenshot.png
index e8352e9..8613deb 100644
Binary files a/docs/screenshot.png and b/docs/screenshot.png differ
src/bunny.rs
+2
-1
diff --git a/src/bunny.rs b/src/bunny.rs
index 990b51d..08b89ce 100644
@@ -54,7 +54,8 @@ const DESIRED_SPEED: f32 = 10.0;
const SPEED: f32 = SCARED_JUMP_DISTANCE / (SCARED_JUMP_DISTANCE / DESIRED_SPEED - JUMP_COOLDOWN);
fn setup(mut commands: Commands, asset_server: Res<AssetServer>, mut meshes: ResMut<Assets<Mesh>>) {
let model = asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/animal-bunny.glb"));
let model =
asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/cube-pets/animal-bunny.glb"));
let mesh = meshes.add(Cuboid::from_length(2.0).mesh().build());
commands.spawn((
src/dog.rs
+4
-1
diff --git a/src/dog.rs b/src/dog.rs
index 78f4468..5d260f9 100644
@@ -39,7 +39,10 @@ fn setup(mut commands: Commands, asset_server: Res<AssetServer>, mut meshes: Res
let mesh = meshes.add(Cuboid::from_length(2.0).mesh().build());
commands.spawn((
SceneRoot(asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/animal-dog.glb"))),
SceneRoot(
asset_server
.load(GltfAssetLabel::Scene(0).from_asset("models/cube-pets/animal-dog.glb")),
),
Transform::from_xyz(0.0, 0.0, 0.0),
Mesh3d(mesh),
Dog::default(),
src/main.rs
+2
-1
diff --git a/src/main.rs b/src/main.rs
index 4efd076..baf1e7a 100644
@@ -58,7 +58,8 @@ fn setup_fences(
asset_server: Res<AssetServer>,
mut meshes: ResMut<Assets<Mesh>>,
) {
let model = asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/fence.glb"));
let model =
asset_server.load(GltfAssetLabel::Scene(0).from_asset("models/fantasy-town-kit/fence.glb"));
let mesh = meshes.add(
Cuboid::from_length(1.0)
.mesh()