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/PalmTrees/PalmTreeBanana.png
Normal file
BIN
Objects/Beach/PalmTrees/PalmTreeBanana.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
34
Objects/Beach/PalmTrees/PalmTreeBanana.png.import
Normal file
34
Objects/Beach/PalmTrees/PalmTreeBanana.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cxmfwsi66xn1a"
|
||||
path="res://.godot/imported/PalmTreeBanana.png-2801258dc531b62523c22a92790fbac2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Beach/PalmTrees/PalmTreeBanana.png"
|
||||
dest_files=["res://.godot/imported/PalmTreeBanana.png-2801258dc531b62523c22a92790fbac2.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
|
||||
66
Objects/Beach/PalmTrees/PalmTreeBanana.tscn
Normal file
66
Objects/Beach/PalmTrees/PalmTreeBanana.tscn
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://x2u6y5unc7f6"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_3sr05"]
|
||||
[ext_resource type="Texture2D" uid="uid://cxmfwsi66xn1a" path="res://Objects/Beach/PalmTrees/PalmTreeBanana.png" id="2_x35da"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_lmo3k"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="4_0mep0"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/PalmLeaf.gd" id="5_e7pup"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/PalmFiber.gd" id="6_a5squ"]
|
||||
[ext_resource type="Script" path="res://Items/Foods/Fruits/Banana.gd" id="7_puc77"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_h2l2q"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_514te"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_b02tm"]
|
||||
radius = 56.0089
|
||||
|
||||
[node name="PalmTreeBanana" instance=ExtResource("1_3sr05")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-4, -133)
|
||||
sprite_frames = SubResource("SpriteFrames_h2l2q")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-20, -22, 4, -25, 31, -24, 44, -18, 42, 0, 13, 0, -33, 0)
|
||||
|
||||
[node name="PalmTreeBanana" type="Sprite2D" parent="." index="2"]
|
||||
position = Vector2(-30, -168)
|
||||
texture = ExtResource("2_x35da")
|
||||
|
||||
[node name="Interactable" parent="." index="3" instance=ExtResource("3_lmo3k")]
|
||||
position = Vector2(0, -88.5)
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -1.0
|
||||
offset_top = -37.0
|
||||
offset_right = 47.0
|
||||
offset_bottom = 89.0
|
||||
|
||||
[node name="Panel2" type="Panel" parent="Interactable" index="2"]
|
||||
offset_left = -30.0
|
||||
offset_top = 39.0
|
||||
offset_right = -1.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_514te")
|
||||
|
||||
[node name="Scavengeable" parent="." index="4" instance=ExtResource("4_0mep0")]
|
||||
position = Vector2(0.5, -25.5)
|
||||
scavengeDifficulty = 35
|
||||
dropItemClasses = Array[Resource]([ExtResource("5_e7pup"), ExtResource("6_a5squ"), ExtResource("7_puc77")])
|
||||
dropItemProbabilities = Array[int]([5, 4, 2])
|
||||
xpRewards = Array[int]([9, 8, 94])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-70, 6), Vector2(35, 10), Vector2(-35, 10), Vector2(70, 6), Vector2(0, 15)])
|
||||
|
||||
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
|
||||
position = Vector2(9.5, 2.5)
|
||||
shape = SubResource("CircleShape2D_b02tm")
|
||||
|
||||
[node name="ScavengeBar" parent="Scavengeable" index="1"]
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="gui_input" from="Interactable/Panel2" to="Interactable" method="_on_panel_gui_input"]
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
BIN
Objects/Beach/PalmTrees/PalmTreeCoconut.png
Normal file
BIN
Objects/Beach/PalmTrees/PalmTreeCoconut.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
34
Objects/Beach/PalmTrees/PalmTreeCoconut.png.import
Normal file
34
Objects/Beach/PalmTrees/PalmTreeCoconut.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://pjvbm1qht4xl"
|
||||
path="res://.godot/imported/PalmTreeCoconut.png-b354651bd3db4752ea7852a9e84da3d3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Beach/PalmTrees/PalmTreeCoconut.png"
|
||||
dest_files=["res://.godot/imported/PalmTreeCoconut.png-b354651bd3db4752ea7852a9e84da3d3.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
|
||||
66
Objects/Beach/PalmTrees/PalmTreeCoconut.tscn
Normal file
66
Objects/Beach/PalmTrees/PalmTreeCoconut.tscn
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://mlrf6ohnmtbl"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_dc47o"]
|
||||
[ext_resource type="Texture2D" uid="uid://pjvbm1qht4xl" path="res://Objects/Beach/PalmTrees/PalmTreeCoconut.png" id="2_pcnj2"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_tpi6f"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="4_jlfk4"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/PalmLeaf.gd" id="5_4mq0o"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/PalmFiber.gd" id="6_kmpmm"]
|
||||
[ext_resource type="Script" path="res://Items/Foods/Fruits/Coconut.gd" id="7_dr816"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_h2l2q"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_514te"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_b02tm"]
|
||||
radius = 56.0089
|
||||
|
||||
[node name="PalmTreeCoconut" instance=ExtResource("1_dc47o")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-4, -133)
|
||||
sprite_frames = SubResource("SpriteFrames_h2l2q")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-20, -22, 4, -25, 31, -24, 44, -18, 42, 0, 13, 0, -33, 0)
|
||||
|
||||
[node name="PalmTreeCoconut" type="Sprite2D" parent="." index="2"]
|
||||
position = Vector2(-30, -168)
|
||||
texture = ExtResource("2_pcnj2")
|
||||
|
||||
[node name="Interactable" parent="." index="3" instance=ExtResource("3_tpi6f")]
|
||||
position = Vector2(0, -88.5)
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -1.0
|
||||
offset_top = -37.0
|
||||
offset_right = 47.0
|
||||
offset_bottom = 89.0
|
||||
|
||||
[node name="Panel2" type="Panel" parent="Interactable" index="2"]
|
||||
offset_left = -30.0
|
||||
offset_top = 39.0
|
||||
offset_right = -1.0
|
||||
offset_bottom = 88.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxEmpty_514te")
|
||||
|
||||
[node name="Scavengeable" parent="." index="4" instance=ExtResource("4_jlfk4")]
|
||||
position = Vector2(0.5, -25.5)
|
||||
scavengeDifficulty = 30
|
||||
dropItemClasses = Array[Resource]([ExtResource("5_4mq0o"), ExtResource("6_kmpmm"), ExtResource("7_dr816")])
|
||||
dropItemProbabilities = Array[int]([5, 4, 2])
|
||||
xpRewards = Array[int]([9, 8, 66])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-70, 6), Vector2(35, 10), Vector2(-35, 10), Vector2(70, 6), Vector2(0, 15)])
|
||||
|
||||
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
|
||||
position = Vector2(9.5, 2.5)
|
||||
shape = SubResource("CircleShape2D_b02tm")
|
||||
|
||||
[node name="ScavengeBar" parent="Scavengeable" index="1"]
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="gui_input" from="Interactable/Panel2" to="Interactable" method="_on_panel_gui_input"]
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue