It's Cow Game! Version 2.04!

This commit is contained in:
PajamaBee 2024-09-19 23:06:51 -05:00
commit a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c8hikhig0uvi5"
path="res://.godot/imported/HeadPatter.png-ccfcc13947c09bc7ecbd3f17b7a3f72d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://NPCs/HeadPatter/HeadPatter.png"
dest_files=["res://.godot/imported/HeadPatter.png-ccfcc13947c09bc7ecbd3f17b7a3f72d.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c5q02dk7r5dqp"
path="res://.godot/imported/HeadPatterPat1.png-cd2dfe59bfc9f87fce9f10ba02b1ca9d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://NPCs/HeadPatter/HeadPatterPat1.png"
dest_files=["res://.godot/imported/HeadPatterPat1.png-cd2dfe59bfc9f87fce9f10ba02b1ca9d.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bps8usn41061"
path="res://.godot/imported/HeadPatterPat2.png-e0f854c1e0223309f5844f534d7b4282.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://NPCs/HeadPatter/HeadPatterPat2.png"
dest_files=["res://.godot/imported/HeadPatterPat2.png-e0f854c1e0223309f5844f534d7b4282.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

View file

@ -0,0 +1,3 @@
~ start
Mysterious Being: Hello I give headpats
=> END

View file

@ -0,0 +1,15 @@
[remap]
importer="dialogue_manager_compiler_11"
type="Resource"
uid="uid://ddgw0hlgfvrj8"
path="res://.godot/imported/HeadpatPuppy.dialogue-fa0f9ed0c0463360bd741bea1dd5632c.tres"
[deps]
source_file="res://NPCs/HeadPatter/HeadpatPuppy.dialogue"
dest_files=["res://.godot/imported/HeadpatPuppy.dialogue-fa0f9ed0c0463360bd741bea1dd5632c.tres"]
[params]
defaults=true

View file

@ -0,0 +1,22 @@
extends NPC
# Called when the node enters the scene tree for the first time.
func _ready():
$Sprite.play()
func _on_area_2d_area_entered(area):
if area.name == "pigeonarea":
var pigeon = area.get_parent()
pigeon.global_position = Vector2(global_position.x - 44, global_position.y + 32)
pigeon.walking = false
pigeon.get_pats()
var pigeonsprite = pigeon.get_node("Sprite")
pigeonsprite.flip_h = true
if area.get_parent().name == "Cow":
var cow = area.get_parent()
cow.global_position = Vector2(global_position.x - 97, global_position.y + 62)
cow.set_target_position(cow.global_position)
cow.face_direction(false)
LevelManager.get_skill("appreciating").experience_event("Headpat Puppy", "was headpatted by", 250)

View file

@ -0,0 +1,52 @@
[gd_scene load_steps=8 format=3 uid="uid://bw1okfs32t4b1"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_vkm3w"]
[ext_resource type="Script" path="res://NPCs/HeadPatter/head_patter.gd" id="2_0ldal"]
[ext_resource type="Texture2D" uid="uid://c5q02dk7r5dqp" path="res://NPCs/HeadPatter/HeadPatterPat1.png" id="2_dmc7b"]
[ext_resource type="Resource" uid="uid://ddgw0hlgfvrj8" path="res://NPCs/HeadPatter/HeadpatPuppy.dialogue" id="3_382dn"]
[ext_resource type="Texture2D" uid="uid://bps8usn41061" path="res://NPCs/HeadPatter/HeadPatterPat2.png" id="3_yppb0"]
[sub_resource type="SpriteFrames" id="SpriteFrames_4l0u2"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_dmc7b")
}, {
"duration": 1.0,
"texture": ExtResource("3_yppb0")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_h4rpb"]
radius = 38.0132
[node name="HeadPatter" instance=ExtResource("1_vkm3w")]
script = ExtResource("2_0ldal")
dialogueResource = ExtResource("3_382dn")
[node name="Sprite" parent="." index="0"]
position = Vector2(-24, -33)
sprite_frames = SubResource("SpriteFrames_4l0u2")
[node name="Area2D" type="Area2D" parent="." index="1"]
collision_layer = 3
collision_mask = 3
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" index="0"]
position = Vector2(-24, 6)
shape = SubResource("CircleShape2D_h4rpb")
[node name="Panel" parent="Interactable" index="1"]
offset_left = -27.0
offset_top = -77.0
offset_right = 32.0
offset_bottom = 7.0
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]