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/Arcade/Counter/Counter.png
Normal file
BIN
Objects/Arcade/Counter/Counter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 509 B |
34
Objects/Arcade/Counter/Counter.png.import
Normal file
34
Objects/Arcade/Counter/Counter.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://lsbm2tv27sr3"
|
||||
path="res://.godot/imported/Counter.png-7f5675dcdc22301b99bb9d06c6f95db9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Arcade/Counter/Counter.png"
|
||||
dest_files=["res://.godot/imported/Counter.png-7f5675dcdc22301b99bb9d06c6f95db9.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/Arcade/Counter/CounterSide.png
Normal file
BIN
Objects/Arcade/Counter/CounterSide.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 371 B |
34
Objects/Arcade/Counter/CounterSide.png.import
Normal file
34
Objects/Arcade/Counter/CounterSide.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cjr3ju2fg6cpd"
|
||||
path="res://.godot/imported/CounterSide.png-f4534814ea9dc2c410e734815160e836.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Arcade/Counter/CounterSide.png"
|
||||
dest_files=["res://.godot/imported/CounterSide.png-f4534814ea9dc2c410e734815160e836.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
|
||||
24
Objects/Arcade/Counter/arcade_counter.tscn
Normal file
24
Objects/Arcade/Counter/arcade_counter.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://xqaqxywumrme"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_dxjg2"]
|
||||
[ext_resource type="Texture2D" uid="uid://lsbm2tv27sr3" path="res://Objects/Arcade/Counter/Counter.png" id="2_3ujyx"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_0t6j7"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_3ujyx")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="ArcadeCounter" instance=ExtResource("1_dxjg2")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(1, -34)
|
||||
sprite_frames = SubResource("SpriteFrames_0t6j7")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-179, -39, 180, -39, 181, 20, -180, 20)
|
||||
24
Objects/Arcade/Counter/side_counter.tscn
Normal file
24
Objects/Arcade/Counter/side_counter.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://b4qss5ug8ra6n"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_qh6dp"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjr3ju2fg6cpd" path="res://Objects/Arcade/Counter/CounterSide.png" id="2_cn3om"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_3imau"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_cn3om")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="ArcadeCounter" instance=ExtResource("1_qh6dp")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-1, 65)
|
||||
sprite_frames = SubResource("SpriteFrames_3imau")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-36, 0, 34, 0, 34, 131, -36, 130)
|
||||
BIN
Objects/Arcade/Machines.aseprite
Normal file
BIN
Objects/Arcade/Machines.aseprite
Normal file
Binary file not shown.
BIN
Objects/Arcade/Machines/FlappyCow/FlappyCow.png
Normal file
BIN
Objects/Arcade/Machines/FlappyCow/FlappyCow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
34
Objects/Arcade/Machines/FlappyCow/FlappyCow.png.import
Normal file
34
Objects/Arcade/Machines/FlappyCow/FlappyCow.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mxcshk4fpxdo"
|
||||
path="res://.godot/imported/FlappyCow.png-c0f204538b2c327d1cedc566ec302483.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Arcade/Machines/FlappyCow/FlappyCow.png"
|
||||
dest_files=["res://.godot/imported/FlappyCow.png-c0f204538b2c327d1cedc566ec302483.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
|
||||
29
Objects/Arcade/Machines/FlappyCow/FlappyCowMachine.gd
Normal file
29
Objects/Arcade/Machines/FlappyCow/FlappyCowMachine.gd
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
extends Interaction
|
||||
|
||||
func _ready():
|
||||
add_action("Play", play_game)
|
||||
|
||||
var nestedGameInstance
|
||||
|
||||
func play_game():
|
||||
if !get_node("/root/MainGame/CanvasLayer/MenuBar").visible:
|
||||
return
|
||||
|
||||
get_node("/root/MainGame/CanvasLayer/MessageZone").visible = false
|
||||
get_node("/root/MainGame/CanvasLayer/MenuBar").visible = false
|
||||
get_node("/root/MainGame/CanvasLayer/MinimizeMessageZoneButton").visible = false
|
||||
var nestedGameScene = preload("res://MiniGames/FlappyCow/World/World.tscn")
|
||||
nestedGameInstance = nestedGameScene.instantiate()
|
||||
find_parent("MainGame").add_child(nestedGameInstance)
|
||||
nestedGameInstance.get_node("FlappyCow").get_node("Camera2D").make_current()
|
||||
#get_tree().paused = true
|
||||
# minigame just breaks if you pause but the otherone doesnt idk why
|
||||
|
||||
func test_game(): #for testing minigames before they get placed in the world
|
||||
get_node("/root/MainGame/CanvasLayer/MessageZone").visible = false
|
||||
var nestedGameScene = preload("res://MiniGames/RingToss/ringtoss_scene.tscn")
|
||||
nestedGameInstance = nestedGameScene.instantiate()
|
||||
find_parent("MainGame").add_child(nestedGameInstance)
|
||||
nestedGameInstance.get_node("RTcam").make_current()
|
||||
get_tree().paused = true
|
||||
|
||||
48
Objects/Arcade/Machines/FlappyCow/flappy_cow_machine.tscn
Normal file
48
Objects/Arcade/Machines/FlappyCow/flappy_cow_machine.tscn
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://tsgpfsfkjgbi"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_81upv"]
|
||||
[ext_resource type="Texture2D" uid="uid://mxcshk4fpxdo" path="res://Objects/Arcade/Machines/FlappyCow/FlappyCow.png" id="2_3r1fd"]
|
||||
[ext_resource type="Script" path="res://Objects/Arcade/Machines/FlappyCow/FlappyCowMachine.gd" id="2_q8uyg"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_4l4tm"]
|
||||
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="4_jswtk"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_6aiyi"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_3r1fd")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7pjji"]
|
||||
size = Vector2(58, 104)
|
||||
|
||||
[node name="FlappyCowMachine" instance=ExtResource("1_81upv")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_6aiyi")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-35, 0, 35, 0, 36, 79, -35, 79)
|
||||
|
||||
[node name="Interactable" parent="." index="2" instance=ExtResource("3_4l4tm")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -36.0
|
||||
offset_top = -81.0
|
||||
offset_right = 36.0
|
||||
offset_bottom = 80.0
|
||||
|
||||
[node name="Interaction" parent="." index="3" instance=ExtResource("4_jswtk")]
|
||||
script = ExtResource("2_q8uyg")
|
||||
|
||||
[node name="CollisionShape2D" parent="Interaction/InteractionArea" index="0"]
|
||||
position = Vector2(1, 37)
|
||||
shape = SubResource("RectangleShape2D_7pjji")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Interaction"]
|
||||
BIN
Objects/Arcade/ToyBoxes/ToysBox.png
Normal file
BIN
Objects/Arcade/ToyBoxes/ToysBox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
34
Objects/Arcade/ToyBoxes/ToysBox.png.import
Normal file
34
Objects/Arcade/ToyBoxes/ToysBox.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cjdnb4nwqv3fs"
|
||||
path="res://.godot/imported/ToysBox.png-9acd761fd1f6fcaa2aead3c743b34161.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Arcade/ToyBoxes/ToysBox.png"
|
||||
dest_files=["res://.godot/imported/ToysBox.png-9acd761fd1f6fcaa2aead3c743b34161.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
|
||||
45
Objects/Arcade/ToyBoxes/toys_box.tscn
Normal file
45
Objects/Arcade/ToyBoxes/toys_box.tscn
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://vcwocduu471t"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_5vmkm"]
|
||||
[ext_resource type="Texture2D" uid="uid://cjdnb4nwqv3fs" path="res://Objects/Arcade/ToyBoxes/ToysBox.png" id="2_57ypw"]
|
||||
[ext_resource type="Script" path="res://Items/Toys/Other/StickyHand.gd" id="3_103cd"]
|
||||
[ext_resource type="Script" path="res://Items/Toys/Other/BouncyBall.gd" id="4_n45e8"]
|
||||
[ext_resource type="Script" path="res://Items/Foods/Snack/SugarStick.gd" id="5_byt3o"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_elgyl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_57ypw")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="ToysBox" instance=ExtResource("1_5vmkm")]
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-1, 0)
|
||||
sprite_frames = SubResource("SpriteFrames_elgyl")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-33.5, 82.5, 37.5, 83.5, 42.5, 93.5, 25.5, 132.5, -33.5, 133.5)
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -33.0
|
||||
offset_top = 58.0
|
||||
offset_right = 24.0
|
||||
offset_bottom = 133.0
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
scavengeDifficulty = 9
|
||||
dropItemClasses = Array[Resource]([ExtResource("3_103cd"), ExtResource("4_n45e8"), ExtResource("5_byt3o")])
|
||||
dropItemProbabilities = Array[int]([1, 2, 2])
|
||||
xpRewards = Array[int]([11, 9, 4])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-40, 45), Vector2(0, 45), Vector2(30, 30)])
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue