battery art

This commit is contained in:
Altaezio
2026-02-26 18:31:40 +01:00
parent b3cd816a14
commit 34a8273063
17 changed files with 255 additions and 48 deletions

View File

@@ -16,6 +16,6 @@ func get_usage_zone_radius() -> int:
return TROWEL_ZONE_RADIUS
func harvest(p : Plant, player: Player):
ProduceSeedsEffect.new(1).effect(p)
# ProduceSeedsEffect.new(1).effect(p)
AudioManager.play_sfx("Harvest")
p.harvest()

View File

@@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://dompaj451gklw" path="res://entities/player/assets/sprites/movement_particles.png" id="2_bls4j"]
[ext_resource type="Texture2D" uid="uid://ys5fis3gsnoy" path="res://entities/player/assets/sprites/shadow.png" id="2_fkugw"]
[ext_resource type="Texture2D" uid="uid://c7ff87jniga5m" path="res://entities/player/assets/sprites/robot.png" id="4_bls4j"]
[ext_resource type="Script" uid="uid://b1mmtgmi5oq86" path="res://entities/player/scripts/player_sprite.gd" id="5_fkugw"]
[ext_resource type="Script" path="res://entities/player/scripts/player_sprite.gd" id="5_fkugw"]
[sub_resource type="CircleShape2D" id="CircleShape2D_sglur"]
radius = 27.0
@@ -164,12 +164,6 @@ script = ExtResource("1_abrql")
position = Vector2(0, -17)
shape = SubResource("CircleShape2D_sglur")
[node name="Shadow" type="Sprite2D" parent="." unique_id=875064259]
modulate = Color(0, 0, 0, 0.41568628)
position = Vector2(-1, 13)
scale = Vector2(0.41025653, 0.41025642)
texture = ExtResource("2_fkugw")
[node name="InteractArea2D" type="Area2D" parent="." unique_id=1048722411]
position = Vector2(0, -12)
@@ -186,13 +180,19 @@ gravity = Vector2(0, 100)
scale_amount_curve = SubResource("Curve_fkugw")
color_ramp = SubResource("Gradient_bls4j")
[node name="Shadow" type="Sprite2D" parent="." unique_id=875064259]
modulate = Color(0, 0, 0, 0.41568628)
z_index = -1
scale = Vector2(0.41025653, 0.41025642)
texture = ExtResource("2_fkugw")
[node name="PlayerSprite" type="AnimatedSprite2D" parent="." unique_id=638545037]
unique_name_in_owner = true
position = Vector2(0.99999994, -17)
scale = Vector2(0.0656168, 0.065616846)
sprite_frames = SubResource("SpriteFrames_a1qjk")
animation = &"front_right"
frame_progress = 0.46771586
animation = &"right"
offset = Vector2(0, -370)
script = ExtResource("5_fkugw")
wanted_orientation = 2