It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
17
Locations/Town/Arcade/Arcade.gd
Normal file
17
Locations/Town/Arcade/Arcade.gd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
extends Location
|
||||
|
||||
@export var CowSpawn := Vector2(203,260)
|
||||
|
||||
func initialize_entry_locations():
|
||||
entryLocations.append(CowSpawn)
|
||||
|
||||
func initialize_camera_limits():
|
||||
outside = false
|
||||
#print(get_children())
|
||||
#var rect = $ArcadeLayout.texture.get_size()
|
||||
# Tried to make it dynamically init dimensions but the layout doesnt exist yet when this is called
|
||||
|
||||
leftCameraLimit = -1320/2
|
||||
rightCameraLimit = 1320/2
|
||||
upperCameraLimit = -620/2
|
||||
lowerCameraLimit = 620/2
|
||||
225
Locations/Town/Arcade/Arcade.tscn
Normal file
225
Locations/Town/Arcade/Arcade.tscn
Normal file
|
|
@ -0,0 +1,225 @@
|
|||
[gd_scene load_steps=17 format=3 uid="uid://ld6487batl5d"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ds2a1v38jso1e" path="res://Locations/location.tscn" id="1_bgs1d"]
|
||||
[ext_resource type="Script" path="res://Locations/Town/Arcade/Arcade.gd" id="2_mnchg"]
|
||||
[ext_resource type="Texture2D" uid="uid://0dks88c618nx" path="res://Locations/Town/Arcade/arcadeLayout.png" id="4_0sqam"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="5_3etv1"]
|
||||
[ext_resource type="PackedScene" uid="uid://tsgpfsfkjgbi" path="res://Objects/Arcade/Machines/FlappyCow/flappy_cow_machine.tscn" id="6_aah7l"]
|
||||
[ext_resource type="Texture2D" uid="uid://c0sd00oocyis3" path="res://Locations/Town/Arcade/ArcadeWall.png" id="6_onods"]
|
||||
[ext_resource type="PackedScene" uid="uid://dyatj06jpchgo" path="res://NPCs/Arcade/GoatKid1/goat_kid_1.tscn" id="7_d1t75"]
|
||||
[ext_resource type="PackedScene" uid="uid://ocl31dhmccr8" path="res://NPCs/Arcade/GoatKid2/goat_kid_2.tscn" id="8_f82we"]
|
||||
[ext_resource type="PackedScene" uid="uid://xqaqxywumrme" path="res://Objects/Arcade/Counter/arcade_counter.tscn" id="9_3ti0b"]
|
||||
[ext_resource type="PackedScene" uid="uid://b4qss5ug8ra6n" path="res://Objects/Arcade/Counter/side_counter.tscn" id="10_o2eas"]
|
||||
[ext_resource type="PackedScene" uid="uid://vcwocduu471t" path="res://Objects/Arcade/ToyBoxes/toys_box.tscn" id="11_nxote"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5hw3rt1is5f5" path="res://NPCs/Arcade/GoatKid3/goat_kid_3.tscn" id="12_h5sgp"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_incu3"]
|
||||
size = Vector2(1320, 120)
|
||||
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_3r837"]
|
||||
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_slstv"]
|
||||
normal = Vector2(0.99999, 0.00440524)
|
||||
|
||||
[sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_i1d4m"]
|
||||
normal = Vector2(-1, 0)
|
||||
|
||||
[node name="Arcade" instance=ExtResource("1_bgs1d")]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("2_mnchg")
|
||||
CowSpawn = Vector2(203, 260)
|
||||
|
||||
[node name="Ground" parent="." index="0"]
|
||||
z_index = -1
|
||||
scale = Vector2(2, 2)
|
||||
|
||||
[node name="CollisionShape2D" parent="Ground/Area2D" index="0"]
|
||||
position = Vector2(0, 0)
|
||||
|
||||
[node name="GroundTravelBox" parent="." index="1" instance=ExtResource("5_3etv1")]
|
||||
position = Vector2(203, 260)
|
||||
scale = Vector2(2.55, 0.5)
|
||||
|
||||
[node name="75046" type="MarginContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="3"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="75047" type="ScrollContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/75046" index="0"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="75048" type="Control" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/75046/75047" index="0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="75049" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="4"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="75050" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="5"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="74097" type="MarginContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="6"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="74098" type="ScrollContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/74097" index="0"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="74099" type="Control" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/74097/74098" index="0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="74100" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="7"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="74101" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="8"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="Panel" parent="GroundTravelBox/Interactable" index="1"]
|
||||
offset_top = -1.0
|
||||
|
||||
[node name="Traveller" parent="GroundTravelBox" index="3"]
|
||||
position = Vector2(-0.784313, -30)
|
||||
destinationNames = Array[String](["Park"])
|
||||
destinationLocations = Array[int]([0])
|
||||
destinationEntranceID = Array[int]([1])
|
||||
movementVerb = "Walk To"
|
||||
|
||||
[node name="InteractionArea" parent="GroundTravelBox/Traveller" index="0"]
|
||||
position = Vector2(0, 162)
|
||||
|
||||
[node name="CollisionShape2D" parent="GroundTravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(0, -35)
|
||||
|
||||
[node name="ArcadeLayout" type="Sprite2D" parent="." index="2"]
|
||||
z_index = -1
|
||||
texture = ExtResource("4_0sqam")
|
||||
|
||||
[node name="FlappyCowRow" type="Node2D" parent="." index="3"]
|
||||
position = Vector2(-609, -237)
|
||||
|
||||
[node name="FlappyCowMachine" parent="FlappyCowRow" index="0" instance=ExtResource("6_aah7l")]
|
||||
|
||||
[node name="FlappyCowMachine2" parent="FlappyCowRow" index="1" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(80, 0)
|
||||
|
||||
[node name="FlappyCowMachine3" parent="FlappyCowRow" index="2" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(160, 0)
|
||||
|
||||
[node name="FlappyCowMachine4" parent="FlappyCowRow" index="3" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(240, 0)
|
||||
|
||||
[node name="FlappyCowMachine5" parent="FlappyCowRow" index="4" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(320, 0)
|
||||
|
||||
[node name="FlappyCowMachine6" parent="FlappyCowRow" index="5" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(400, 0)
|
||||
|
||||
[node name="FlappyCowMachine7" parent="FlappyCowRow" index="6" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(480, 0)
|
||||
|
||||
[node name="FlappyCowRow2" type="Node2D" parent="." index="4"]
|
||||
position = Vector2(-610, -32)
|
||||
|
||||
[node name="FlappyCowMachine" parent="FlappyCowRow2" index="0" instance=ExtResource("6_aah7l")]
|
||||
|
||||
[node name="FlappyCowMachine2" parent="FlappyCowRow2" index="1" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(80, 0)
|
||||
|
||||
[node name="FlappyCowMachine3" parent="FlappyCowRow2" index="2" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(160, 0)
|
||||
|
||||
[node name="FlappyCowMachine4" parent="FlappyCowRow2" index="3" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(240, 0)
|
||||
|
||||
[node name="FlappyCowMachine5" parent="FlappyCowRow2" index="4" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(320, 0)
|
||||
|
||||
[node name="FlappyCowMachine6" parent="FlappyCowRow2" index="5" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(400, 0)
|
||||
|
||||
[node name="FlappyCowMachine7" parent="FlappyCowRow2" index="6" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(480, 0)
|
||||
|
||||
[node name="FlappyCowRow3" type="Node2D" parent="." index="5"]
|
||||
position = Vector2(-608, 166)
|
||||
|
||||
[node name="FlappyCowMachine" parent="FlappyCowRow3" index="0" instance=ExtResource("6_aah7l")]
|
||||
|
||||
[node name="FlappyCowMachine2" parent="FlappyCowRow3" index="1" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(80, 0)
|
||||
|
||||
[node name="FlappyCowMachine3" parent="FlappyCowRow3" index="2" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(160, 0)
|
||||
|
||||
[node name="FlappyCowMachine4" parent="FlappyCowRow3" index="3" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(240, 0)
|
||||
|
||||
[node name="FlappyCowMachine5" parent="FlappyCowRow3" index="4" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(320, 0)
|
||||
|
||||
[node name="FlappyCowMachine6" parent="FlappyCowRow3" index="5" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(400, 0)
|
||||
|
||||
[node name="FlappyCowMachine7" parent="FlappyCowRow3" index="6" instance=ExtResource("6_aah7l")]
|
||||
position = Vector2(480, 0)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." index="6"]
|
||||
position = Vector2(0, -280)
|
||||
texture = ExtResource("6_onods")
|
||||
|
||||
[node name="StaticBody2D" type="StaticBody2D" parent="Sprite2D" index="0"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/StaticBody2D" index="0"]
|
||||
shape = SubResource("RectangleShape2D_incu3")
|
||||
|
||||
[node name="GoatKid1" parent="." index="7" instance=ExtResource("7_d1t75")]
|
||||
position = Vector2(-530, 66)
|
||||
|
||||
[node name="GoatKid2" parent="." index="8" instance=ExtResource("8_f82we")]
|
||||
position = Vector2(-553, -139)
|
||||
|
||||
[node name="ArcadeCounter" parent="." index="9" instance=ExtResource("9_3ti0b")]
|
||||
position = Vector2(479, 14)
|
||||
|
||||
[node name="ArcadeCounter2" parent="." index="10" instance=ExtResource("10_o2eas")]
|
||||
position = Vector2(336, -280)
|
||||
|
||||
[node name="ToysBox" parent="." index="11" instance=ExtResource("11_nxote")]
|
||||
position = Vector2(524, -223)
|
||||
|
||||
[node name="ToysBox2" parent="." index="12" instance=ExtResource("11_nxote")]
|
||||
position = Vector2(606, -219)
|
||||
|
||||
[node name="GoatKid3" parent="." index="13" instance=ExtResource("12_h5sgp")]
|
||||
position = Vector2(36, -167)
|
||||
|
||||
[node name="Boundary" type="StaticBody2D" parent="." index="14"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundary" index="0"]
|
||||
position = Vector2(-3, 312)
|
||||
shape = SubResource("WorldBoundaryShape2D_3r837")
|
||||
|
||||
[node name="Boundary2" type="StaticBody2D" parent="." index="15"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundary2" index="0"]
|
||||
position = Vector2(-662, -23)
|
||||
shape = SubResource("WorldBoundaryShape2D_slstv")
|
||||
|
||||
[node name="Boundary3" type="StaticBody2D" parent="." index="16"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boundary3" index="0"]
|
||||
position = Vector2(661, -15)
|
||||
shape = SubResource("WorldBoundaryShape2D_i1d4m")
|
||||
|
||||
[editable path="GroundTravelBox"]
|
||||
[editable path="GroundTravelBox/Interactable"]
|
||||
[editable path="GroundTravelBox/Interactable/ActionMenu"]
|
||||
[editable path="GroundTravelBox/Traveller"]
|
||||
BIN
Locations/Town/Arcade/ArcadeExterior.png
Normal file
BIN
Locations/Town/Arcade/ArcadeExterior.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
34
Locations/Town/Arcade/ArcadeExterior.png.import
Normal file
34
Locations/Town/Arcade/ArcadeExterior.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://vikiolxewp3u"
|
||||
path="res://.godot/imported/ArcadeExterior.png-822e5d13ba06d7173449404648d78698.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Town/Arcade/ArcadeExterior.png"
|
||||
dest_files=["res://.godot/imported/ArcadeExterior.png-822e5d13ba06d7173449404648d78698.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/Town/Arcade/ArcadeWall.png
Normal file
BIN
Locations/Town/Arcade/ArcadeWall.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
34
Locations/Town/Arcade/ArcadeWall.png.import
Normal file
34
Locations/Town/Arcade/ArcadeWall.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c0sd00oocyis3"
|
||||
path="res://.godot/imported/ArcadeWall.png-336e72791289475334770f98a4efbb35.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Town/Arcade/ArcadeWall.png"
|
||||
dest_files=["res://.godot/imported/ArcadeWall.png-336e72791289475334770f98a4efbb35.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/Town/Arcade/arcadeLayout.png
Normal file
BIN
Locations/Town/Arcade/arcadeLayout.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
34
Locations/Town/Arcade/arcadeLayout.png.import
Normal file
34
Locations/Town/Arcade/arcadeLayout.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://0dks88c618nx"
|
||||
path="res://.godot/imported/arcadeLayout.png-de7682fe6b12009b365e0bf76258e291.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Town/Arcade/arcadeLayout.png"
|
||||
dest_files=["res://.godot/imported/arcadeLayout.png-de7682fe6b12009b365e0bf76258e291.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