fixed basic movement, now add world loading
This commit is contained in:
parent
34ba37312a
commit
50f37ebc5f
23 changed files with 482 additions and 27 deletions
|
|
@ -1,20 +1,28 @@
|
|||
[gd_scene format=3 uid="uid://bjt15rm720w5g"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://duf0vlr2yin8l" path="res://scripts/Player.cs" id="1_p0vlq"]
|
||||
[ext_resource type="Script" uid="uid://b25o2r2lf6nst" path="res://scripts/Visual.cs" id="2_v6fml"]
|
||||
[ext_resource type="Script" uid="uid://duf0vlr2yin8l" path="res://scripts/gameplay/Player.cs" id="1_p0vlq"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_v6fml"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_p0vlq"]
|
||||
|
||||
[sub_resource type="GradientTexture2D" id="GradientTexture2D_v6fml"]
|
||||
gradient = SubResource("Gradient_p0vlq")
|
||||
width = 16
|
||||
height = 16
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=1675096620]
|
||||
script = ExtResource("1_p0vlq")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=554119030]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1337429488]
|
||||
position = Vector2(-15, -16)
|
||||
shape = SubResource("CircleShape2D_v6fml")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="CollisionShape2D" unique_id=2088988808]
|
||||
[node name="Sprite2D" type="Sprite2D" parent="CollisionShape2D" unique_id=554119030]
|
||||
position = Vector2(15, 16)
|
||||
texture = SubResource("GradientTexture2D_v6fml")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="CollisionShape2D" unique_id=1178008943]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
|
|
@ -26,7 +34,5 @@ offset_right = 8.0
|
|||
offset_bottom = 8.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.13958341, 0.81406105, 0, 1)
|
||||
|
||||
[node name="Visual" type="Node2D" parent="." unique_id=630351727]
|
||||
script = ExtResource("2_v6fml")
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=483897590]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue