battery art
This commit is contained in:
@@ -1,34 +1,75 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://d324mlmgls4fs"]
|
||||
[gd_scene format=3 uid="uid://d324mlmgls4fs"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bsrn3gd2a532q" path="res://entities/interactables/truck/recharge/scripts/truck_recharge.gd" id="1_ipgcv"]
|
||||
[ext_resource type="Texture2D" uid="uid://dlrj7tyi5wfh8" path="res://entities/interactables/ladder/assets/truck_ladder.png" id="2_87dtp"]
|
||||
[ext_resource type="Texture2D" uid="uid://btd145u4gsl6e" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_Batterie.png" id="2_ot7vv"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="3_jcfmm"]
|
||||
[ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_ot7vv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhi3mwl23flwp" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_Glass_V2.png" id="5_2okh4"]
|
||||
[ext_resource type="Texture2D" uid="uid://c01f6ja6btsep" path="res://entities/interactables/truck/recharge/STW_Props_Batterie_TERRE.png" id="6_2okh4"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bjhct"]
|
||||
radius = 26.0
|
||||
height = 106.0
|
||||
radius = 39.0
|
||||
height = 105.53573
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ot7vv"]
|
||||
atlas = ExtResource("2_87dtp")
|
||||
region = Rect2(64, 161, 101, 205)
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_1vpbi"]
|
||||
font = ExtResource("4_ot7vv")
|
||||
font_size = 30
|
||||
|
||||
[node name="TruckRecharge" type="Area2D"]
|
||||
[node name="TruckRecharge" type="Area2D" unique_id=1099196706]
|
||||
script = ExtResource("1_ipgcv")
|
||||
default_interact_text = "RECHARGE"
|
||||
default_info_title = "RECHARGE_STATION"
|
||||
default_info_desc = "RECHARGE_STATION_DESC_TEXT"
|
||||
metadata/_custom_type_script = "uid://dyprcd68fjstf"
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(1, -14)
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2014886648]
|
||||
position = Vector2(9, -53)
|
||||
shape = SubResource("CapsuleShape2D_bjhct")
|
||||
|
||||
[node name="RechargeStation" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -17)
|
||||
[node name="RechargeStation" type="Sprite2D" parent="." unique_id=1801951226]
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = SubResource("AtlasTexture_ot7vv")
|
||||
texture = ExtResource("2_ot7vv")
|
||||
offset = Vector2(0, -120)
|
||||
|
||||
[node name="Bolt" type="Sprite2D" parent="."]
|
||||
[node name="EnergyTextContainer" type="HBoxContainer" parent="." unique_id=1392320184]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(0, -15)
|
||||
offset_left = -25.0
|
||||
offset_top = -63.0
|
||||
offset_right = 49.0
|
||||
offset_bottom = -15.0
|
||||
rotation = 0.18161926
|
||||
theme_override_constants/separation = 0
|
||||
alignment = 1
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="EnergyTextContainer" unique_id=2088496808]
|
||||
custom_minimum_size = Vector2(30, 0)
|
||||
layout_mode = 2
|
||||
texture = ExtResource("3_jcfmm")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="EnergyText" type="Label" parent="EnergyTextContainer" unique_id=834929477]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
text = "88"
|
||||
label_settings = SubResource("LabelSettings_1vpbi")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Glass" type="Sprite2D" parent="." unique_id=825795322]
|
||||
modulate = Color(1, 1, 1, 0.5294118)
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("5_2okh4")
|
||||
offset = Vector2(0, -120)
|
||||
|
||||
[node name="Terre" type="Sprite2D" parent="." unique_id=1116476976]
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("6_2okh4")
|
||||
offset = Vector2(0, -120)
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1324035615]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=842130596]
|
||||
position = Vector2(14, -56)
|
||||
rotation = 0.18545866
|
||||
shape = SubResource("CapsuleShape2D_bjhct")
|
||||
|
||||
Reference in New Issue
Block a user