Skip to content

Commit

Permalink
feat: switch space theme player to the goal-star
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Jan 29, 2024
1 parent 6452861 commit 2fac169
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 40 deletions.
62 changes: 26 additions & 36 deletions src/themes/space/Player.tscn
Original file line number Diff line number Diff line change
@@ -1,56 +1,45 @@
[gd_scene load_steps=10 format=3 uid="uid://csgpsdj4n3rfj"]
[gd_scene load_steps=8 format=3 uid="uid://csgpsdj4n3rfj"]

[ext_resource type="Script" path="res://src/themes/space/Player.gd" id="1_j03dg"]
[ext_resource type="Texture2D" uid="uid://dg0gqnq12lqhl" path="res://src/themes/space/player.png" id="2_aku4m"]
[ext_resource type="Texture2D" uid="uid://br4lr3d2a7upy" path="res://src/themes/space/goal.png" id="2_ha0kb"]

[sub_resource type="AtlasTexture" id="AtlasTexture_t7mnh"]
atlas = ExtResource("2_aku4m")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vy1x6"]
atlas = ExtResource("2_ha0kb")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_5pak4"]
atlas = ExtResource("2_aku4m")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_v2tbi"]
atlas = ExtResource("2_ha0kb")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_esqn7"]
atlas = ExtResource("2_aku4m")
region = Rect2(64, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_177lm"]
atlas = ExtResource("2_ha0kb")
region = Rect2(0, 16, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_058fm"]
atlas = ExtResource("2_aku4m")
region = Rect2(0, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_gapst"]
atlas = ExtResource("2_ha0kb")
region = Rect2(16, 16, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_spah7"]
atlas = ExtResource("2_aku4m")
region = Rect2(32, 32, 32, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_qfkwp"]
atlas = ExtResource("2_aku4m")
region = Rect2(64, 32, 32, 32)

[sub_resource type="SpriteFrames" id="SpriteFrames_f1i4n"]
[sub_resource type="SpriteFrames" id="SpriteFrames_j1q8b"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_t7mnh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5pak4")
"texture": SubResource("AtlasTexture_vy1x6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_esqn7")
"texture": SubResource("AtlasTexture_v2tbi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_058fm")
"texture": SubResource("AtlasTexture_177lm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_spah7")
"texture": SubResource("AtlasTexture_gapst")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qfkwp")
"texture": SubResource("AtlasTexture_vy1x6")
}],
"loop": true,
"name": &"orbit",
"speed": 4.0
"name": &"goal",
"speed": 10.0
}]

[node name="Player" type="Node2D" groups=["player"]]
Expand All @@ -59,14 +48,15 @@ script = ExtResource("1_j03dg")

[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_f1i4n")
animation = &"orbit"
scale = Vector2(2, 2)
sprite_frames = SubResource("SpriteFrames_j1q8b")
animation = &"goal"
metadata/_aseprite_wizard_config_ = {
"layer": "",
"o_ex_p": "",
"o_folder": "",
"o_name": "",
"only_visible": false,
"op_exp": false,
"source": "res://src/themes/space/assets/player.aseprite"
"source": "res://src/themes/space/assets/goal.aseprite"
}
8 changes: 4 additions & 4 deletions src/themes/space/SpacePuzzle.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ script = ExtResource("5_3250r")
type = 1
square_size = 32

[node name="@Node2D@55879" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
[node name="@Node2D@29905" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
position = Vector2(64, 32)
script = ExtResource("5_3250r")
square_size = 32

[node name="@Node2D@55880" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
[node name="@Node2D@29906" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
position = Vector2(96, 32)
script = ExtResource("5_3250r")
square_size = 32

[node name="@Node2D@55881" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
[node name="@Node2D@29907" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
position = Vector2(128, 32)
script = ExtResource("5_3250r")
square_size = 32

[node name="@Node2D@55882" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
[node name="@Node2D@29908" type="Node2D" parent="." groups=["generated"] instance=ExtResource("4_sim88")]
position = Vector2(160, 32)
script = ExtResource("5_3250r")
type = 2
Expand Down

0 comments on commit 2fac169

Please sign in to comment.