21 lines
743 B
Plaintext
21 lines
743 B
Plaintext
|
[gd_scene load_steps=6 format=2]
|
||
|
|
||
|
[ext_resource path="res://components/TintedSpriteComponent.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://entities/SimpleEntity.gd" type="Script" id=2]
|
||
|
[ext_resource path="res://components/ColorComponent.gd" type="Script" id=3]
|
||
|
[ext_resource path="res://components/ClickableComponent.tscn" type="PackedScene" id=4]
|
||
|
[ext_resource path="res://icon.png" type="Texture" id=5]
|
||
|
|
||
|
[node name="SimpleEntity" type="Node2D"]
|
||
|
script = ExtResource( 2 )
|
||
|
|
||
|
[node name="Clickable" parent="." instance=ExtResource( 4 )]
|
||
|
|
||
|
[node name="TintedSprite" type="Sprite" parent="."]
|
||
|
texture = ExtResource( 5 )
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Color" type="Node" parent="."]
|
||
|
script = ExtResource( 3 )
|
||
|
color = Color( 1, 1, 1, 1 )
|