-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPotPlant.tscn
50 lines (40 loc) · 1.23 KB
/
PotPlant.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[gd_scene load_steps=9 format=2]
[ext_resource path="res://billboards.png" type="Texture" id=1]
[ext_resource path="res://PotPlant.gd" type="Script" id=2]
[sub_resource type="CapsuleShape" id=1]
radius = 0.3
height = 1.2
[sub_resource type="AtlasTexture" id=2]
flags = 18
atlas = ExtResource( 1 )
[sub_resource type="AnimatedTexture" id=3]
flags = 18
frame_0/texture = SubResource( 2 )
[sub_resource type="SpatialMaterial" id=4]
params_billboard_mode = 2
params_use_alpha_scissor = true
params_alpha_scissor_threshold = 0.98
albedo_texture = SubResource( 3 )
[sub_resource type="AtlasTexture" id=5]
flags = 18
atlas = ExtResource( 1 )
region = Rect2( 0, 64, 16, 32 )
[sub_resource type="SpriteFrames" id=6]
animations = [ {
"frames": [ SubResource( 5 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[node name="PotPlant" type="KinematicBody"]
collision_layer = 2147483649
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
shape = SubResource( 1 )
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
material_override = SubResource( 4 )
pixel_size = 0.0625
billboard = 2
frames = SubResource( 6 )
playing = true