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/Beach/SnakShakShop/SnakShakMenu.png
Normal file
BIN
Objects/Beach/SnakShakShop/SnakShakMenu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 417 B |
34
Objects/Beach/SnakShakShop/SnakShakMenu.png.import
Normal file
34
Objects/Beach/SnakShakShop/SnakShakMenu.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d2qjxfhpk2bvv"
|
||||
path="res://.godot/imported/SnakShakMenu.png-f2f28122e6d002d8339a30d7b0774d2d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Beach/SnakShakShop/SnakShakMenu.png"
|
||||
dest_files=["res://.godot/imported/SnakShakMenu.png-f2f28122e6d002d8339a30d7b0774d2d.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
|
||||
16
Objects/Beach/SnakShakShop/SnakShakShop.gd
Normal file
16
Objects/Beach/SnakShakShop/SnakShakShop.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var blueSoda = load("res://Items/Foods/Liquids/BlueSoda.gd").new()
|
||||
var wustardPacket = load("res://Items/Foods/Packaged/WustardPacket.gd").new()
|
||||
var relishPacket = load("res://Items/Foods/Packaged/RelishPacket.gd").new()
|
||||
var ketchupPacket = load("res://Items/Foods/Packaged/KetchupPacket.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(blueSoda)
|
||||
shopInventory.append(wustardPacket)
|
||||
shopInventory.append(relishPacket)
|
||||
shopInventory.append(ketchupPacket)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
53
Objects/Beach/SnakShakShop/SnakShakShop.tscn
Normal file
53
Objects/Beach/SnakShakShop/SnakShakShop.tscn
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://cup1y7p6feev4"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xiad8cmbm2ic" path="res://Objects/Shop/shop.tscn" id="1_w3s3j"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2qjxfhpk2bvv" path="res://Objects/Beach/SnakShakShop/SnakShakMenu.png" id="2_8vku2"]
|
||||
[ext_resource type="Script" path="res://Objects/Beach/SnakShakShop/SnakShakShop.gd" id="3_h4jqd"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_xlku4"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_8vku2")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_l4b32"]
|
||||
radius = 13.3454
|
||||
|
||||
[node name="SnakShakShop" instance=ExtResource("1_w3s3j")]
|
||||
|
||||
[node name="Interactable" parent="." index="0"]
|
||||
position = Vector2(-0.7, -97)
|
||||
|
||||
[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.5, -54.1)
|
||||
sprite_frames = SubResource("SpriteFrames_xlku4")
|
||||
|
||||
[node name="StaticBody2D" parent="." index="2"]
|
||||
position = Vector2(-0.7, -97)
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
visible = false
|
||||
|
||||
[node name="ShopHaver" parent="." index="3"]
|
||||
position = Vector2(-0.7, -97)
|
||||
script = ExtResource("3_h4jqd")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(1.2, 40.9)
|
||||
shape = SubResource("CircleShape2D_l4b32")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue