It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
10
Objects/Faire/PopcornStand/PopcornShop.gd
Normal file
10
Objects/Faire/PopcornStand/PopcornShop.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var popcorn = load("res://Items/Foods/Snack/Popcorn.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(popcorn)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
54
Objects/Faire/PopcornStand/PopcornStand.tscn
Normal file
54
Objects/Faire/PopcornStand/PopcornStand.tscn
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://cnha6c4hoiibo"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_rs772"]
|
||||
[ext_resource type="Texture2D" uid="uid://cnl0d5knyvsm8" path="res://Objects/Faire/PopcornStand/popcornstand.png" id="2_ynudo"]
|
||||
[ext_resource type="PackedScene" uid="uid://b87ebkvssxjsg" path="res://NPCs/Faire/PopcornBird/PopcornBird.tscn" id="3_13iqv"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_4moue"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="5_gbilt"]
|
||||
[ext_resource type="Script" path="res://Objects/Faire/PopcornStand/PopcornShop.gd" id="6_dmry0"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_6f106"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_ynudo")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_cwg0w"]
|
||||
radius = 43.1045
|
||||
|
||||
[node name="PopcornStand" instance=ExtResource("1_rs772")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-1, -35)
|
||||
sprite_frames = SubResource("SpriteFrames_6f106")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
position = Vector2(1, 7)
|
||||
polygon = PackedVector2Array(-31, -17, 31, -17, 31, 13, -29, 14)
|
||||
|
||||
[node name="PopcornBird" parent="." index="2" instance=ExtResource("3_13iqv")]
|
||||
position = Vector2(-52, -52)
|
||||
|
||||
[node name="Interactable" parent="." index="3" instance=ExtResource("4_4moue")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -33.0
|
||||
offset_top = -89.0
|
||||
offset_right = 29.0
|
||||
offset_bottom = 21.0
|
||||
|
||||
[node name="ShopHaver" parent="." index="4" instance=ExtResource("5_gbilt")]
|
||||
script = ExtResource("6_dmry0")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(2, -21)
|
||||
shape = SubResource("CircleShape2D_cwg0w")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
BIN
Objects/Faire/PopcornStand/popcornstand.png
Normal file
BIN
Objects/Faire/PopcornStand/popcornstand.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
34
Objects/Faire/PopcornStand/popcornstand.png.import
Normal file
34
Objects/Faire/PopcornStand/popcornstand.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cnl0d5knyvsm8"
|
||||
path="res://.godot/imported/popcornstand.png-a6e3377c430bcc340411d929a3b0db9a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Faire/PopcornStand/popcornstand.png"
|
||||
dest_files=["res://.godot/imported/popcornstand.png-a6e3377c430bcc340411d929a3b0db9a.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