Testing Commit from laptop

This commit is contained in:
2024-09-24 08:10:19 -04:00
parent be2d1fe43c
commit 03b670c5c4
4 changed files with 295 additions and 5 deletions

View File

@@ -278,7 +278,7 @@ func GiveOrder():
TrackIntersections() TrackIntersections()
if Detail_Dict.Been_There == false: if Detail_Dict.Been_There == false:
Ordered_Commands_Backward.push_back(Prev_dir_Opp) Ordered_Commands_Backward.push_back(Prev_dir_Opp)
if Detail_Dict.Type != "Plain Path": if Detail_Dict.Type != "Plain Path" and Intersections.size() > 1 :
TakeOut = (Cords.size() - Cords.find(Intersections[-2])) TakeOut = (Cords.size() - Cords.find(Intersections[-2]))
var test = Ordered_Commands_Backward.slice(0 , TakeOut) var test = Ordered_Commands_Backward.slice(0 , TakeOut)
test.reverse() test.reverse()

292
main.tscn

File diff suppressed because one or more lines are too long

View File

@@ -10,9 +10,9 @@ config_version=5
[application] [application]
config/name="Project Forum Sim" config/name="MazeAlgo-withRepo"
run/main_scene="res://main.tscn" run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility") config/features=PackedStringArray("4.2", "GL Compatibility")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[rendering] [rendering]

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=3 uid="uid://bcuo3byxygxyi"] [gd_scene load_steps=3 format=3 uid="uid://bcuo3byxygxyi"]
[ext_resource type="Texture2D" uid="uid://q4fvqt4hhr86" path="res://Jump (32x32).png" id="1_ul47s"] [ext_resource type="Texture2D" uid="uid://crkasykc6x5i" path="res://Jump (32x32).png" id="1_ul47s"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yoddx"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_yoddx"]
size = Vector2(33, 52) size = Vector2(33, 52)