mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 23:35:54 +00:00
205 lines
5.7 KiB
Text
205 lines
5.7 KiB
Text
[gd_scene load_steps=25 format=3 uid="uid://bv451a8wgty4u"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/PlayerMovement.cs" id="1_fwei5"]
|
|
[ext_resource type="Texture2D" uid="uid://la06powu57hu" path="res://Sprites/Cirno_Big.png" id="2_7wt5q"]
|
|
[ext_resource type="PackedScene" uid="uid://b1qnfiuokpvsr" path="res://Scenes/bullet.tscn" id="4_nwkfm"]
|
|
[ext_resource type="PackedScene" uid="uid://rp4jhx0tuh24" path="res://Scenes/fragola.tscn" id="4_s7wq6"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_46wey"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 0, 8, 16)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2gpmr"]
|
|
size = Vector2(6, 8)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pdst4"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 0, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s7dqe"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 0, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_irmjj"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(8, 0, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_chuua"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(16, 0, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_nhxfa"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 32, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_tnyrl"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(8, 32, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_awe4i"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(16, 32, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_n0dww"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 48, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_pq4ul"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(8, 48, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w3vni"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(16, 48, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kg1c7"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(0, 16, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qe0jv"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(8, 16, 8, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_6pgul"]
|
|
atlas = ExtResource("2_7wt5q")
|
|
region = Rect2(16, 16, 8, 16)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ur7bf"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pdst4")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_s7dqe")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_irmjj")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_chuua")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_down",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_nhxfa")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_tnyrl")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_awe4i")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_n0dww")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_pq4ul")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_w3vni")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_kg1c7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qe0jv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_6pgul")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk_up",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qui05"]
|
|
size = Vector2(20, 153)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_v0c0p"]
|
|
size = Vector2(141, 13)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5ir3o"]
|
|
size = Vector2(9, 70)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_e3rcm"]
|
|
size = Vector2(134, 7)
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
position = Vector2(38, 39)
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="."]
|
|
position = Vector2(41, -4.31633)
|
|
scale = Vector2(1, 1.23469)
|
|
color = Color(0.278431, 0.8, 0.396078, 1)
|
|
polygon = PackedVector2Array(95, 57, 46, 58, -83, 61, -91, -37, 88, -37, 114, -1)
|
|
|
|
[node name="Player" type="CharacterBody2D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 3
|
|
script = ExtResource("1_fwei5")
|
|
Speed = 1800
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="Player"]
|
|
visible = false
|
|
scale = Vector2(2.5, 1.75)
|
|
texture = SubResource("AtlasTexture_46wey")
|
|
hframes = 3
|
|
vframes = 4
|
|
frame = 1
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player"]
|
|
shape = SubResource("RectangleShape2D_2gpmr")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Player"]
|
|
sprite_frames = SubResource("SpriteFrames_ur7bf")
|
|
animation = &"walk_left"
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2(113, 54.5)
|
|
shape = SubResource("RectangleShape2D_qui05")
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="StaticBody2D"]
|
|
position = Vector2(0, -14.5556)
|
|
scale = Vector2(1, 1.11111)
|
|
polygon = PackedVector2Array(103, -21, 123, -22, 122, 131, 105, 131)
|
|
|
|
[node name="Muro 2" type="StaticBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Muro 2"]
|
|
position = Vector2(32.5, 37.5)
|
|
shape = SubResource("RectangleShape2D_v0c0p")
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Muro 2"]
|
|
position = Vector2(-34.5, -4)
|
|
shape = SubResource("RectangleShape2D_5ir3o")
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Muro 2"]
|
|
position = Vector2(37, -35.5)
|
|
shape = SubResource("RectangleShape2D_e3rcm")
|
|
|
|
[node name="Bullet" parent="." instance=ExtResource("4_nwkfm")]
|
|
position = Vector2(36, 2)
|
|
|
|
[node name="Fragola" parent="." instance=ExtResource("4_s7wq6")]
|
|
position = Vector2(62, 10)
|