2022-08-19 18:48:54 +02:00
|
|
|
[gd_scene load_steps=7 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://Entities/PlayerEntity.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://Components/TintedSpriteComponent.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://Components/MovableComponent.gd" type="Script" id=5]
|
|
|
|
[ext_resource path="res://Assets/pirate.svg" type="Texture" id=6]
|
|
|
|
|
|
|
|
[node name="PlayerEntity" type="Node2D"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="Components" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Movable" type="Node2D" parent="Components"]
|
|
|
|
script = ExtResource( 5 )
|
2022-08-19 19:13:39 +02:00
|
|
|
max_speed = 1000
|
2022-08-19 18:48:54 +02:00
|
|
|
|
|
|
|
[node name="Clickable" parent="Components" instance=ExtResource( 4 )]
|
|
|
|
|
|
|
|
[node name="TintedSprite" type="Sprite" parent="Components"]
|
|
|
|
texture = ExtResource( 6 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
|
|
|
|
[node name="Color" type="Node" parent="Components"]
|
|
|
|
script = ExtResource( 3 )
|