1
Fork 0
mirror of https://github.com/RYGhub/the-cold-night.git synced 2024-11-26 14:34:18 +00:00
the-cold-night/src/entities/Player.tscn

30 lines
1.1 KiB
Text

[gd_scene load_steps=7 format=2]
[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]
[ext_resource path="res://src/entities/behaviours/BulletSpawn.tscn" type="PackedScene" id=3]
[ext_resource path="res://src/entities/behaviours/Damageable.tscn" type="PackedScene" id=4]
[ext_resource path="res://src/entities/behaviours/Alliance.tscn" type="PackedScene" id=5]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="Player" type="KinematicBody2D"]
collision/safe_margin = 0.02
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="Shape"]
texture = ExtResource( 1 )
[node name="PlayerMovement" parent="." instance=ExtResource( 2 )]
[node name="BulletSpawn" parent="." instance=ExtResource( 3 )]
[node name="Damageable" parent="." instance=ExtResource( 4 )]
health = 5
max_health = 5
[node name="Alliance" parent="." instance=ExtResource( 5 )]
alliance = 1