It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
BIN
Objects/Museum/GiftShop/GiftShopCounter.png
Normal file
BIN
Objects/Museum/GiftShop/GiftShopCounter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 422 B |
34
Objects/Museum/GiftShop/GiftShopCounter.png.import
Normal file
34
Objects/Museum/GiftShop/GiftShopCounter.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bb7txv7w8he1w"
|
||||
path="res://.godot/imported/GiftShopCounter.png-e678e6531006a9e2d089541acf152015.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Museum/GiftShop/GiftShopCounter.png"
|
||||
dest_files=["res://.godot/imported/GiftShopCounter.png-e678e6531006a9e2d089541acf152015.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
|
||||
24
Objects/Museum/GiftShop/GiftShopCounter.tscn
Normal file
24
Objects/Museum/GiftShop/GiftShopCounter.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://dfh6fgi18qa6x"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_a762w"]
|
||||
[ext_resource type="Texture2D" uid="uid://bb7txv7w8he1w" path="res://Objects/Museum/GiftShop/GiftShopCounter.png" id="2_vkn6p"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_q1k42"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_vkn6p")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="GiftShopCounter" instance=ExtResource("1_a762w")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(1, -26)
|
||||
sprite_frames = SubResource("SpriteFrames_q1k42")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-234, 0, 239, 1, 239, 14, -234, 14)
|
||||
22
Objects/Museum/GiftShop/GiftShopShop.gd
Normal file
22
Objects/Museum/GiftShop/GiftShopShop.gd
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var DIYExcavation = load("res://Items/Toys/Other/DIYExcavation.gd").new()
|
||||
var mapleTea = load("res://Items/Foods/Packaged/MapleTeaBag.gd").new()
|
||||
var crocPuppet = load("res://Items/Toys/Puppets/CrocPuppet.gd").new()
|
||||
var gummyDino = load("res://Items/Foods/Snack/VeganGummyDino.gd").new()
|
||||
var activityBook = load("res://Items/Paper/UnicornJournal.gd").new()
|
||||
var mushroomKit = load("res://Items/Fungi/GrowYourOwnMushroomKit.gd").new()
|
||||
var wormOnAString = load("res://Items/Toys/WormOnAString/WormOnAString.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(DIYExcavation)
|
||||
shopInventory.append(mapleTea)
|
||||
shopInventory.append(crocPuppet)
|
||||
shopInventory.append(gummyDino)
|
||||
shopInventory.append(activityBook)
|
||||
shopInventory.append(mushroomKit)
|
||||
shopInventory.append(wormOnAString)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
BIN
Objects/Museum/GiftShop/GiftShopShop.png
Normal file
BIN
Objects/Museum/GiftShop/GiftShopShop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 760 B |
34
Objects/Museum/GiftShop/GiftShopShop.png.import
Normal file
34
Objects/Museum/GiftShop/GiftShopShop.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dm8816sxt0nsd"
|
||||
path="res://.godot/imported/GiftShopShop.png-e08769eb8995a561bf8e57afc545dac2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Museum/GiftShop/GiftShopShop.png"
|
||||
dest_files=["res://.godot/imported/GiftShopShop.png-e08769eb8995a561bf8e57afc545dac2.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
|
||||
50
Objects/Museum/GiftShop/GiftShopShop.tscn
Normal file
50
Objects/Museum/GiftShop/GiftShopShop.tscn
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dtjrgbmqml0i0"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xiad8cmbm2ic" path="res://Objects/Shop/shop.tscn" id="1_jj6qm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dm8816sxt0nsd" path="res://Objects/Museum/GiftShop/GiftShopShop.png" id="2_i3n84"]
|
||||
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/GiftShopShop.gd" id="3_8fv43"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_mgb67"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_i3n84")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="GiftShopShop" instance=ExtResource("1_jj6qm")]
|
||||
|
||||
[node name="Interactable" parent="." index="0"]
|
||||
position = Vector2(-0.499999, -109)
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -18.8
|
||||
offset_top = 26.9
|
||||
offset_right = 21.2
|
||||
offset_bottom = 56.9
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
position = Vector2(0.700001, -66.1)
|
||||
scale = Vector2(0.6, 0.6)
|
||||
sprite_frames = SubResource("SpriteFrames_mgb67")
|
||||
|
||||
[node name="StaticBody2D" parent="." index="2"]
|
||||
position = Vector2(-0.499999, -109)
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
visible = false
|
||||
|
||||
[node name="ShopHaver" parent="." index="3"]
|
||||
position = Vector2(-0.499999, -109)
|
||||
script = ExtResource("3_8fv43")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(1.2, 40.9)
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
BIN
Objects/Museum/GiftShop/Microscope.png
Normal file
BIN
Objects/Museum/GiftShop/Microscope.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
34
Objects/Museum/GiftShop/Microscope.png.import
Normal file
34
Objects/Museum/GiftShop/Microscope.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dwxnxgs4evudf"
|
||||
path="res://.godot/imported/Microscope.png-8ebd9874f57ff1264c51328bcc0052e3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Museum/GiftShop/Microscope.png"
|
||||
dest_files=["res://.godot/imported/Microscope.png-8ebd9874f57ff1264c51328bcc0052e3.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
|
||||
7
Objects/Museum/GiftShop/MicroscopeInteraction.gd
Normal file
7
Objects/Museum/GiftShop/MicroscopeInteraction.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends Interaction
|
||||
|
||||
func _ready():
|
||||
add_action("Microscope", microscope)
|
||||
|
||||
func microscope():
|
||||
get_parent().open_microscoping_menu()
|
||||
8
Objects/Museum/GiftShop/microscope.gd
Normal file
8
Objects/Museum/GiftShop/microscope.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends Node2D
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
|
||||
func open_microscoping_menu():
|
||||
$MicroscopeWindow.popup_centered()
|
||||
$MicroscopeWindow.opened()
|
||||
59
Objects/Museum/GiftShop/microscope.tscn
Normal file
59
Objects/Museum/GiftShop/microscope.tscn
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://dp2pw8uu3wr4d"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_yem17"]
|
||||
[ext_resource type="Texture2D" uid="uid://dwxnxgs4evudf" path="res://Objects/Museum/GiftShop/Microscope.png" id="2_mf4vs"]
|
||||
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/microscope.gd" id="2_uotok"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0bqiakec1osr" path="res://UI/Microscope/MicroscopeWindow.tscn" id="3_baa44"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_rbjkk"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="6_termg"]
|
||||
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/MicroscopeInteraction.gd" id="7_26uov"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_2tolx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_mf4vs")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b0w6w"]
|
||||
radius = 58.0
|
||||
height = 224.0
|
||||
|
||||
[node name="Microscope" instance=ExtResource("1_yem17")]
|
||||
script = ExtResource("2_uotok")
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-0.5, -58.5)
|
||||
sprite_frames = SubResource("SpriteFrames_2tolx")
|
||||
|
||||
[node name="MicroscopeWindow" parent="." index="1" instance=ExtResource("3_baa44")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
|
||||
[node name="StaticBody2D" parent="." index="2"]
|
||||
position = Vector2(-0.5, -58.5)
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-101.5, 37.5, 109.5, 37.5, 111, 101, -101, 101)
|
||||
|
||||
[node name="Interactable" parent="." index="3" instance=ExtResource("4_rbjkk")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_top = -93.0
|
||||
offset_right = 109.0
|
||||
offset_bottom = 25.0
|
||||
|
||||
[node name="Interaction" parent="." index="4" instance=ExtResource("6_termg")]
|
||||
script = ExtResource("7_26uov")
|
||||
|
||||
[node name="CollisionShape2D" parent="Interaction/InteractionArea" index="0"]
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_b0w6w")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Interaction"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue