This commit is contained in:
2024-05-29 13:26:31 -07:00
parent 6740949b05
commit 242d74b0a7
2104 changed files with 45681 additions and 0 deletions

BIN
scenes/forest_hand/bigscene.png LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://da3bfbjdeiak0"
path="res://.godot/imported/bigscene.png-edcee4f57145628b31c885b24f5b7ab7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/forest_hand/bigscene.png"
dest_files=["res://.godot/imported/bigscene.png-edcee4f57145628b31c885b24f5b7ab7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@@ -0,0 +1,28 @@
extends Scene
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func _on_south_exit_interacted():
var path = NavigationServer2D.map_get_path(self.map, self.pathfind.to_local(self.ego.global_position), pathfind.to_local($"south-point".global_position), true)
start_main_script(ScriptBuilder.init(ScriptBuilder.walk_path(self.ego, path)).and_then(ScriptBuilder.transition(self, load("res://scenes/pasture/pasture.tscn"), "forest-exit-point")).can_interrupt().build(self, "_on_script_complete"))
func _on_forest_exit_interacted():
var path = NavigationServer2D.map_get_path(self.map, self.pathfind.to_local(self.ego.global_position), pathfind.to_local($"forest-exit-point".global_position), true)
start_main_script(ScriptBuilder.init(ScriptBuilder.walk_path(self.ego, path)).and_then(ScriptBuilder.transition(self, load("res://scenes/boulder_head/boulder_head.tscn"), "forest-exit-point")).can_interrupt().build(self, "_on_script_complete"))

View File

@@ -0,0 +1,53 @@
[gd_scene load_steps=6 format=3]
[ext_resource type="Script" path="res://SetPiece_.gd" id="1"]
[ext_resource type="Script" path="res://ScalePoint_.gd" id="2"]
[ext_resource type="Script" path="res://scenes/forest_hand/forest_hand.gd" id="3"]
[ext_resource type="Texture2D" uid="uid://da3bfbjdeiak0" path="res://scenes/forest_hand/bigscene.png" id="4"]
[sub_resource type="NavigationPolygon" id=5]
vertices = PackedVector2Array( 2852.86, 1314.29, 2980, 1325.71, 2828.57, 1377.14, 2664.29, 1370, 3138.57, 1654.29, 3115.71, 1445.71, 3474.29, 1617.14, 3575.71, 1800, 3438.57, 2102.86, 2860, 2157.14, 2938.57, 1960 )
polygons = [ PackedInt32Array( 0, 1, 2, 3 ), PackedInt32Array( 4, 3, 2, 5, 6, 7 ), PackedInt32Array( 8, 9, 10, 4, 7 ) ]
outlines = [ PackedVector2Array( 2852.86, 1314.29, 2664.29, 1370, 3138.57, 1654.29, 2938.57, 1960, 2860, 2157.14, 3438.57, 2102.86, 3575.71, 1800, 3474.29, 1617.14, 3115.71, 1445.71, 2828.57, 1377.14, 2980, 1325.71 ) ]
[node name="background" type="Sprite2D"]
texture = ExtResource( 4 )
centered = false
script = ExtResource( 3 )
background_scale = 0.7
[node name="pathfind" type="NavigationRegion2D" parent="."]
position = Vector2( -20, 1.42858 )
navigation_polygon = SubResource( 5 )
[node name="forest-exit-point" type="Node2D" parent="."]
position = Vector2( 2910, 1338.75 )
[node name="south-point" type="Node2D" parent="."]
position = Vector2( 3145.71, 2092.86 )
[node name="south_exit" type="Polygon2D" parent="." groups=["set-piece"]]
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 2898.33, 1688.33, 2797, 2201, 3633, 2170, 3705, 1746.67 )
script = ExtResource( 1 )
label = "To house"
[node name="forest_exit" type="Polygon2D" parent="." groups=["set-piece"]]
position = Vector2( -57.5, -835 )
color = Color( 1, 1, 1, 0.262745 )
polygon = PackedVector2Array( 2957.14, 1917.14, 2938.57, 2175.71, 3430, 2164.29, 3391.43, 1940 )
script = ExtResource( 1 )
label = "To boulder"
[node name="StartScalePoint" type="Node2D" parent="."]
position = Vector2( 3136, 1164 )
script = ExtResource( 2 )
target_scale = 0.5
[node name="EndScalePoint" type="Node2D" parent="."]
position = Vector2( 3130, 2200 )
script = ExtResource( 2 )
target_scale = 1.0
[connection signal="interacted" from="south_exit" to="." method="_on_south_exit_interacted"]
[connection signal="interacted" from="forest_exit" to="." method="_on_forest_exit_interacted"]

Binary file not shown.

View File

@@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cfn5agi5olp4w"
path="res://.godot/imported/in-forest-upscaled.png-832b0d5ebbfe51192c379a733a59c4fc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://scenes/forest_hand/in-forest-upscaled.png"
dest_files=["res://.godot/imported/in-forest-upscaled.png-832b0d5ebbfe51192c379a733a59c4fc.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1