week 2 update
This commit is contained in:
1 parent
4f0ed45ab5
commit
616afe6dbb
12 files changed
+214
-40
No files matched your search
@@ -0,0 +1,13 @@
|
||||
[gd_scene format=3 uid="uid://dvg70drsbendq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://u1ubij2eih4r" path="res://Scripts/bullet.gd" id="1_xjght"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4mw4s"]
|
||||
size = Vector2(10, 4)
|
||||
|
||||
[node name="Bullet" type="Area2D" unique_id=1549351635]
|
||||
script = ExtResource("1_xjght")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=687436499]
|
||||
shape = SubResource("RectangleShape2D_4mw4s")
|
||||
debug_color = Color(0.9064841, 0.22817236, 0.5106338, 0.41960785)
|
||||
+4
-23
@@ -1,17 +1,13 @@
|
||||
[gd_scene format=3 uid="uid://bportqr2j3d7s"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bwyucgbes44rd" path="res://Scripts/trigger.gd" id="1_ebmjs"]
|
||||
[ext_resource type="Script" uid="uid://cvrssvw6p8myl" path="res://Scripts/game.gd" id="1_wrm1d"]
|
||||
[ext_resource type="Script" uid="uid://bfh1ec3bb5oki" path="res://Scripts/scene_manager.gd" id="2_3dryh"]
|
||||
[ext_resource type="Script" uid="uid://cq2vf132xjtli" path="res://Scripts/player.gd" id="2_qxrlw"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyb6tnhpivflf" path="res://Scenes/trigger.tscn" id="3_i6g32"]
|
||||
[ext_resource type="PackedScene" uid="uid://b5y6rb2t0eaqr" path="res://Scenes/crate.tscn" id="3_wowpa"]
|
||||
[ext_resource type="PackedScene" uid="uid://en40721f6qwj" path="res://Scenes/player.tscn" id="4_wowpa"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_2poj3"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ebmjs"]
|
||||
|
||||
[node name="Game" type="Node2D" unique_id=1651082265]
|
||||
script = ExtResource("1_wrm1d")
|
||||
|
||||
@@ -43,25 +39,11 @@ metadata/_edit_group_ = true
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Floor3" unique_id=92737610]
|
||||
shape = SubResource("RectangleShape2D_2poj3")
|
||||
|
||||
[node name="Trigger" type="Area2D" parent="." unique_id=1126418572]
|
||||
[node name="Trigger" parent="." unique_id=1055766094 instance=ExtResource("3_i6g32")]
|
||||
position = Vector2(627, 517)
|
||||
scale = Vector2(4.6, 4.6)
|
||||
script = ExtResource("1_ebmjs")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Trigger" unique_id=2040815744]
|
||||
shape = SubResource("CircleShape2D_2poj3")
|
||||
debug_color = Color(0.47473383, 0.5864115, 0.1707469, 0.41960785)
|
||||
|
||||
[node name="Player" type="CharacterBody2D" parent="." unique_id=1131424030]
|
||||
[node name="Player" parent="." unique_id=478864706 instance=ExtResource("4_wowpa")]
|
||||
position = Vector2(538.00006, 420)
|
||||
scale = Vector2(1.64, 1.64)
|
||||
script = ExtResource("2_qxrlw")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player" unique_id=628686782]
|
||||
shape = SubResource("CircleShape2D_ebmjs")
|
||||
debug_color = Color(0.6308279, 0.36922106, 0.95607406, 0.41960785)
|
||||
|
||||
[node name="Crates" type="Node2D" parent="." unique_id=799685623]
|
||||
|
||||
@@ -72,4 +54,3 @@ position = Vector2(683, 406)
|
||||
position = Vector2(716, 382)
|
||||
|
||||
[connection signal="areaTriggerSignal" from="Trigger" to="." method="_on_trigger"]
|
||||
[connection signal="body_entered" from="Trigger" to="Trigger" method="_on_body_entered"]
|
||||
@@ -0,0 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://en40721f6qwj"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cq2vf132xjtli" path="res://Scripts/player.gd" id="1_v0iea"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ebmjs"]
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=478864706]
|
||||
scale = Vector2(1.64, 1.64)
|
||||
script = ExtResource("1_v0iea")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=842765438]
|
||||
shape = SubResource("CircleShape2D_ebmjs")
|
||||
debug_color = Color(0.6308279, 0.36922106, 0.95607406, 0.41960785)
|
||||
|
||||
[node name="RightCast" type="RayCast2D" parent="." unique_id=448970826]
|
||||
target_position = Vector2(17.073172, 0)
|
||||
|
||||
[node name="LeftCast" type="RayCast2D" parent="." unique_id=1038607459]
|
||||
target_position = Vector2(-17.073172, 0)
|
||||
|
||||
[node name="RightSpawn" type="Marker2D" parent="." unique_id=1358832037]
|
||||
position = Vector2(11.585366, -8.536586)
|
||||
|
||||
[node name="LeftSpawn" type="Marker2D" parent="." unique_id=1880777693]
|
||||
position = Vector2(-12.195123, -8.536585)
|
||||
@@ -0,0 +1,16 @@
|
||||
[gd_scene format=3 uid="uid://dyb6tnhpivflf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bwyucgbes44rd" path="res://Scripts/trigger.gd" id="1_vcq5i"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_2poj3"]
|
||||
|
||||
[node name="Trigger" type="Area2D" unique_id=1055766094]
|
||||
scale = Vector2(4.6, 4.6)
|
||||
script = ExtResource("1_vcq5i")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1717927145]
|
||||
shape = SubResource("CircleShape2D_2poj3")
|
||||
debug_color = Color(0.47473383, 0.5864115, 0.1707469, 0.41960785)
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
Reference in new issue
Block a user