Basic player controls and aiming
This commit is contained in:
parent
56695d303e
commit
f5999da412
114 changed files with 6611 additions and 2 deletions
|
@ -1,3 +1,43 @@
|
|||
[gd_scene format=3 uid="uid://1hsgdbtvb8tt"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://1hsgdbtvb8tt"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://dfx8h6eplcm6t" path="res://objects/player/player.tscn" id="1_a3fvc"]
|
||||
[ext_resource type="PackedScene" uid="uid://bcwkugn6v3oy7" path="res://addons/godot_state_charts/utilities/state_chart_debugger.tscn" id="1_no0gr"]
|
||||
[ext_resource type="Texture2D" uid="uid://e6ubhnakxe0i" path="res://icon.svg" id="2_8xgwn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yvk4l"]
|
||||
size = Vector2(265, 20)
|
||||
|
||||
[node name="TestScene" type="Node2D"]
|
||||
|
||||
[node name="Background" type="CanvasLayer" parent="."]
|
||||
layer = -50
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Background"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.121569, 0.0431373, 0.0431373, 1)
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("1_a3fvc")]
|
||||
position = Vector2(196, 151)
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
||||
position = Vector2(168, 225)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
|
||||
position = Vector2(2.5, 0)
|
||||
shape = SubResource("RectangleShape2D_yvk4l")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="StaticBody2D"]
|
||||
position = Vector2(3.30127, 0.33395)
|
||||
scale = Vector2(2.07292, 0.161388)
|
||||
texture = ExtResource("2_8xgwn")
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="StateChartDebugger" parent="CanvasLayer" instance=ExtResource("1_no0gr")]
|
||||
offset_right = -159.0
|
||||
initial_node_to_watch = NodePath("../../Player")
|
||||
|
|
Reference in a new issue