2022-04-03 06:22:18 +00:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2022-04-02 19:38:43 +00:00
|
|
|
|
2022-04-02 19:42:30 +00:00
|
|
|
[ext_resource path="res://src/mechanics/White.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://src/entities/behaviours/PlayerMovement.tscn" type="PackedScene" id=2]
|
2022-04-03 00:56:09 +00:00
|
|
|
[ext_resource path="res://src/entities/behaviours/BulletSpawn.tscn" type="PackedScene" id=3]
|
2022-04-03 06:20:03 +00:00
|
|
|
[ext_resource path="res://src/entities/behaviours/Damageable.tscn" type="PackedScene" id=4]
|
2022-04-03 06:22:18 +00:00
|
|
|
[ext_resource path="res://src/entities/behaviours/Alliance.tscn" type="PackedScene" id=5]
|
2022-04-02 19:38:43 +00:00
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
extents = Vector2( 16, 16 )
|
|
|
|
|
|
|
|
[node name="Player" type="KinematicBody2D"]
|
2022-04-03 06:20:03 +00:00
|
|
|
collision/safe_margin = 0.02
|
2022-04-02 19:38:43 +00:00
|
|
|
|
2022-04-03 01:14:48 +00:00
|
|
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource( 1 )
|
2022-04-02 19:38:43 +00:00
|
|
|
|
2022-04-03 01:14:48 +00:00
|
|
|
[node name="Sprite" type="Sprite" parent="Shape"]
|
2022-04-02 19:38:43 +00:00
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
2022-04-03 01:14:48 +00:00
|
|
|
[node name="PlayerMovement" parent="." instance=ExtResource( 2 )]
|
2022-04-03 00:53:56 +00:00
|
|
|
|
2022-04-03 00:56:09 +00:00
|
|
|
[node name="BulletSpawn" parent="." instance=ExtResource( 3 )]
|
2022-04-03 06:20:03 +00:00
|
|
|
|
|
|
|
[node name="Damageable" parent="." instance=ExtResource( 4 )]
|
|
|
|
health = 5
|
|
|
|
max_health = 5
|
2022-04-03 06:22:18 +00:00
|
|
|
|
|
|
|
[node name="Alliance" parent="." instance=ExtResource( 5 )]
|
|
|
|
alliance = 1
|