It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
13
Locations/Pier/ElliePier.gd
Normal file
13
Locations/Pier/ElliePier.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends Location
|
||||
|
||||
func initialize_entry_locations():
|
||||
#Boat
|
||||
entryLocations.append(Vector2(-120, -100))
|
||||
#Entrance
|
||||
entryLocations.append(Vector2(951, -50))
|
||||
|
||||
func initialize_camera_limits():
|
||||
leftCameraLimit = -2000/2
|
||||
rightCameraLimit = 2000/2
|
||||
upperCameraLimit = -1600/2
|
||||
lowerCameraLimit = 1600/2
|
||||
234
Locations/Pier/ElliePier.tscn
Normal file
234
Locations/Pier/ElliePier.tscn
Normal file
|
|
@ -0,0 +1,234 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://c20jggynn6dkx"]
|
||||
|
||||
[ext_resource type="Script" path="res://Locations/Pier/ElliePier.gd" id="1_jjk1s"]
|
||||
[ext_resource type="Script" path="res://Objects/Ground.gd" id="2_vcs7f"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="3_6f0xd"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwlctpspxmro2" path="res://Locations/Pier/Pier2.png" id="4_enmc3"]
|
||||
[ext_resource type="AudioStream" uid="uid://byh5jwlwrjwoa" path="res://Sounds/OST/New/boatbad.mp3" id="5_p0g4e"]
|
||||
[ext_resource type="PackedScene" uid="uid://dss4ph0tkc0xc" path="res://Objects/SkillSpecific/Swimming/SwimmingZone.tscn" id="6_18ffs"]
|
||||
[ext_resource type="PackedScene" uid="uid://dtwg0fhgvbr67" path="res://NPCs/Tutorial/EllieMode/Monkey/Monkey.tscn" id="7_p81r0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dgf3uxb6ygcn7" path="res://NPCs/PlaceholderCow/PlaceholderCow.tscn" id="8_xgkff"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_08rix"]
|
||||
size = Vector2(3538, 2501)
|
||||
|
||||
[node name="ElliePier" type="Node2D"]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("1_jjk1s")
|
||||
|
||||
[node name="Ground" type="Node2D" parent="."]
|
||||
process_priority = 1
|
||||
z_index = -3
|
||||
position = Vector2(-1043, -753)
|
||||
script = ExtResource("2_vcs7f")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
|
||||
position = Vector2(1048, 758.5)
|
||||
shape = SubResource("RectangleShape2D_08rix")
|
||||
|
||||
[node name="TravelBox2" parent="." instance=ExtResource("3_6f0xd")]
|
||||
z_index = -1
|
||||
position = Vector2(-125, -133)
|
||||
|
||||
[node name="60353" type="MarginContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="3"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="60354" type="ScrollContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/60353"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="60355" type="Control" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/60353/60354"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="60356" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="4"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="60357" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="5"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="45939" type="MarginContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="6"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="45940" type="ScrollContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/45939"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="45941" type="Control" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/45939/45940"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="45942" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="7"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="45943" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="8"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="45600" type="MarginContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="9"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="45601" type="ScrollContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/45600"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="45602" type="Control" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/45600/45601"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="45603" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="10"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="45604" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="11"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="18693" type="MarginContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="12"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="18694" type="ScrollContainer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/18693"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="18695" type="Control" parent="TravelBox2/Interactable/ActionMenu/PopupMenu/18693/18694"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="18696" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="13"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="18697" type="Timer" parent="TravelBox2/Interactable/ActionMenu/PopupMenu" index="14"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="Panel" parent="TravelBox2/Interactable" index="1"]
|
||||
offset_bottom = 101.0
|
||||
|
||||
[node name="Traveller" parent="TravelBox2" index="3"]
|
||||
position = Vector2(0, 16)
|
||||
destinationNames = Array[String](["Boat?"])
|
||||
destinationLocations = Array[int]([9])
|
||||
destinationEntranceID = Array[int]([0])
|
||||
|
||||
[node name="CollisionShape2D" parent="TravelBox2/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(0, 16)
|
||||
|
||||
[node name="TravelBox" parent="." instance=ExtResource("3_6f0xd")]
|
||||
z_index = -1
|
||||
position = Vector2(951, -111)
|
||||
|
||||
[node name="45600" type="MarginContainer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="3"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="45601" type="ScrollContainer" parent="TravelBox/Interactable/ActionMenu/PopupMenu/45600"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="45602" type="Control" parent="TravelBox/Interactable/ActionMenu/PopupMenu/45600/45601"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="45603" type="Timer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="4"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="45604" type="Timer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="5"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="18693" type="MarginContainer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="6"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="18694" type="ScrollContainer" parent="TravelBox/Interactable/ActionMenu/PopupMenu/18693"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="18695" type="Control" parent="TravelBox/Interactable/ActionMenu/PopupMenu/18693/18694"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="18696" type="Timer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="7"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="18697" type="Timer" parent="TravelBox/Interactable/ActionMenu/PopupMenu" index="8"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="Panel" parent="TravelBox/Interactable" index="1"]
|
||||
offset_bottom = 101.0
|
||||
|
||||
[node name="Traveller" parent="TravelBox" index="3"]
|
||||
position = Vector2(0, 49)
|
||||
destinationNames = Array[String](["Home"])
|
||||
destinationLocations = Array[int]([10])
|
||||
destinationEntranceID = Array[int]([1])
|
||||
|
||||
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(5, 2)
|
||||
|
||||
[node name="Bounds" type="Node" parent="."]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
|
||||
polygon = PackedVector2Array(-398, -101, -392, -125, 131, -131, 174, -208, 141, -225, 106, -216, 103, -249, -1, -235, -10, -391, -83, -389, -64, -225, -125, -222, -141, -224, -169, -224, -197.695, -222.833, -252, -225, -257, -366, -319, -367, -305, -240, -359, -243, -361, -361, -443, -361, -423, -332, -416, -240, -523, -226, -621, -200, -606, -112, -526, -93)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
z_index = -2
|
||||
texture = ExtResource("4_enmc3")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
position = Vector2(-218, -181)
|
||||
stream = ExtResource("5_p0g4e")
|
||||
autoplay = true
|
||||
max_distance = 1000.0
|
||||
attenuation = 0.5
|
||||
bus = &"Music"
|
||||
|
||||
[node name="SwimmingZone" parent="." instance=ExtResource("6_18ffs")]
|
||||
liquidColor = Color(0, 0, 0, 0)
|
||||
swimmingLevelReq = 23
|
||||
swimmingXp = 9
|
||||
swimmingSpeed = 600
|
||||
viscosity = 0
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="SwimmingZone/SwimmingArea" index="0"]
|
||||
polygon = PackedVector2Array(-1000, 790, 543, 787, 547, 525, 537, 380, 526, 188, 526, 119, 530, 64, 524, 22, -399, 23, -393, -130, 497, -129, 523, -355, 533, -523, 527, -685, 546, -791, 542, -808, -998, -803, -998, -269, -1001, 521, -810, 525, -806, 484, -763, 444, -705, 418, -632, 406, -565, 413, -473, 442, -424, 491, -414, 545, -435, 597, -479, 653, -557, 685, -696, 681, -774, 656, -813, 611, -811, 524, -1002, 523)
|
||||
|
||||
[node name="Monkey" parent="." instance=ExtResource("7_p81r0")]
|
||||
position = Vector2(-704, 550)
|
||||
|
||||
[node name="PlaceholderCow" parent="." instance=ExtResource("8_xgkff")]
|
||||
position = Vector2(819, -650)
|
||||
|
||||
[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event"]
|
||||
|
||||
[editable path="TravelBox2"]
|
||||
[editable path="TravelBox2/Interactable"]
|
||||
[editable path="TravelBox2/Interactable/ActionMenu"]
|
||||
[editable path="TravelBox2/Traveller"]
|
||||
[editable path="TravelBox"]
|
||||
[editable path="TravelBox/Interactable"]
|
||||
[editable path="TravelBox/Interactable/ActionMenu"]
|
||||
[editable path="TravelBox/Traveller"]
|
||||
[editable path="SwimmingZone"]
|
||||
13
Locations/Pier/Pier.gd
Normal file
13
Locations/Pier/Pier.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
extends Location
|
||||
|
||||
func initialize_entry_locations():
|
||||
#Boat
|
||||
entryLocations.append(Vector2(-120, -100))
|
||||
#Entrance
|
||||
entryLocations.append(Vector2(951, -50))
|
||||
|
||||
func initialize_camera_limits():
|
||||
leftCameraLimit = -2000/2
|
||||
rightCameraLimit = 2000/2
|
||||
upperCameraLimit = -1300/2
|
||||
lowerCameraLimit = 1300/2
|
||||
BIN
Locations/Pier/Pier.png
Normal file
BIN
Locations/Pier/Pier.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
34
Locations/Pier/Pier.png.import
Normal file
34
Locations/Pier/Pier.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dnteubbiaiwc5"
|
||||
path="res://.godot/imported/Pier.png-6290c683957b5a90d6cd18ae54498d57.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Pier/Pier.png"
|
||||
dest_files=["res://.godot/imported/Pier.png-6290c683957b5a90d6cd18ae54498d57.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
|
||||
61
Locations/Pier/Pier.tscn
Normal file
61
Locations/Pier/Pier.tscn
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://d3ipm7yhn8rdv"]
|
||||
|
||||
[ext_resource type="Script" path="res://Locations/Pier/Pier.gd" id="1_bmkg1"]
|
||||
[ext_resource type="Script" path="res://Objects/Ground.gd" id="2_17o36"]
|
||||
[ext_resource type="Texture2D" uid="uid://dnteubbiaiwc5" path="res://Locations/Pier/Pier.png" id="3_6su1g"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="4_ypobo"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_34cll"]
|
||||
size = Vector2(3538, 2501)
|
||||
|
||||
[node name="Pier" type="Node2D"]
|
||||
script = ExtResource("1_bmkg1")
|
||||
|
||||
[node name="Ground" type="Node2D" parent="."]
|
||||
process_priority = 1
|
||||
z_index = -3
|
||||
position = Vector2(-1043, -753)
|
||||
script = ExtResource("2_17o36")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Ground"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
|
||||
position = Vector2(1048, 758.5)
|
||||
shape = SubResource("RectangleShape2D_34cll")
|
||||
|
||||
[node name="Layout" type="Sprite2D" parent="."]
|
||||
z_index = -2
|
||||
texture = ExtResource("3_6su1g")
|
||||
|
||||
[node name="Bounds" type="Node" parent="."]
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
|
||||
polygon = PackedVector2Array(-603, 404, 1116, 596, 561, 379, 527, 22, -398, 24, -394, -135, 521, -133, 546, -392, 1007, -377, 1007, 394, 564, 389, 1200, 583, 1199, -657, 211, -682, -640, -302)
|
||||
|
||||
[node name="TravelBox" parent="." instance=ExtResource("4_ypobo")]
|
||||
z_index = -1
|
||||
position = Vector2(951, -111)
|
||||
|
||||
[node name="Panel" parent="TravelBox/Interactable" index="1"]
|
||||
offset_bottom = 101.0
|
||||
|
||||
[node name="Traveller" parent="TravelBox" index="3"]
|
||||
destinationNames = Array[String](["Home"])
|
||||
destinationLocations = Array[int]([10])
|
||||
destinationEntranceID = Array[int]([1])
|
||||
movementVerb = "Walk To"
|
||||
|
||||
[node name="InteractionArea" parent="TravelBox/Traveller" index="0"]
|
||||
position = Vector2(0, 49)
|
||||
|
||||
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(0, 2)
|
||||
|
||||
[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event"]
|
||||
|
||||
[editable path="TravelBox"]
|
||||
[editable path="TravelBox/Interactable"]
|
||||
[editable path="TravelBox/Interactable/ActionMenu"]
|
||||
[editable path="TravelBox/Traveller"]
|
||||
BIN
Locations/Pier/Pier2.png
Normal file
BIN
Locations/Pier/Pier2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
34
Locations/Pier/Pier2.png.import
Normal file
34
Locations/Pier/Pier2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dwlctpspxmro2"
|
||||
path="res://.godot/imported/Pier2.png-e2d4e2c8971cd316635221c888103e3f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Pier/Pier2.png"
|
||||
dest_files=["res://.godot/imported/Pier2.png-e2d4e2c8971cd316635221c888103e3f.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