-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGingerbreadMan.tscn
56 lines (45 loc) · 1.41 KB
/
GingerbreadMan.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
51
52
53
54
55
56
[gd_scene load_steps=10 format=2]
[ext_resource path="res://billboards.png" type="Texture" id=1]
[ext_resource path="res://GingerbreadMan.gd" type="Script" id=2]
[sub_resource type="CapsuleShape" id=1]
radius = 0.471097
height = 0.253558
[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_cull_mode = 2
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( 96, 32, 16, 32 )
[sub_resource type="AtlasTexture" id=6]
flags = 18
atlas = ExtResource( 1 )
region = Rect2( 112, 32, 16, 32 )
[sub_resource type="SpriteFrames" id=7]
animations = [ {
"frames": [ SubResource( 5 ), SubResource( 6 ) ],
"loop": true,
"name": "default",
"speed": 0.8
} ]
[node name="GingerbreadMan" 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.4, 0 )
shape = SubResource( 1 )
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
material_override = SubResource( 4 )
pixel_size = 0.0625
billboard = 2
frames = SubResource( 7 )
playing = true