Globally rescaled pixel sizes to be uniform

This commit is contained in:
2026-02-21 11:42:24 +01:00
parent a1e0ec07d7
commit fc093533fd
5 changed files with 11 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
[ext_resource type="Texture2D" uid="uid://cbynycukppmup" path="res://molecular/assets/food/food-right-bottom-bolt.png" id="6_07uaq"] [ext_resource type="Texture2D" uid="uid://cbynycukppmup" path="res://molecular/assets/food/food-right-bottom-bolt.png" id="6_07uaq"]
[sub_resource type="CircleShape2D" id="CircleShape2D_0vfbj"] [sub_resource type="CircleShape2D" id="CircleShape2D_0vfbj"]
radius = 2.0 radius = 5.0
[sub_resource type="SpriteFrames" id="SpriteFrames_oo5vd"] [sub_resource type="SpriteFrames" id="SpriteFrames_oo5vd"]
animations = [{ animations = [{
@@ -71,7 +71,7 @@ shape = NodePath("../CollisionShape2D")
metadata/_custom_type_script = "uid://bvbc0n0pslq7p" metadata/_custom_type_script = "uid://bvbc0n0pslq7p"
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1856148995] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1856148995]
scale = Vector2(0.385, 0.385) texture_filter = 1
sprite_frames = SubResource("SpriteFrames_oo5vd") sprite_frames = SubResource("SpriteFrames_oo5vd")
frame_progress = 0.9373464 frame_progress = 0.9373464

View File

@@ -31,11 +31,11 @@ animations = [{
}] }]
[sub_resource type="CircleShape2D" id="CircleShape2D_5hxmy"] [sub_resource type="CircleShape2D" id="CircleShape2D_5hxmy"]
radius = 378.18 radius = 10.999997
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4flbx"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_4flbx"]
radius = 191.95984 radius = 5.999982
height = 1295.8773 height = 27.990019
[node name="player" type="CharacterBody2D" unique_id=2032508208] [node name="player" type="CharacterBody2D" unique_id=2032508208]
collision_mask = 14 collision_mask = 14
@@ -43,9 +43,9 @@ script = ExtResource("1_0ix7k")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1745800698] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1745800698]
visibility_layer = 2 visibility_layer = 2
scale = Vector2(30, 30)
sprite_frames = SubResource("SpriteFrames_onrkg") sprite_frames = SubResource("SpriteFrames_onrkg")
animation = &"attacking" animation = &"attacking"
frame_progress = 0.20727158
[node name="AttackArea" type="Area2D" parent="." unique_id=187975387] [node name="AttackArea" type="Area2D" parent="." unique_id=187975387]
position = Vector2(0, 56) position = Vector2(0, 56)
@@ -53,7 +53,7 @@ rotation = -1.5732701
collision_mask = 6 collision_mask = 6
[node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea" unique_id=1968501358] [node name="CollisionShape2D" type="CollisionShape2D" parent="AttackArea" unique_id=1968501358]
position = Vector2(41.029465, 288.86832) position = Vector2(55.984985, 6.138512)
shape = SubResource("CircleShape2D_5hxmy") shape = SubResource("CircleShape2D_5hxmy")
debug_color = Color(0.80813414, 0.3957308, 0.3356335, 0.41960785) debug_color = Color(0.80813414, 0.3957308, 0.3356335, 0.41960785)

View File

@@ -89,7 +89,6 @@ tile_set = SubResource("TileSet_ojt85")
[node name="player" parent="." unique_id=862101024 groups=["player"] instance=ExtResource("3_b1jr0")] [node name="player" parent="." unique_id=862101024 groups=["player"] instance=ExtResource("3_b1jr0")]
position = Vector2(120, 144) position = Vector2(120, 144)
scale = Vector2(0.033, 0.033)
[node name="Camera2D" type="Camera2D" parent="player" unique_id=1614218911] [node name="Camera2D" type="Camera2D" parent="player" unique_id=1614218911]
rotation = 3.1415927 rotation = 3.1415927

View File

@@ -92,7 +92,6 @@ animations = [{
}] }]
[node name="HammerheadPredator" type="CharacterBody2D" unique_id=678504815 groups=["predator"]] [node name="HammerheadPredator" type="CharacterBody2D" unique_id=678504815 groups=["predator"]]
scale = Vector2(0.3, 0.3)
collision_layer = 4 collision_layer = 4
collision_mask = 3 collision_mask = 3
motion_mode = 1 motion_mode = 1

View File

@@ -66,15 +66,16 @@ metadata/_custom_type_script = "uid://bvbc0n0pslq7p"
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="1" unique_id=788182944] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="1" unique_id=788182944]
rotation = 1.5707964 rotation = 1.5707964
scale = Vector2(0.1, 0.1)
sprite_frames = SubResource("SpriteFrames_66x8p") sprite_frames = SubResource("SpriteFrames_66x8p")
animation = &"Healthy" animation = &"Healthy"
[node name="CollisionPolygon2D" parent="." index="2"] [node name="CollisionPolygon2D" parent="." index="2"]
light_mask = 2 light_mask = 2
visibility_layer = 2 visibility_layer = 2
position = Vector2(6.929083, 3.0664783) position = Vector2(69, 28)
rotation = 0.474154 rotation = 0.474154
scale = Vector2(10, 10)
polygon = PackedVector2Array(-8.700367, -2.2789505, -5.6133537, -2.1772134, -4.1979375, 0.58079255, -5.9151926, 3.1480935, -8.862037, 2.9326901, -10.268076, 0.28495264)
[node name="StateMachine" type="Node" parent="." index="3" unique_id=445822474 node_paths=PackedStringArray("initial_state")] [node name="StateMachine" type="Node" parent="." index="3" unique_id=445822474 node_paths=PackedStringArray("initial_state")]
script = ExtResource("9_xxtgy") script = ExtResource("9_xxtgy")
@@ -103,6 +104,7 @@ collision_mask = 7
light_mask = 2 light_mask = 2
visibility_layer = 2 visibility_layer = 2
rotation = 1.5707964 rotation = 1.5707964
scale = Vector2(10, 10)
polygon = PackedVector2Array(3.8686981, -6.2705374, 7.0000973, -0.08602524, 3.5555592, 5.6287766, -3.0986624, 5.589636, -6.1517763, 0.031402588, -2.942093, -6.0748243, -29.993027, -74.37026, -11.10141, -83.6233, 9.332382, -84.00884, 35.163773, -77.06906) polygon = PackedVector2Array(3.8686981, -6.2705374, 7.0000973, -0.08602524, 3.5555592, 5.6287766, -3.0986624, 5.589636, -6.1517763, 0.031402588, -2.942093, -6.0748243, -29.993027, -74.37026, -11.10141, -83.6233, 9.332382, -84.00884, 35.163773, -77.06906)
[connection signal="timeout" from="StateMachine/RandomMovement/Timer" to="StateMachine/RandomMovement" method="_on_timer_timeout"] [connection signal="timeout" from="StateMachine/RandomMovement/Timer" to="StateMachine/RandomMovement" method="_on_timer_timeout"]