This commit is contained in:
2025-04-16 01:17:59 +02:00
parent e34491f7ec
commit 43321d4961
8 changed files with 4193 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
[gd_scene load_steps=5 format=3 uid="uid://c2kjfysadph28"]
[gd_scene load_steps=6 format=3 uid="uid://c2kjfysadph28"]
[ext_resource type="Texture2D" uid="uid://bsd3o6sy0cdc5" path="res://icon.svg" id="1_uwrxv"]
[ext_resource type="PackedScene" uid="uid://dsgumv1053wb2" path="res://scenes/player.tscn" id="2_lnu2h"]
[ext_resource type="PackedScene" uid="uid://dfbqg6cxhbpng" path="res://scenes/ground.tscn" id="3_lbhrr"]
[ext_resource type="PackedScene" uid="uid://c7aoap751lfgh" path="res://scenes/sheep.tscn" id="4_lbhrr"]
[ext_resource type="PackedScene" uid="uid://cnls421snxj5r" path="res://scenes/wolf.tscn" id="5_iywne"]
[node name="Game" type="Node3D"]
@@ -22,3 +23,6 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 7.7
[node name="Sheep" parent="." instance=ExtResource("4_lbhrr")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.713965, -7.41454)
[node name="Wolf" parent="." instance=ExtResource("5_iywne")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.11468, 1.36518, -4.14155)

View File

@@ -10,9 +10,9 @@ size = Vector3(1.54871, 1.2314, 1)
script = ExtResource("1_gw4f6")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.530004, 0)
transform = Transform3D(0.644337, 0, 0, 0, 0.644337, 0, 0, 0, 0.644337, 0.0133002, -0.420118, 0)
mesh = ExtResource("1_t8l8v")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.074353, 0.0843018, 0)
transform = Transform3D(0.642242, 0, 0, 0, 0.642242, 0, 0, 0, 0.642242, 0.0610528, -0.0255847, 0)
shape = SubResource("BoxShape3D_t8l8v")

18
scenes/wolf.tscn Normal file
View File

@@ -0,0 +1,18 @@
[gd_scene load_steps=4 format=3 uid="uid://cnls421snxj5r"]
[ext_resource type="Script" uid="uid://c4f71wtyrktkq" path="res://scripts/wolf.gd" id="1_jrowp"]
[ext_resource type="ArrayMesh" uid="uid://eqjkgu2h3c5l" path="res://assets/wolf/Wolf.obj" id="1_xsq4n"]
[sub_resource type="BoxShape3D" id="BoxShape3D_xsq4n"]
size = Vector3(1, 1, 1.44244)
[node name="Wolf" type="CharacterBody3D"]
script = ExtResource("1_jrowp")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.0064462, 0, 0, 0, 0.0064462, 0, 0, 0, 0.0064462, 0, -0.548508, 0)
mesh = ExtResource("1_xsq4n")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0223495, -0.00924683)
shape = SubResource("BoxShape3D_xsq4n")