-
Notifications
You must be signed in to change notification settings - Fork 0
/
Enemy.tscn
40 lines (32 loc) · 1.04 KB
/
Enemy.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://billboards.png" type="Texture" id=1]
[ext_resource path="res://Enemy.gd" type="Script" id=2]
[sub_resource type="AtlasTexture" id=1]
flags = 18
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 16, 16 )
[sub_resource type="SpatialMaterial" id=2]
params_cull_mode = 2
params_billboard_mode = 2
params_use_alpha_scissor = true
params_alpha_scissor_threshold = 0.98
albedo_texture = SubResource( 1 )
[sub_resource type="AtlasTexture" id=3]
flags = 18
atlas = ExtResource( 1 )
region = Rect2( 0, 16, 16, 32 )
[sub_resource type="CapsuleShape" id=4]
radius = 0.3
height = 1.2
[node name="Enemy" type="KinematicBody"]
collision_layer = 2147483649
collision_mask = 3
script = ExtResource( 2 )
[node name="Sprite3D" type="Sprite3D" parent="."]
material_override = SubResource( 2 )
pixel_size = 0.0625
billboard = 2
texture = SubResource( 3 )
[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( 4 )