first commit

This commit is contained in:
JayisonDevadas committed 2025-06-10 10:13:01 -04:00
commit cf94316dae
21 files changed
+363

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
[gd_scene load_steps=3 format=3 uid="uid://cc7r60jbw6uyo"]
[ext_resource type="Script" uid="uid://bayboh7t0ss7p" path="res://scripts/bullet.gd" id="1_mkf8s"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
size = Vector2(18, 6)
[node name="Bullet" type="Area2D"]
script = ExtResource("1_mkf8s")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_y25gk")
debug_color = Color(0.690582, 0.49486, 0.146364, 0.42)
+11
View File
@@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://dm0s1wei11x43"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uwrxv"]
[node name="RigidBody2D3" type="RigidBody2D"]
rotation = 1.00826
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_uwrxv")
debug_color = Color(0.869503, 0.340519, 0.233585, 0.42)
+51
View File
@@ -0,0 +1,51 @@
[gd_scene load_steps=8 format=3 uid="uid://dc4obqdsdq81h"]
[ext_resource type="Script" uid="uid://dflv3rb4v8c0r" path="res://scripts/gamecontroller.gd" id="1_lnu2h"]
[ext_resource type="Script" uid="uid://lbasdkinbtif" path="res://scripts/scene_manager.gd" id="2_p57ef"]
[ext_resource type="PackedScene" uid="uid://dm0s1wei11x43" path="res://scenes/crate.tscn" id="3_lbhrr"]
[ext_resource type="PackedScene" uid="uid://bu03yhhfncspe" path="res://scenes/trigger.tscn" id="4_iywne"]
[ext_resource type="PackedScene" uid="uid://dgf4ypom7mnn4" path="res://scenes/player.tscn" id="4_lbhrr"]
[ext_resource type="PackedScene" uid="uid://cc7r60jbw6uyo" path="res://scenes/bullet.tscn" id="5_iywne"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_8cj0n"]
size = Vector2(60, 20)
[node name="Game" type="Node2D"]
script = ExtResource("1_lnu2h")
[node name="SceneManager" type="Node2D" parent="."]
unique_name_in_owner = true
script = ExtResource("2_p57ef")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
position = Vector2(571, 369)
scale = Vector2(2.6, 1)
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("RectangleShape2D_8cj0n")
[node name="RigidBody2D3" parent="." instance=ExtResource("3_lbhrr")]
position = Vector2(551, 270)
[node name="Area2D" parent="." instance=ExtResource("4_iywne")]
position = Vector2(519, 453)
[node name="Area2D2" parent="." instance=ExtResource("4_iywne")]
position = Vector2(653, 461)
effect = "powerup"
[node name="RigidBody2D4" parent="." instance=ExtResource("3_lbhrr")]
position = Vector2(570, 193)
[node name="RigidBody2D5" parent="." instance=ExtResource("3_lbhrr")]
position = Vector2(589, 256)
[node name="CharacterBody2D" parent="." instance=ExtResource("4_lbhrr")]
position = Vector2(559, 339)
[node name="Bullet" parent="." instance=ExtResource("5_iywne")]
position = Vector2(435, 324)
[connection signal="areatrigger" from="Area2D" to="." method="_on_areatrigger"]
[connection signal="areatrigger" from="Area2D2" to="." method="_on_areatrigger"]
+25
View File
@@ -0,0 +1,25 @@
[gd_scene load_steps=3 format=3 uid="uid://dgf4ypom7mnn4"]
[ext_resource type="Script" uid="uid://dmyw2bn6gnbbv" path="res://scripts/character_body_2d.gd" id="1_4flbx"]
[sub_resource type="CircleShape2D" id="CircleShape2D_8cj0n"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_4flbx")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_8cj0n")
debug_color = Color(0.365399, 0.613218, 0.181601, 0.42)
[node name="RightCast" type="RayCast2D" parent="."]
target_position = Vector2(13, 0)
[node name="Left cast" type="RayCast2D" parent="."]
target_position = Vector2(-13, 0)
[node name="RightSpawn" type="Node2D" parent="."]
position = Vector2(14, -8)
[node name="LeftSpawn" type="Node2D" parent="."]
position = Vector2(-14, -8)
+16
View File
@@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=3 uid="uid://bu03yhhfncspe"]
[ext_resource type="Script" uid="uid://ixnbwhm0ptg5" path="res://scripts/trigger.gd" id="1_du5ex"]
[sub_resource type="CircleShape2D" id="CircleShape2D_uwrxv"]
radius = 52.0384
[node name="Area2D" type="Area2D"]
script = ExtResource("1_du5ex")
metadata/_edit_group_ = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_uwrxv")
debug_color = Color(0.634268, 0.371171, 0.94535, 0.42)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]