-
Notifications
You must be signed in to change notification settings - Fork 0
/
creature.tscn
28 lines (21 loc) · 874 Bytes
/
creature.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
[gd_scene load_steps=5 format=3 uid="uid://ba2bvy524j3nj"]
[ext_resource type="Shader" path="res://circle.gdshader" id="1_ihvhb"]
[ext_resource type="Script" path="res://creature.gd" id="1_mffnd"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_jlkm7"]
shader = ExtResource("1_ihvhb")
[sub_resource type="CircleShape2D" id="CircleShape2D_ox7pb"]
radius = 9.0
[node name="Creature" type="Node2D"]
script = ExtResource("1_mffnd")
[node name="CBody" type="CharacterBody2D" parent="."]
collision_layer = 2
collision_mask = 0
[node name="ColorRect" type="ColorRect" parent="CBody"]
material = SubResource("ShaderMaterial_jlkm7")
offset_left = -9.0
offset_top = -9.0
offset_right = 9.0
offset_bottom = 9.0
color = Color(0.481789, 0.481789, 0.481789, 1)
[node name="CollisionShape2D" type="CollisionShape2D" parent="CBody"]
shape = SubResource("CircleShape2D_ox7pb")