2022-08-19 18:48:54 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2022-08-17 00:50:30 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://Components/TintedSpriteComponent.gd" type="Script" id=1]
|
2022-08-19 18:48:54 +02:00
|
|
|
[ext_resource path="res://Entities/SimpleEntity.gd" type="Script" id=2]
|
2022-08-17 00:50:30 +02:00
|
|
|
[ext_resource path="res://Components/ColorComponent.gd" type="Script" id=3]
|
2022-08-19 18:48:54 +02:00
|
|
|
[ext_resource path="res://Components/ClickableComponent.tscn" type="PackedScene" id=4]
|
2022-08-17 00:50:30 +02:00
|
|
|
[ext_resource path="res://icon.png" type="Texture" id=5]
|
|
|
|
|
|
|
|
[node name="SimpleEntity" type="Node2D"]
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Components" type="Node2D" parent="."]
|
|
|
|
|
2022-08-19 18:48:54 +02:00
|
|
|
[node name="Clickable" parent="Components" instance=ExtResource( 4 )]
|
2022-08-17 00:50:30 +02:00
|
|
|
|
|
|
|
[node name="TintedSprite" type="Sprite" parent="Components"]
|
|
|
|
texture = ExtResource( 5 )
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Color" type="Node" parent="Components"]
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
color = Color( 1, 1, 1, 1 )
|