Initial commit

This commit is contained in:
Crizomb 2024-11-14 13:58:15 +01:00
commit 1514fe991b
675 changed files with 6030 additions and 0 deletions

35
objects/box.tscn Normal file
View file

@ -0,0 +1,35 @@
[gd_scene load_steps=4 format=3 uid="uid://cjgovccsqtt4q"]
[ext_resource type="Script" path="res://scripts/box.gd" id="1_5n53n"]
[ext_resource type="Texture2D" uid="uid://cofru76vo4vqn" path="res://sprites/box.png" id="2_7bbsq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_o2msx"]
size = Vector2(9.75, 9.75)
[node name="Box" type="StaticBody2D" groups=["box"]]
position = Vector2(-80, 0)
script = ExtResource("1_5n53n")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
texture = ExtResource("2_7bbsq")
[node name="RayCastDown" type="RayCast2D" parent="."]
target_position = Vector2(0, 15)
[node name="RayCastUp" type="RayCast2D" parent="."]
target_position = Vector2(0, -15)
[node name="RayCastRight" type="RayCast2D" parent="."]
target_position = Vector2(15, 0)
[node name="RayCastLeft" type="RayCast2D" parent="."]
target_position = Vector2(-15, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_o2msx")
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_o2msx")

9
objects/end.tscn Normal file
View file

@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=3 uid="uid://dlb0lm5y7kixb"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dafug"]
size = Vector2(12, 12)
[node name="End" type="Area2D"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_dafug")

29
objects/player.tscn Normal file
View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://26601maon1a3"]
[ext_resource type="Texture2D" uid="uid://4cn5k0vmbjsq" path="res://sprites/character.png" id="1_ro4sv"]
[ext_resource type="Script" path="res://scripts/player.gd" id="2_e1n6a"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_po4nb"]
size = Vector2(12, 12)
[node name="Player" type="Area2D"]
texture_filter = 1
script = ExtResource("2_e1n6a")
[node name="RayCastDown" type="RayCast2D" parent="."]
target_position = Vector2(0, 15)
[node name="RayCastUp" type="RayCast2D" parent="."]
target_position = Vector2(0, -15)
[node name="RayCastRight" type="RayCast2D" parent="."]
target_position = Vector2(15, 0)
[node name="RayCastLeft" type="RayCast2D" parent="."]
target_position = Vector2(-15, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_po4nb")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_ro4sv")

29
objects/shadow.tscn Normal file
View file

@ -0,0 +1,29 @@
[gd_scene load_steps=4 format=3 uid="uid://fy2lyvc0riic"]
[ext_resource type="Script" path="res://scripts/shadow.gd" id="1_0ifcu"]
[ext_resource type="Texture2D" uid="uid://bunpl1u42ouw5" path="res://sprites/character2.png" id="2_tt2yu"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_po4nb"]
size = Vector2(12, 12)
[node name="Shadow" type="Area2D"]
texture_filter = 1
script = ExtResource("1_0ifcu")
[node name="RayCastDown" type="RayCast2D" parent="."]
target_position = Vector2(0, 15)
[node name="RayCastUp" type="RayCast2D" parent="."]
target_position = Vector2(0, -15)
[node name="RayCastRight" type="RayCast2D" parent="."]
target_position = Vector2(15, 0)
[node name="RayCastLeft" type="RayCast2D" parent="."]
target_position = Vector2(-15, 0)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_po4nb")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_tt2yu")