-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnakeHead.tscn
33 lines (27 loc) · 940 Bytes
/
SnakeHead.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://SnakeHead.gd" type="Script" id=1]
[ext_resource path="res://2DLight.png" type="Texture" id=2]
[ext_resource path="res://head.png" type="Texture" id=3]
[sub_resource type="CircleShape2D" id=1]
radius = 14.7684
[node name="SnakeHead" type="KinematicBody2D"]
collision_layer = 5
collision_mask = 2147483650
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 15.5597, -6.07507 )
scale = Vector2( 2.5, 2.5 )
texture = ExtResource( 3 )
offset = Vector2( -6.1662, 2.64643 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0.813019, 0.587719 )
rotation = 3.14159
shape = SubResource( 1 )
[node name="Light2D" type="Light2D" parent="."]
scale = Vector2( 3, 3 )
texture = ExtResource( 2 )
texture_scale = 0.79
energy = 0.7
shadow_enabled = true
shadow_color = Color( 0, 0, 0, 1 )
shadow_item_cull_mask = 7