It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
11
Locations/TutorialBoat/BoatLayout.gd
Normal file
11
Locations/TutorialBoat/BoatLayout.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Location
|
||||
|
||||
func initialize_entry_locations():
|
||||
#Starting postition
|
||||
entryLocations.append(Vector2(-716, 20))
|
||||
|
||||
func initialize_camera_limits():
|
||||
leftCameraLimit = -3204/2
|
||||
rightCameraLimit = 3204/2
|
||||
upperCameraLimit = -1576/2
|
||||
lowerCameraLimit = 1576/2
|
||||
BIN
Locations/TutorialBoat/BoatLayout.png
Normal file
BIN
Locations/TutorialBoat/BoatLayout.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 283 KiB |
34
Locations/TutorialBoat/BoatLayout.png.import
Normal file
34
Locations/TutorialBoat/BoatLayout.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://diuvimmdheih6"
|
||||
path="res://.godot/imported/BoatLayout.png-556393d3b3ef9c07662f8c95222569d5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/TutorialBoat/BoatLayout.png"
|
||||
dest_files=["res://.godot/imported/BoatLayout.png-556393d3b3ef9c07662f8c95222569d5.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
|
||||
257
Locations/TutorialBoat/BoatLayout.tscn
Normal file
257
Locations/TutorialBoat/BoatLayout.tscn
Normal file
|
|
@ -0,0 +1,257 @@
|
|||
[gd_scene load_steps=26 format=3 uid="uid://bli44drdpfyr0"]
|
||||
|
||||
[ext_resource type="Script" path="res://Locations/TutorialBoat/BoatLayout.gd" id="1_66sp7"]
|
||||
[ext_resource type="Texture2D" uid="uid://diuvimmdheih6" path="res://Locations/TutorialBoat/BoatLayout.png" id="2_epbsn"]
|
||||
[ext_resource type="Texture2D" uid="uid://brarrvbvbf70e" path="res://Locations/TutorialBoat/Stuct/BoatTopFence.png" id="3_7uyyy"]
|
||||
[ext_resource type="Texture2D" uid="uid://4312b1i74x7k" path="res://Locations/TutorialBoat/Stuct/BoatMainFence.png" id="4_5t0vc"]
|
||||
[ext_resource type="Script" path="res://Objects/Ground.gd" id="6_83nvy"]
|
||||
[ext_resource type="PackedScene" uid="uid://drg4stgda7ak5" path="res://Objects/Tutorial/StairFence.tscn" id="7_b5flj"]
|
||||
[ext_resource type="PackedScene" uid="uid://bsmbaccrcqb6f" path="res://Objects/Tutorial/Sail.tscn" id="7_hqwrw"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="8_erdu3"]
|
||||
[ext_resource type="Script" path="res://Interactions/Travel/TutorialTraveller.gd" id="9_xjbu1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg362ce5ejlh5" path="res://Objects/Juicers/juicerMachine.tscn" id="10_1gm7s"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccxcml46e4nxw" path="res://Objects/JuiceCafe/juice_shop.tscn" id="11_w7ymx"]
|
||||
[ext_resource type="Script" path="res://Objects/JuiceCafe/TutorialShop.gd" id="12_e6ayq"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccvxw3e2nc55a" path="res://NPCs/Tutorial/Normal/TutorialTapir/TutorialTapir.tscn" id="12_qwfwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://h4xktqg1hl6h" path="res://NPCs/Tutorial/Normal/TradingToad/TradingToad.tscn" id="13_xbw8p"]
|
||||
[ext_resource type="PackedScene" uid="uid://c01l3yqjfdav0" path="res://NPCs/Tutorial/Normal/JuicingJaguar/JuicingJaguar.tscn" id="14_7jhac"]
|
||||
[ext_resource type="PackedScene" uid="uid://bg1nwnomgw3el" path="res://NPCs/Tutorial/Normal/ArsonAlliogator/ArsonAlligator.tscn" id="15_80alv"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpkmcy7ijcrhx" path="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.tscn" id="16_iosy4"]
|
||||
[ext_resource type="PackedScene" uid="uid://d14udc4fo4gqq" path="res://Objects/Tutorial/Barrel/OrangeBarrel.tscn" id="17_7exvk"]
|
||||
[ext_resource type="PackedScene" uid="uid://dhk768odtfjjc" path="res://Objects/GroundItems/GroundItem.tscn" id="18_auvwi"]
|
||||
[ext_resource type="Script" path="res://Locations/TutorialBoat/FlagManager.gd" id="18_cuykd"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="19_xgx3j"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb11otk7gg0aw" path="res://Objects/Museum/Stand/MuseumStand.tscn" id="22_4ctfh"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebe1k"]
|
||||
size = Vector2(3538, 2501)
|
||||
|
||||
[sub_resource type="SegmentShape2D" id="SegmentShape2D_m0h7j"]
|
||||
a = Vector2(2, -205)
|
||||
b = Vector2(1, 149)
|
||||
|
||||
[sub_resource type="SegmentShape2D" id="SegmentShape2D_o8n5f"]
|
||||
b = Vector2(-144, -81)
|
||||
|
||||
[node name="Boat" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_66sp7")
|
||||
|
||||
[node name="BoatLayout" type="Sprite2D" parent="."]
|
||||
z_index = -2
|
||||
texture = ExtResource("2_epbsn")
|
||||
|
||||
[node name="BoatTopFence" type="Sprite2D" parent="."]
|
||||
z_index = 2
|
||||
position = Vector2(-1086, 114)
|
||||
texture = ExtResource("3_7uyyy")
|
||||
|
||||
[node name="BoatMainFence" type="Sprite2D" parent="."]
|
||||
z_index = 2
|
||||
position = Vector2(313, 181)
|
||||
texture = ExtResource("4_5t0vc")
|
||||
|
||||
[node name="Ground" type="Node2D" parent="."]
|
||||
process_priority = 1
|
||||
z_index = -3
|
||||
position = Vector2(-1043, -753)
|
||||
script = ExtResource("6_83nvy")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
|
||||
position = Vector2(1048, 758.5)
|
||||
shape = SubResource("RectangleShape2D_ebe1k")
|
||||
|
||||
[node name="Bounds" type="Node" parent="."]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
|
||||
polygon = PackedVector2Array(-756, 322, -758, 148, -1381, 150, -1377, -384, -775, -379, -616, -227, 1098, -223, 1128, -21, 1107, 320, -747, 322, -525, 597, 1200, 583, 1501, 53, 1321, -413, 342, -460, -809, -545, -1519, -519, -1546, 93, -1559, 536, -832, 597, -569, 574)
|
||||
|
||||
[node name="FloorBlock" type="Node" parent="."]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="FloorBlock"]
|
||||
position = Vector2(-769, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D"]
|
||||
shape = SubResource("SegmentShape2D_m0h7j")
|
||||
|
||||
[node name="StaticBody2D2" type="StaticBody2D" parent="FloorBlock"]
|
||||
position = Vector2(-625, -126)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D2"]
|
||||
shape = SubResource("SegmentShape2D_o8n5f")
|
||||
|
||||
[node name="StaticBody2D4" type="StaticBody2D" parent="FloorBlock"]
|
||||
position = Vector2(-624, -227)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D4"]
|
||||
shape = SubResource("SegmentShape2D_o8n5f")
|
||||
|
||||
[node name="StaticBody2D3" type="StaticBody2D" parent="FloorBlock"]
|
||||
position = Vector2(-667, -11)
|
||||
|
||||
[node name="Sail" parent="." instance=ExtResource("7_hqwrw")]
|
||||
position = Vector2(9, -3)
|
||||
|
||||
[node name="StairFence" parent="." instance=ExtResource("7_b5flj")]
|
||||
position = Vector2(-716, 70)
|
||||
|
||||
[node name="CollisionShape2D" parent="StairFence/StaticBody2D" index="0"]
|
||||
disabled = true
|
||||
|
||||
[node name="StairFence2" parent="." instance=ExtResource("7_b5flj")]
|
||||
position = Vector2(-716, -5)
|
||||
|
||||
[node name="CollisionShape2D" parent="StairFence2/StaticBody2D" index="0"]
|
||||
disabled = true
|
||||
|
||||
[node name="TravelBox" parent="." instance=ExtResource("8_erdu3")]
|
||||
position = Vector2(-716, -4)
|
||||
|
||||
[node name="AnimatedSprite2D" parent="TravelBox" index="1"]
|
||||
z_index = -1
|
||||
position = Vector2(-1.5, 33)
|
||||
scale = Vector2(0.97, 0.66)
|
||||
|
||||
[node name="CollisionPolygon2D" parent="TravelBox/StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-51, -52, 47, -52, 47, 18, 1.52838, 18, -52, 18)
|
||||
|
||||
[node name="Traveller" parent="TravelBox" index="3"]
|
||||
position = Vector2(-21, 32)
|
||||
script = ExtResource("9_xjbu1")
|
||||
destinationNames = Array[String](["Park"])
|
||||
destinationLocations = Array[int]([7])
|
||||
destinationEntranceID = Array[int]([0])
|
||||
movementVerb = "Walk To"
|
||||
|
||||
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(-1, -3)
|
||||
|
||||
[node name="Popup" type="Popup" parent="TravelBox/Traveller" index="1"]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2i(200, 200)
|
||||
size = Vector2i(300, 200)
|
||||
max_size = Vector2i(300, 200)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TravelBox/Traveller/Popup"]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -133.0
|
||||
offset_top = -43.5
|
||||
offset_right = 133.0
|
||||
offset_bottom = 43.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = 17
|
||||
alignment = 1
|
||||
|
||||
[node name="TutorialPopupText" type="Label" parent="TravelBox/Traveller/Popup/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
layout_mode = 2
|
||||
text = "Are you sure you want to leave?
|
||||
Juicing Jaguar, Juicing Jaguar, Juicing Jaguar, Juicing Jaguar, Juicing Jaguar"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="TravelBox/Traveller/Popup/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
size_flags_stretch_ratio = 0.0
|
||||
|
||||
[node name="Confirm" type="Button" parent="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 8
|
||||
text = "Leave"
|
||||
|
||||
[node name="Cancel" type="Button" parent="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
text = "Stay"
|
||||
|
||||
[node name="Juicer" parent="." instance=ExtResource("10_1gm7s")]
|
||||
position = Vector2(-1313, 50)
|
||||
|
||||
[node name="JuiceShop" parent="." instance=ExtResource("11_w7ymx")]
|
||||
position = Vector2(-1264, -216)
|
||||
|
||||
[node name="Panel" parent="JuiceShop/Interactable" index="1"]
|
||||
offset_left = -38.8
|
||||
offset_top = -37.1
|
||||
offset_right = 127.2
|
||||
offset_bottom = 88.9
|
||||
|
||||
[node name="StaticBody2D" parent="JuiceShop" index="2"]
|
||||
position = Vector2(0, -66)
|
||||
|
||||
[node name="CollisionPolygon2D" parent="JuiceShop/StaticBody2D" index="0"]
|
||||
visible = true
|
||||
polygon = PackedVector2Array(-35, -32, 31, -37, 46, 30, -29, 29)
|
||||
disabled = false
|
||||
|
||||
[node name="ShopHaver" parent="JuiceShop" index="3"]
|
||||
script = ExtResource("12_e6ayq")
|
||||
|
||||
[node name="CollisionShape2D" parent="JuiceShop/ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(2.19995, -0.100006)
|
||||
|
||||
[node name="TutorialTapir" parent="." instance=ExtResource("12_qwfwl")]
|
||||
position = Vector2(-273, 111)
|
||||
|
||||
[node name="TradingToad" parent="." instance=ExtResource("13_xbw8p")]
|
||||
position = Vector2(-1155, -305)
|
||||
|
||||
[node name="JuicingJaguar" parent="." instance=ExtResource("14_7jhac")]
|
||||
position = Vector2(-1173, 61)
|
||||
|
||||
[node name="ArsonAlligator" parent="." instance=ExtResource("15_80alv")]
|
||||
position = Vector2(488, -101)
|
||||
|
||||
[node name="ScavengingSheep" parent="." instance=ExtResource("16_iosy4")]
|
||||
position = Vector2(504, 191)
|
||||
|
||||
[node name="OrangeBarrel" parent="." instance=ExtResource("17_7exvk")]
|
||||
position = Vector2(760, 164)
|
||||
|
||||
[node name="Scavengeable" parent="OrangeBarrel" index="0"]
|
||||
scavengeDifficulty = 3
|
||||
|
||||
[node name="FlagManager" type="Node2D" parent="." groups=["FlagManager"]]
|
||||
script = ExtResource("18_cuykd")
|
||||
|
||||
[node name="GroundItem" parent="." instance=ExtResource("18_auvwi")]
|
||||
position = Vector2(285, -132)
|
||||
itemClass = ExtResource("19_xgx3j")
|
||||
|
||||
[node name="MoneyStand" parent="." instance=ExtResource("22_4ctfh")]
|
||||
position = Vector2(-1312, 49)
|
||||
|
||||
[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event"]
|
||||
[connection signal="pressed" from="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer/Confirm" to="TravelBox/Traveller" method="_on_confirm_pressed"]
|
||||
[connection signal="pressed" from="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer/Cancel" to="TravelBox/Traveller" method="_on_cancel_pressed"]
|
||||
|
||||
[editable path="StairFence"]
|
||||
[editable path="StairFence2"]
|
||||
[editable path="TravelBox"]
|
||||
[editable path="TravelBox/Interactable"]
|
||||
[editable path="TravelBox/Interactable/ActionMenu"]
|
||||
[editable path="TravelBox/Traveller"]
|
||||
[editable path="JuiceShop"]
|
||||
[editable path="JuiceShop/Interactable"]
|
||||
[editable path="JuiceShop/Interactable/ActionMenu"]
|
||||
[editable path="JuiceShop/ShopHaver"]
|
||||
[editable path="OrangeBarrel"]
|
||||
[editable path="OrangeBarrel/Scavengeable"]
|
||||
[editable path="OrangeBarrel/Interactable"]
|
||||
[editable path="OrangeBarrel/Interactable/ActionMenu"]
|
||||
BIN
Locations/TutorialBoat/BoatLayout2.png
Normal file
BIN
Locations/TutorialBoat/BoatLayout2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
34
Locations/TutorialBoat/BoatLayout2.png.import
Normal file
34
Locations/TutorialBoat/BoatLayout2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c2klts5w2cybb"
|
||||
path="res://.godot/imported/BoatLayout2.png-4649510a66d5cb13407be5a56f5001a2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/TutorialBoat/BoatLayout2.png"
|
||||
dest_files=["res://.godot/imported/BoatLayout2.png-4649510a66d5cb13407be5a56f5001a2.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
|
||||
BIN
Locations/TutorialBoat/EllieBoat/BoatLayout2.png
Normal file
BIN
Locations/TutorialBoat/EllieBoat/BoatLayout2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
34
Locations/TutorialBoat/EllieBoat/BoatLayout2.png.import
Normal file
34
Locations/TutorialBoat/EllieBoat/BoatLayout2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ilr26lduxtcf"
|
||||
path="res://.godot/imported/BoatLayout2.png-e810a322a1c27f7bae2285cbbea2c187.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/TutorialBoat/EllieBoat/BoatLayout2.png"
|
||||
dest_files=["res://.godot/imported/BoatLayout2.png-e810a322a1c27f7bae2285cbbea2c187.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
|
||||
12
Locations/TutorialBoat/EllieBoat/EllieBoat.gd
Normal file
12
Locations/TutorialBoat/EllieBoat/EllieBoat.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends Location
|
||||
|
||||
func initialize_entry_locations():
|
||||
#Starting postition
|
||||
entryLocations.append(Vector2(470, 270))
|
||||
AchievementManager.complete_achievement("Uhm...")
|
||||
|
||||
func initialize_camera_limits():
|
||||
leftCameraLimit = -3204/2
|
||||
rightCameraLimit = 3204/2
|
||||
upperCameraLimit = -1576/2
|
||||
lowerCameraLimit = 1576/2
|
||||
85
Locations/TutorialBoat/EllieBoat/EllieBoat.tscn
Normal file
85
Locations/TutorialBoat/EllieBoat/EllieBoat.tscn
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://dte24xtwskdlv"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://ilr26lduxtcf" path="res://Locations/TutorialBoat/EllieBoat/BoatLayout2.png" id="1_b6fi2"]
|
||||
[ext_resource type="Script" path="res://Locations/TutorialBoat/EllieBoat/EllieBoat.gd" id="1_owecp"]
|
||||
[ext_resource type="Script" path="res://Objects/Ground.gd" id="2_m1cpl"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="3_kaelu"]
|
||||
[ext_resource type="PackedScene" uid="uid://s2myk8onq887" path="res://NPCs/Tutorial/EllieMode/Alligator/Alligator.tscn" id="5_eb05r"]
|
||||
[ext_resource type="PackedScene" uid="uid://bl1ne6s1awa5a" path="res://NPCs/Tutorial/EllieMode/Jaguar/Jaguar.tscn" id="6_iq7tk"]
|
||||
[ext_resource type="PackedScene" uid="uid://om8gqxjwe7km" path="res://NPCs/Tutorial/EllieMode/Tapir/Tapir.tscn" id="7_wkx1u"]
|
||||
[ext_resource type="PackedScene" uid="uid://c71p067cpwaay" path="res://NPCs/Tutorial/EllieMode/Toad/Toad.tscn" id="8_kblef"]
|
||||
[ext_resource type="PackedScene" uid="uid://cpkmcy7ijcrhx" path="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.tscn" id="9_1nxoe"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_kce4n"]
|
||||
size = Vector2(3538, 2501)
|
||||
|
||||
[node name="EllieBoat" type="Node2D"]
|
||||
script = ExtResource("1_owecp")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
z_index = -2
|
||||
texture = ExtResource("1_b6fi2")
|
||||
|
||||
[node name="Bounds" type="Node" parent="."]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
|
||||
position = Vector2(0, 154)
|
||||
scale = Vector2(1, 16.4)
|
||||
polygon = PackedVector2Array(-1373, 8.65854, 1159, 9.14634, 1153, -6.70732, -4, -8.59756, -629, -10, -782, -7.92683, -776, -38.4146, -1390, -38.2317, -1528, -51.7073, 1181, -48.7805, 1419, 23.4756, -1525, 19.878, -1540, -49.8171, -1404, -37.0732)
|
||||
|
||||
[node name="StaticBody2D2" type="StaticBody2D" parent="Bounds"]
|
||||
position = Vector2(-1106, -399)
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D2"]
|
||||
position = Vector2(-1, 0)
|
||||
polygon = PackedVector2Array(10, 9, 5, 197, -6, 198, -4, 23, -104, 27, -116, 18, -72, -76, 29, -76, 197, 73, 183, 87, 52, -14)
|
||||
|
||||
[node name="Ground" type="Node2D" parent="."]
|
||||
process_priority = 1
|
||||
z_index = -3
|
||||
script = ExtResource("2_m1cpl")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
|
||||
shape = SubResource("RectangleShape2D_kce4n")
|
||||
|
||||
[node name="TravelBox" parent="." instance=ExtResource("3_kaelu")]
|
||||
position = Vector2(473, 221)
|
||||
scale = Vector2(2, 1)
|
||||
|
||||
[node name="Traveller" parent="TravelBox" index="3"]
|
||||
position = Vector2(-1, 51)
|
||||
destinationNames = Array[String](["Pier"])
|
||||
destinationLocations = Array[int]([8])
|
||||
destinationEntranceID = Array[int]([0])
|
||||
|
||||
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(1, 1)
|
||||
|
||||
[node name="Alligator" parent="." instance=ExtResource("5_eb05r")]
|
||||
position = Vector2(-1156, 257)
|
||||
|
||||
[node name="Jaguar" parent="." instance=ExtResource("6_iq7tk")]
|
||||
position = Vector2(-471, 45)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
|
||||
[node name="Tapir" parent="." instance=ExtResource("7_wkx1u")]
|
||||
position = Vector2(882, 248)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
|
||||
[node name="Toad" parent="." instance=ExtResource("8_kblef")]
|
||||
position = Vector2(-1195, 13)
|
||||
|
||||
[node name="ScavengingSheep" parent="." instance=ExtResource("9_1nxoe")]
|
||||
position = Vector2(-209, 289)
|
||||
EllieMode = true
|
||||
|
||||
[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event" flags=18]
|
||||
|
||||
[editable path="TravelBox"]
|
||||
[editable path="TravelBox/Interactable"]
|
||||
[editable path="TravelBox/Interactable/ActionMenu"]
|
||||
[editable path="TravelBox/Traveller"]
|
||||
10
Locations/TutorialBoat/FlagManager.gd
Normal file
10
Locations/TutorialBoat/FlagManager.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends Node2D
|
||||
|
||||
func Juiced():
|
||||
$"/root/SaveManager".set_save_value("tutorialJuiced", true)
|
||||
|
||||
func Arsoned():
|
||||
$"/root/SaveManager".set_save_value("tutorialArsoned", true)
|
||||
|
||||
func Scavanged():
|
||||
$"/root/SaveManager".set_save_value("tutorialScavenged", true)
|
||||
19
Locations/TutorialBoat/ScavengingLimit.gd
Normal file
19
Locations/TutorialBoat/ScavengingLimit.gd
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
extends Interaction
|
||||
|
||||
@export var max_scavenge:int
|
||||
@export var ScavengableNode:Node2D
|
||||
|
||||
# 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 Scavanged():
|
||||
max_scavenge -= 1
|
||||
if max_scavenge == 0:
|
||||
ScavengableNode.scavenging = false
|
||||
ScavengableNode.itemsDropped = []
|
||||
BIN
Locations/TutorialBoat/Stuct/BoatMainFence.png
Normal file
BIN
Locations/TutorialBoat/Stuct/BoatMainFence.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
34
Locations/TutorialBoat/Stuct/BoatMainFence.png.import
Normal file
34
Locations/TutorialBoat/Stuct/BoatMainFence.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://4312b1i74x7k"
|
||||
path="res://.godot/imported/BoatMainFence.png-f1a9a2597ca321be46844d5907736ff2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/TutorialBoat/Stuct/BoatMainFence.png"
|
||||
dest_files=["res://.godot/imported/BoatMainFence.png-f1a9a2597ca321be46844d5907736ff2.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
|
||||
BIN
Locations/TutorialBoat/Stuct/BoatTopFence.png
Normal file
BIN
Locations/TutorialBoat/Stuct/BoatTopFence.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
34
Locations/TutorialBoat/Stuct/BoatTopFence.png.import
Normal file
34
Locations/TutorialBoat/Stuct/BoatTopFence.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://brarrvbvbf70e"
|
||||
path="res://.godot/imported/BoatTopFence.png-caed4de6411d0a4e3bbb2bdaa5724359.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/TutorialBoat/Stuct/BoatTopFence.png"
|
||||
dest_files=["res://.godot/imported/BoatTopFence.png-caed4de6411d0a4e3bbb2bdaa5724359.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
|
||||
Loading…
Add table
Add a link
Reference in a new issue