mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-22 19:43:55 +00:00
Camera change
This commit is contained in:
parent
861bcef4dd
commit
6968bbe72b
2 changed files with 14 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=37 format=3 uid="uid://c27co22bjym3c"]
|
[gd_scene load_steps=38 format=3 uid="uid://c27co22bjym3c"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://Scripts/Actors/Camera.cs" id="1_2qb38"]
|
[ext_resource type="Script" path="res://Scripts/Actors/Camera.cs" id="1_2qb38"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cpuffmksk41n4" path="res://Sprites/Actors/Camera.png" id="1_l5lfg"]
|
[ext_resource type="Texture2D" uid="uid://cpuffmksk41n4" path="res://Sprites/Actors/Camera.png" id="1_l5lfg"]
|
||||||
|
|
@ -277,10 +277,17 @@ animations = [{
|
||||||
"speed": 5.0
|
"speed": 5.0
|
||||||
}]
|
}]
|
||||||
|
|
||||||
[node name="Camera" type="Node2D"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_nkpag"]
|
||||||
|
|
||||||
|
[node name="Camera" type="Area2D"]
|
||||||
|
collision_layer = 16
|
||||||
|
collision_mask = 8
|
||||||
script = ExtResource("1_2qb38")
|
script = ExtResource("1_2qb38")
|
||||||
|
|
||||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
sprite_frames = SubResource("SpriteFrames_dvf56")
|
sprite_frames = SubResource("SpriteFrames_dvf56")
|
||||||
animation = &"full_scan"
|
animation = &"full_scan"
|
||||||
frame_progress = 0.779565
|
frame_progress = 0.779565
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource("CircleShape2D_nkpag")
|
||||||
|
|
|
||||||
|
|
@ -95,14 +95,15 @@ texture = ExtResource("1_70kxh")
|
||||||
0:1/0 = 0
|
0:1/0 = 0
|
||||||
0:1/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_l8pdw")
|
0:1/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_l8pdw")
|
||||||
1:1/0 = 0
|
1:1/0 = 0
|
||||||
1:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
1:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||||
2:1/0 = 0
|
2:1/0 = 0
|
||||||
|
2:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||||
3:1/0 = 0
|
3:1/0 = 0
|
||||||
3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, -8, 8, 8, 8, 8, -8)
|
3:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||||
4:1/0 = 0
|
4:1/0 = 0
|
||||||
4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
4:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||||
5:1/0 = 0
|
5:1/0 = 0
|
||||||
5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
5:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
||||||
6:1/0 = 0
|
6:1/0 = 0
|
||||||
6:1/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_uanwu")
|
6:1/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_uanwu")
|
||||||
7:1/0 = 0
|
7:1/0 = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue