initial uncanny work
This commit is contained in:
parent
ab2d42ccd9
commit
8165cda61c
11 changed files with 132 additions and 12 deletions
47
objects/uncanny_cat.tscn
Normal file
47
objects/uncanny_cat.tscn
Normal file
|
@ -0,0 +1,47 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://bndtsprfwrkau"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://1mhmcaluavhg" path="res://objects/uncanny_cat.gd" id="1_bsm3e"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2a63sfnh6il" path="res://assets/textures/chaser/uncanny.png" id="2_eotxf"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_eotxf"]
|
||||
radius = 0.45
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eotxf"]
|
||||
transparency = 3
|
||||
alpha_hash_scale = 1.0
|
||||
alpha_antialiasing_mode = 0
|
||||
no_depth_test = true
|
||||
shading_mode = 0
|
||||
albedo_color = Color(1, 0, 0, 0.501961)
|
||||
albedo_texture = ExtResource("2_eotxf")
|
||||
texture_filter = 0
|
||||
billboard_mode = 1
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_ixuei"]
|
||||
|
||||
[node name="UncannyCat" type="CharacterBody3D"]
|
||||
collision_layer = 32
|
||||
collision_mask = 32
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_bsm3e")
|
||||
acceleration = 0.6
|
||||
speed = 1.5
|
||||
vertical_speed = 0.5
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("SphereShape3D_eotxf")
|
||||
|
||||
[node name="Sprite3D" type="Sprite3D" parent="."]
|
||||
material_overlay = SubResource("StandardMaterial3D_eotxf")
|
||||
pixel_size = 0.0313
|
||||
billboard = 1
|
||||
texture_filter = 0
|
||||
texture = ExtResource("2_eotxf")
|
||||
|
||||
[node name="PlayerDetector" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
monitorable = false
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="PlayerDetector"]
|
||||
shape = SubResource("SphereShape3D_ixuei")
|
Loading…
Add table
Add a link
Reference in a new issue