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/Faire/TicketBooth/TicketBooth.png
Normal file
BIN
Objects/Faire/TicketBooth/TicketBooth.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
34
Objects/Faire/TicketBooth/TicketBooth.png.import
Normal file
34
Objects/Faire/TicketBooth/TicketBooth.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbcrgma4thm4v"
|
||||
path="res://.godot/imported/TicketBooth.png-9d20913dd3b3aa3feb1a7e79a24567c8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Faire/TicketBooth/TicketBooth.png"
|
||||
dest_files=["res://.godot/imported/TicketBooth.png-9d20913dd3b3aa3feb1a7e79a24567c8.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
|
||||
62
Objects/Faire/TicketBooth/TicketBooth.tscn
Normal file
62
Objects/Faire/TicketBooth/TicketBooth.tscn
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://cos4proxemc8"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_vhnih"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbcrgma4thm4v" path="res://Objects/Faire/TicketBooth/TicketBooth.png" id="2_npue7"]
|
||||
[ext_resource type="Texture2D" uid="uid://brynf2b53anax" path="res://Objects/Faire/TicketBooth/TicketBoothBG.png" id="2_tjekb"]
|
||||
[ext_resource type="PackedScene" uid="uid://d2wf582p6us4f" path="res://NPCs/Faire/TicketPig/TicketPig.tscn" id="3_uc5rx"]
|
||||
[ext_resource type="Texture2D" uid="uid://bbf8md0ownhev" path="res://Objects/Faire/TicketBooth/TicketPigArms.png" id="4_r2k2m"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="6_wytdv"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="7_my5nl"]
|
||||
[ext_resource type="Script" path="res://Objects/Faire/TicketBooth/TicketShop.gd" id="7_plvj6"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_1qjln"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_npue7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xeeos"]
|
||||
radius = 72.1734
|
||||
|
||||
[node name="TicketBooth" instance=ExtResource("1_vhnih")]
|
||||
|
||||
[node name="TicketBoothBg" type="Sprite2D" parent="." index="0"]
|
||||
position = Vector2(0, -82)
|
||||
texture = ExtResource("2_tjekb")
|
||||
|
||||
[node name="TicketPig" parent="." index="1" instance=ExtResource("3_uc5rx")]
|
||||
position = Vector2(-37, -72)
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="2"]
|
||||
position = Vector2(0, -82)
|
||||
sprite_frames = SubResource("SpriteFrames_1qjln")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-149, -7, 144, -3, 144, 36, -151, 36)
|
||||
|
||||
[node name="TicketPigArms" type="Sprite2D" parent="." index="4"]
|
||||
position = Vector2(-40, -67)
|
||||
texture = ExtResource("4_r2k2m")
|
||||
|
||||
[node name="Interactable" parent="." index="5" instance=ExtResource("7_my5nl")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = 2.0
|
||||
offset_right = 54.0
|
||||
offset_bottom = -75.0
|
||||
|
||||
[node name="ShopHaver" parent="." index="6" instance=ExtResource("6_wytdv")]
|
||||
script = ExtResource("7_plvj6")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(31, -43)
|
||||
shape = SubResource("CircleShape2D_xeeos")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
57
Objects/Faire/TicketBooth/TicketBooth2.tscn
Normal file
57
Objects/Faire/TicketBooth/TicketBooth2.tscn
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://dcuwosah661bs"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_nyxqr"]
|
||||
[ext_resource type="Texture2D" uid="uid://brynf2b53anax" path="res://Objects/Faire/TicketBooth/TicketBoothBG.png" id="2_wwl8q"]
|
||||
[ext_resource type="PackedScene" uid="uid://c0tplejfk64gg" path="res://NPCs/Faire/TicketDuck/TicketDuck.tscn" id="3_nhbbi"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbcrgma4thm4v" path="res://Objects/Faire/TicketBooth/TicketBooth.png" id="4_t71da"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="6_12dwl"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="7_e4r7i"]
|
||||
[ext_resource type="Script" path="res://Objects/Faire/TicketBooth/TicketShop.gd" id="8_7h5fo"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_1qjln"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_t71da")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_xeeos"]
|
||||
radius = 72.1734
|
||||
|
||||
[node name="TicketBooth2" instance=ExtResource("1_nyxqr")]
|
||||
|
||||
[node name="TicketBoothBg" type="Sprite2D" parent="." index="0"]
|
||||
position = Vector2(0, -82)
|
||||
texture = ExtResource("2_wwl8q")
|
||||
|
||||
[node name="TicketDuck" parent="." index="1" instance=ExtResource("3_nhbbi")]
|
||||
position = Vector2(-35, -81)
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="2"]
|
||||
position = Vector2(0, -82)
|
||||
sprite_frames = SubResource("SpriteFrames_1qjln")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-149, -7, 144, -3, 144, 36, -151, 36)
|
||||
|
||||
[node name="Interactable" parent="." index="4" instance=ExtResource("6_12dwl")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = 2.0
|
||||
offset_right = 54.0
|
||||
offset_bottom = -75.0
|
||||
|
||||
[node name="ShopHaver" parent="." index="5" instance=ExtResource("7_e4r7i")]
|
||||
script = ExtResource("8_7h5fo")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(31, -43)
|
||||
shape = SubResource("CircleShape2D_xeeos")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
BIN
Objects/Faire/TicketBooth/TicketBoothBG.png
Normal file
BIN
Objects/Faire/TicketBooth/TicketBoothBG.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 945 B |
34
Objects/Faire/TicketBooth/TicketBoothBG.png.import
Normal file
34
Objects/Faire/TicketBooth/TicketBoothBG.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://brynf2b53anax"
|
||||
path="res://.godot/imported/TicketBoothBG.png-f309525ab221e2d06640371e1a811748.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Faire/TicketBooth/TicketBoothBG.png"
|
||||
dest_files=["res://.godot/imported/TicketBoothBG.png-f309525ab221e2d06640371e1a811748.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
Objects/Faire/TicketBooth/TicketPigArms.png
Normal file
BIN
Objects/Faire/TicketBooth/TicketPigArms.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 199 B |
34
Objects/Faire/TicketBooth/TicketPigArms.png.import
Normal file
34
Objects/Faire/TicketBooth/TicketPigArms.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bbf8md0ownhev"
|
||||
path="res://.godot/imported/TicketPigArms.png-e21189639bda90fd6ad8e8ef49243cbb.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Faire/TicketBooth/TicketPigArms.png"
|
||||
dest_files=["res://.godot/imported/TicketPigArms.png-e21189639bda90fd6ad8e8ef49243cbb.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
|
||||
10
Objects/Faire/TicketBooth/TicketShop.gd
Normal file
10
Objects/Faire/TicketBooth/TicketShop.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var ticket = load("res://Items/Paper/FaireTicket.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(ticket)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
Loading…
Add table
Add a link
Reference in a new issue