mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-24 17:14:23 +00:00
Merge branch 'main' of https://github.com/Steffo99/ld55
This commit is contained in:
commit
6adb15e1dd
81 changed files with 2144 additions and 54 deletions
|
@ -5,8 +5,8 @@ This project uses the following external assets:
|
||||||
| File | URL | License |
|
| File | URL | License |
|
||||||
|------|-------|-----|
|
|------|-------|-----|
|
||||||
| `./icon.svg` | Godot icon | MIT license |
|
| `./icon.svg` | Godot icon | MIT license |
|
||||||
| `./temp/tollbell.mp3` | https://freesound.org/people/sdroliasnick/sounds/731270/| CC0 |
|
| `./temp/tollbell.mp3` | https://freesound.org/people/sdroliasnick/sounds/731270/ | CC0 |
|
||||||
| `./temp/sheep.wav` | https://freesound.org/people/michaelperfect/sounds/710298/| CC0 |
|
| `./entities/sheep_drag.wav` | https://freesound.org/people/michaelperfect/sounds/710298/ | CC0 |
|
||||||
| `./temp/click&pop.wav` | https://freesound.org/people/GammaGool/sounds/730488/ | CC0 |
|
| `./temp/click&pop.wav` | https://freesound.org/people/GammaGool/sounds/730488/ | CC0 |
|
||||||
| `./temp/pop.wav` | https://freesound.org/people/NovaSoundTechnology/sounds/727104/ | CC0 |
|
| `./temp/pop.wav` | https://freesound.org/people/NovaSoundTechnology/sounds/727104/ | CC0 |
|
||||||
| `./temp/mouth_pop.wav` | https://freesound.org/people/igaopuromalte/sounds/725453/ | Attribution 4 |
|
| `./temp/mouth_pop.wav` | https://freesound.org/people/igaopuromalte/sounds/725453/ | Attribution 4 |
|
||||||
|
@ -24,3 +24,4 @@ This project uses the following external assets:
|
||||||
| `./temp/monster_bite.wav` | https://freesound.org/people/OGsoundFX/sounds/423010/ | Attribution 4 |
|
| `./temp/monster_bite.wav` | https://freesound.org/people/OGsoundFX/sounds/423010/ | Attribution 4 |
|
||||||
| `./temp/tank.wav` | https://freesound.org/people/JarredGibb/sounds/217273/ | CC0 |
|
| `./temp/tank.wav` | https://freesound.org/people/JarredGibb/sounds/217273/ | CC0 |
|
||||||
| `./temp/demon_dying.wav` | https://freesound.org/people/THE_bizniss/sounds/37823/ | Attribution 3 |
|
| `./temp/demon_dying.wav` | https://freesound.org/people/THE_bizniss/sounds/37823/ | Attribution 3 |
|
||||||
|
| `./entities/coin.ogg` | https://freesound.org/people/forrisday/sounds/214509/ | Attribution 4 |
|
||||||
|
|
|
@ -9,7 +9,6 @@ radius = 16.0
|
||||||
script = ExtResource("1_p0pc3")
|
script = ExtResource("1_p0pc3")
|
||||||
|
|
||||||
[node name="MouseArea" type="Area2D" parent="."]
|
[node name="MouseArea" type="Area2D" parent="."]
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
|
||||||
|
|
37
behaviours/eat_target.gd
Normal file
37
behaviours/eat_target.gd
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
extends Node2D
|
||||||
|
class_name EatTarget
|
||||||
|
|
||||||
|
|
||||||
|
signal eaten(target: Node2D)
|
||||||
|
signal move(movement: Vector2)
|
||||||
|
|
||||||
|
@export var tag: StringName:
|
||||||
|
get:
|
||||||
|
return tag
|
||||||
|
set(value):
|
||||||
|
tag = value
|
||||||
|
if hunt_target != null:
|
||||||
|
hunt_target.tag = value
|
||||||
|
if eater != null:
|
||||||
|
eater.tag = value
|
||||||
|
|
||||||
|
|
||||||
|
@onready var hunt_target: HuntTarget = $"HuntTarget"
|
||||||
|
@onready var eater: Eater = $"Eater"
|
||||||
|
@onready var move_towards: MoveTowardsTarget = $"MoveTowardsTarget"
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
hunt_target.tag = tag
|
||||||
|
eater.tag = tag
|
||||||
|
|
||||||
|
func _on_target_selected(body: Node2D) -> void:
|
||||||
|
move_towards.target = body
|
||||||
|
|
||||||
|
func _on_target_abandoned(_body: Node2D) -> void:
|
||||||
|
move_towards.target = null
|
||||||
|
|
||||||
|
func _on_eater_eaten(edible):
|
||||||
|
eaten.emit(edible)
|
||||||
|
|
||||||
|
func _on_move_towards_target_move(movement):
|
||||||
|
move.emit(movement)
|
23
behaviours/eat_target.tscn
Normal file
23
behaviours/eat_target.tscn
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
[gd_scene load_steps=5 format=3 uid="uid://b7bdlh5akhi8s"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://behaviours/eat_target.gd" id="1_tlnlt"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dxmodn8mbvw0i" path="res://behaviours/hunt_target.tscn" id="2_c8wdv"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://jg7qkbswgqjc" path="res://behaviours/eater.tscn" id="3_ir2yh"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://kceb2v2dm0qn" path="res://behaviours/move_towards_target.tscn" id="4_1qc2q"]
|
||||||
|
|
||||||
|
[node name="EatTarget" type="Node2D"]
|
||||||
|
script = ExtResource("1_tlnlt")
|
||||||
|
|
||||||
|
[node name="HuntTarget" parent="." instance=ExtResource("2_c8wdv")]
|
||||||
|
scale = Vector2(16, 16)
|
||||||
|
give_up_secs = 5.0
|
||||||
|
|
||||||
|
[node name="Eater" parent="." instance=ExtResource("3_ir2yh")]
|
||||||
|
scale = Vector2(2.5, 2.5)
|
||||||
|
|
||||||
|
[node name="MoveTowardsTarget" parent="." instance=ExtResource("4_1qc2q")]
|
||||||
|
|
||||||
|
[connection signal="target_abandoned" from="HuntTarget" to="." method="_on_target_abandoned"]
|
||||||
|
[connection signal="target_selected" from="HuntTarget" to="." method="_on_target_selected"]
|
||||||
|
[connection signal="eaten" from="Eater" to="." method="_on_eater_eaten"]
|
||||||
|
[connection signal="move" from="MoveTowardsTarget" to="." method="_on_move_towards_target_move"]
|
21
behaviours/eater.gd
Normal file
21
behaviours/eater.gd
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
extends Area2D
|
||||||
|
class_name Eater
|
||||||
|
|
||||||
|
|
||||||
|
signal eaten(edible: Edible)
|
||||||
|
|
||||||
|
|
||||||
|
@export var tag: StringName
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _on_body_entered(body: Node2D) -> void:
|
||||||
|
var edibles: Array = body.find_children("Edible", "Edible", false, false)
|
||||||
|
for edible in edibles:
|
||||||
|
if edible.tag == tag:
|
||||||
|
eaten.emit(edible)
|
||||||
|
edible.eat()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_eaten(edible: Edible) -> void:
|
||||||
|
Log.p(self, "Eaten: %s" % edible)
|
19
behaviours/eater.tscn
Normal file
19
behaviours/eater.tscn
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://jg7qkbswgqjc"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://behaviours/eater.gd" id="1_urx5y"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_61hv0"]
|
||||||
|
radius = 8.0
|
||||||
|
|
||||||
|
[node name="Eater" type="Area2D"]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 8
|
||||||
|
monitorable = false
|
||||||
|
script = ExtResource("1_urx5y")
|
||||||
|
|
||||||
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource("CircleShape2D_61hv0")
|
||||||
|
debug_color = Color(1, 0, 0.027451, 0)
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
|
[connection signal="eaten" from="." to="." method="_on_eaten"]
|
|
@ -2,7 +2,12 @@ extends Node
|
||||||
class_name Edible
|
class_name Edible
|
||||||
|
|
||||||
|
|
||||||
signal eaten(tag: StringName)
|
signal eaten
|
||||||
|
|
||||||
|
|
||||||
|
func eat():
|
||||||
|
eaten.emit()
|
||||||
|
get_parent().queue_free()
|
||||||
|
|
||||||
|
|
||||||
@export var tag: StringName
|
@export var tag: StringName
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
radius = 8.0
|
radius = 8.0
|
||||||
|
|
||||||
[node name="HoverDetector" type="Area2D"]
|
[node name="HoverDetector" type="Area2D"]
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
monitorable = false
|
monitorable = false
|
||||||
script = ExtResource("1_51m5p")
|
script = ExtResource("1_51m5p")
|
||||||
|
|
55
behaviours/hunt_target.gd
Normal file
55
behaviours/hunt_target.gd
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
extends Node2D
|
||||||
|
class_name HuntTarget
|
||||||
|
|
||||||
|
|
||||||
|
signal target_selected(target: Node2D)
|
||||||
|
signal target_abandoned(target: Node2D)
|
||||||
|
|
||||||
|
|
||||||
|
@export var tag: StringName:
|
||||||
|
get:
|
||||||
|
return tag
|
||||||
|
set(value):
|
||||||
|
tag = value
|
||||||
|
if hunter != null:
|
||||||
|
hunter.tag = value
|
||||||
|
|
||||||
|
@export var give_up_secs: float = 5.0
|
||||||
|
|
||||||
|
@onready var give_up_timer: Timer = $"GiveUpTimer"
|
||||||
|
@onready var hunter: Hunter = $"Hunter"
|
||||||
|
|
||||||
|
var target: Node2D = null
|
||||||
|
|
||||||
|
|
||||||
|
func pick_new_target():
|
||||||
|
if hunter.possible_targets.is_empty():
|
||||||
|
return
|
||||||
|
|
||||||
|
var idx = Random.rng.randi_range(0, len(hunter.possible_targets) - 1)
|
||||||
|
target = hunter.possible_targets[idx]
|
||||||
|
target_selected.emit(target)
|
||||||
|
give_up_timer.start(give_up_secs)
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
hunter.tag = tag
|
||||||
|
|
||||||
|
func _on_hunter_tracked(_body: Node2D):
|
||||||
|
if target == null:
|
||||||
|
pick_new_target()
|
||||||
|
|
||||||
|
func _on_hunter_untracked(body: Node2D):
|
||||||
|
if body == target:
|
||||||
|
target = null
|
||||||
|
target_abandoned.emit(body)
|
||||||
|
pick_new_target()
|
||||||
|
|
||||||
|
func _on_give_up_timer_timeout() -> void:
|
||||||
|
target = null
|
||||||
|
pick_new_target()
|
||||||
|
|
||||||
|
func _on_target_selected(body: Node2D) -> void:
|
||||||
|
Log.p(self, "Target selected: %s" % body)
|
||||||
|
|
||||||
|
func _on_target_abandoned(body: Node2D) -> void:
|
||||||
|
Log.p(self, "Target abandoned: %s" % body)
|
18
behaviours/hunt_target.tscn
Normal file
18
behaviours/hunt_target.tscn
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[gd_scene load_steps=3 format=3 uid="uid://dxmodn8mbvw0i"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://behaviours/hunt_target.gd" id="1_1ex7u"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ctpn4hvkhxoi3" path="res://behaviours/hunter.tscn" id="2_vjdtc"]
|
||||||
|
|
||||||
|
[node name="HuntTarget" type="Node2D"]
|
||||||
|
script = ExtResource("1_1ex7u")
|
||||||
|
give_up_secs = null
|
||||||
|
|
||||||
|
[node name="Hunter" parent="." instance=ExtResource("2_vjdtc")]
|
||||||
|
|
||||||
|
[node name="GiveUpTimer" type="Timer" parent="."]
|
||||||
|
|
||||||
|
[connection signal="target_abandoned" from="." to="." method="_on_target_abandoned"]
|
||||||
|
[connection signal="target_selected" from="." to="." method="_on_target_selected"]
|
||||||
|
[connection signal="tracked" from="Hunter" to="." method="_on_hunter_tracked"]
|
||||||
|
[connection signal="untracked" from="Hunter" to="." method="_on_hunter_untracked"]
|
||||||
|
[connection signal="timeout" from="GiveUpTimer" to="." method="_on_give_up_timer_timeout"]
|
|
@ -3,7 +3,7 @@
|
||||||
[ext_resource type="Script" path="res://behaviours/hunter.gd" id="1_3bmd5"]
|
[ext_resource type="Script" path="res://behaviours/hunter.gd" id="1_3bmd5"]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_kxb8e"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kxb8e"]
|
||||||
radius = 100.0
|
radius = 8.0
|
||||||
|
|
||||||
[node name="Hunter" type="Node2D"]
|
[node name="Hunter" type="Node2D"]
|
||||||
script = ExtResource("1_3bmd5")
|
script = ExtResource("1_3bmd5")
|
||||||
|
@ -15,7 +15,7 @@ monitorable = false
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="DetectionArea"]
|
[node name="Shape" type="CollisionShape2D" parent="DetectionArea"]
|
||||||
shape = SubResource("CircleShape2D_kxb8e")
|
shape = SubResource("CircleShape2D_kxb8e")
|
||||||
debug_color = Color(1, 0, 0, 0.419608)
|
debug_color = Color(1, 0, 0, 0.0705882)
|
||||||
|
|
||||||
[connection signal="tracked" from="." to="." method="_on_tracked"]
|
[connection signal="tracked" from="." to="." method="_on_tracked"]
|
||||||
[connection signal="untracked" from="." to="." method="_on_untracked"]
|
[connection signal="untracked" from="." to="." method="_on_untracked"]
|
||||||
|
|
|
@ -1,8 +1,46 @@
|
||||||
extends MoveTowards
|
extends Node2D
|
||||||
class_name MoveTowardsMouse
|
class_name MoveTowardsMouse
|
||||||
|
|
||||||
|
|
||||||
|
signal move(movement: Vector2)
|
||||||
|
signal detached
|
||||||
|
signal captured
|
||||||
|
|
||||||
@onready var game := MainGame.get_ancestor(self)
|
@onready var game := MainGame.get_ancestor(self)
|
||||||
|
|
||||||
|
@export var speed: float = 100.0
|
||||||
|
@export var can_detach: bool = false
|
||||||
|
|
||||||
|
|
||||||
|
enum State { DETACHED, CAPTURED }
|
||||||
|
|
||||||
|
var state: State = State.DETACHED
|
||||||
|
|
||||||
func get_followed_global_position():
|
func get_followed_global_position():
|
||||||
return game.camera.get_global_mouse_position()
|
return game.camera.get_global_mouse_position()
|
||||||
|
|
||||||
|
|
||||||
|
func get_followed_mouse_position():
|
||||||
|
var global_followed_position: Vector2 = get_followed_global_position()
|
||||||
|
var relative_followed_position: Vector2 = global_followed_position - global_position
|
||||||
|
return relative_followed_position
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
match state:
|
||||||
|
State.CAPTURED:
|
||||||
|
var relative_followed_position: Vector2 = get_followed_mouse_position()
|
||||||
|
var direction: Vector2 = position.direction_to(relative_followed_position)
|
||||||
|
var actual_speed: float = min(delta * speed, relative_followed_position.length()) # Don't overshoot.
|
||||||
|
var movement: Vector2 = direction * actual_speed
|
||||||
|
move.emit(movement)
|
||||||
|
|
||||||
|
func _on_capture_area_mouse_entered() -> void:
|
||||||
|
state = State.CAPTURED
|
||||||
|
captured.emit()
|
||||||
|
|
||||||
|
func _on_capture_area_mouse_exited() -> void:
|
||||||
|
if can_detach:
|
||||||
|
state = State.DETACHED
|
||||||
|
detached.emit()
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,29 @@
|
||||||
extends MoveTowards
|
extends Node2D
|
||||||
class_name MoveTowardsTarget
|
class_name MoveTowardsTarget
|
||||||
|
|
||||||
|
|
||||||
|
signal move(movement: Vector2)
|
||||||
|
|
||||||
|
|
||||||
|
@export var speed: float = 100.0
|
||||||
@export var target: Node2D
|
@export var target: Node2D
|
||||||
|
|
||||||
|
|
||||||
func get_followed_global_position():
|
func get_followed_global_position():
|
||||||
return target.global_position
|
return target.global_position
|
||||||
|
|
||||||
|
|
||||||
|
func get_followed_mouse_position():
|
||||||
|
var global_followed_position: Vector2 = get_followed_global_position()
|
||||||
|
var relative_followed_position: Vector2 = global_followed_position - global_position
|
||||||
|
return relative_followed_position
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
if target == null:
|
||||||
|
return
|
||||||
|
var relative_followed_position: Vector2 = get_followed_mouse_position()
|
||||||
|
var direction: Vector2 = position.direction_to(relative_followed_position)
|
||||||
|
var actual_speed: float = min(delta * speed, relative_followed_position.length()) # Don't overshoot.
|
||||||
|
var movement: Vector2 = direction * actual_speed
|
||||||
|
move.emit(movement)
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://kceb2v2dm0qn"]
|
[gd_scene load_steps=2 format=3 uid="uid://kceb2v2dm0qn"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://behaviours/move_towards_target.gd" id="1_703gy"]
|
[ext_resource type="Script" path="res://behaviours/move_towards_target.gd" id="1_703gy"]
|
||||||
[ext_resource type="PackedScene" uid="uid://cbg5kgwxusvxf" path="res://behaviours/hover_detector.tscn" id="2_nq6qb"]
|
|
||||||
|
|
||||||
[node name="MoveTowardsTarget" type="Node2D"]
|
[node name="MoveTowardsTarget" type="Node2D"]
|
||||||
script = ExtResource("1_703gy")
|
script = ExtResource("1_703gy")
|
||||||
|
|
||||||
[node name="CaptureArea" parent="." instance=ExtResource("2_nq6qb")]
|
|
||||||
collision_mask = 24
|
|
||||||
|
|
||||||
[connection signal="mouse_entered" from="CaptureArea" to="." method="_on_capture_area_mouse_entered"]
|
|
||||||
[connection signal="mouse_exited" from="CaptureArea" to="." method="_on_capture_area_mouse_exited"]
|
|
||||||
|
|
|
@ -16,3 +16,4 @@ func spawn():
|
||||||
func _ready():
|
func _ready():
|
||||||
if parent == null:
|
if parent == null:
|
||||||
parent = MainGame.get_ancestor(self).get_node("SpawnedEntities")
|
parent = MainGame.get_ancestor(self).get_node("SpawnedEntities")
|
||||||
|
|
||||||
|
|
8
behaviours/spawner_free.tscn
Normal file
8
behaviours/spawner_free.tscn
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://dv7ea2y0l46e"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://behaviours/spawner.gd" id="1_fa574"]
|
||||||
|
|
||||||
|
[node name="SpawnerFree" type="Node2D"]
|
||||||
|
script = ExtResource("1_fa574")
|
||||||
|
|
||||||
|
[connection signal="tree_exiting" from="." to="." method="spawn"]
|
13
behaviours/sprite_left_right.gd
Normal file
13
behaviours/sprite_left_right.gd
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
extends Sprite2D
|
||||||
|
class_name SpriteLeftRight
|
||||||
|
|
||||||
|
|
||||||
|
@export var left_texture: Texture2D
|
||||||
|
@export var right_texture: Texture2D
|
||||||
|
|
||||||
|
|
||||||
|
func handle_move(movement: Vector2):
|
||||||
|
if movement.x > 0:
|
||||||
|
texture = right_texture
|
||||||
|
else:
|
||||||
|
texture = left_texture
|
6
behaviours/sprite_left_right.tscn
Normal file
6
behaviours/sprite_left_right.tscn
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://bxbjfev0lhwws"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://behaviours/sprite_left_right.gd" id="1_mt6ma"]
|
||||||
|
|
||||||
|
[node name="SpriteLeftRight" type="Sprite2D"]
|
||||||
|
script = ExtResource("1_mt6ma")
|
14
entities/cloud.gd
Normal file
14
entities/cloud.gd
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
extends Node2D
|
||||||
|
class_name Cloud
|
||||||
|
|
||||||
|
@onready var player = $"AnimationPlayer"
|
||||||
|
@onready var spawner = $"Spawner"
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
spawner.spawn()
|
||||||
|
var player = $"AnimationPlayer"
|
||||||
|
player.play("fade_out")
|
||||||
|
await player.animation_finished
|
||||||
|
queue_free()
|
||||||
|
|
||||||
|
|
124
entities/cloud.tscn
Normal file
124
entities/cloud.tscn
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
[gd_scene load_steps=8 format=3 uid="uid://eqb3vfbvjefp"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://entities/cloud.gd" id="1_8jsek"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="3_naxi5"]
|
||||||
|
[ext_resource type="PackedScene" path="res://behaviours/spawner.tscn" id="4_0cics"]
|
||||||
|
|
||||||
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_08frh"]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_rrrnd"]
|
||||||
|
length = 0.001
|
||||||
|
tracks/0/type = "bezier"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite:modulate:r")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0)
|
||||||
|
}
|
||||||
|
tracks/1/type = "bezier"
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/path = NodePath("Sprite:modulate:g")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0)
|
||||||
|
}
|
||||||
|
tracks/2/type = "bezier"
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/path = NodePath("Sprite:modulate:b")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0)
|
||||||
|
}
|
||||||
|
tracks/3/type = "bezier"
|
||||||
|
tracks/3/imported = false
|
||||||
|
tracks/3/enabled = true
|
||||||
|
tracks/3/path = NodePath("Sprite:modulate:a")
|
||||||
|
tracks/3/interp = 1
|
||||||
|
tracks/3/loop_wrap = true
|
||||||
|
tracks/3/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id="Animation_mqmwg"]
|
||||||
|
resource_name = "fade_out"
|
||||||
|
tracks/0/type = "bezier"
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/path = NodePath("Sprite:modulate:r")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0, 0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0, 1)
|
||||||
|
}
|
||||||
|
tracks/1/type = "bezier"
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/path = NodePath("Sprite:modulate:g")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0, 0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0, 1)
|
||||||
|
}
|
||||||
|
tracks/2/type = "bezier"
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/path = NodePath("Sprite:modulate:b")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0, 0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0, 1)
|
||||||
|
}
|
||||||
|
tracks/3/type = "bezier"
|
||||||
|
tracks/3/imported = false
|
||||||
|
tracks/3/enabled = true
|
||||||
|
tracks/3/path = NodePath("Sprite:modulate:a")
|
||||||
|
tracks/3/interp = 1
|
||||||
|
tracks/3/loop_wrap = true
|
||||||
|
tracks/3/keys = {
|
||||||
|
"handle_modes": PackedInt32Array(0, 0),
|
||||||
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
||||||
|
"times": PackedFloat32Array(0, 1)
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_fs8h8"]
|
||||||
|
_data = {
|
||||||
|
"RESET": SubResource("Animation_rrrnd"),
|
||||||
|
"fade_out": SubResource("Animation_mqmwg")
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Cloud" type="Node2D"]
|
||||||
|
script = ExtResource("1_8jsek")
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite2D" parent="."]
|
||||||
|
z_index = 1
|
||||||
|
position = Vector2(1.90735e-06, -9.53674e-07)
|
||||||
|
scale = Vector2(64.4688, 51.1875)
|
||||||
|
texture = SubResource("PlaceholderTexture2D_08frh")
|
||||||
|
|
||||||
|
[node name="Spawner" parent="." instance=ExtResource("4_0cics")]
|
||||||
|
scene = ExtResource("3_naxi5")
|
||||||
|
|
||||||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
|
libraries = {
|
||||||
|
"": SubResource("AnimationLibrary_fs8h8")
|
||||||
|
}
|
|
@ -3,12 +3,12 @@
|
||||||
importer="wav"
|
importer="wav"
|
||||||
type="AudioStreamWAV"
|
type="AudioStreamWAV"
|
||||||
uid="uid://buxgivpkh8dyl"
|
uid="uid://buxgivpkh8dyl"
|
||||||
path="res://.godot/imported/place.wav-6f3a5aef81053f3b0b94fbbb722a0c32.sample"
|
path="res://.godot/imported/drop.wav-e321e3ff0b5883beef3e60642ca137ca.sample"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://temp/place.wav"
|
source_file="res://entities/drop.wav"
|
||||||
dest_files=["res://.godot/imported/place.wav-6f3a5aef81053f3b0b94fbbb722a0c32.sample"]
|
dest_files=["res://.godot/imported/drop.wav-e321e3ff0b5883beef3e60642ca137ca.sample"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
BIN
entities/gold.png
(Stored with Git LFS)
Normal file
BIN
entities/gold.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
entities/gold.png.import
Normal file
34
entities/gold.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bfl0tkg85cvb8"
|
||||||
|
path="res://.godot/imported/gold.png-2490a66f83b8860580858fb1907ff558.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://entities/gold.png"
|
||||||
|
dest_files=["res://.godot/imported/gold.png-2490a66f83b8860580858fb1907ff558.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
|
|
@ -1,25 +1,29 @@
|
||||||
[gd_scene load_steps=5 format=3 uid="uid://uoxwjpmgg27a"]
|
[gd_scene load_steps=7 format=3 uid="uid://uoxwjpmgg27a"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://entities/gold.gd" id="1_lbls1"]
|
[ext_resource type="Script" path="res://entities/gold.gd" id="1_lbls1"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_lso1v"]
|
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_lso1v"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bfl0tkg85cvb8" path="res://entities/gold.png" id="2_tt3v6"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dj72yshd25ucx" path="res://behaviours/collectable.tscn" id="3_q0bno"]
|
[ext_resource type="PackedScene" uid="uid://dj72yshd25ucx" path="res://behaviours/collectable.tscn" id="3_q0bno"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dv7ea2y0l46e" path="res://behaviours/spawner_free.tscn" id="5_pbaso"]
|
||||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_1f58t"]
|
[ext_resource type="PackedScene" uid="uid://eqg6snsgn1kh" path="res://players/gold_pickup_player.tscn" id="6_eoeje"]
|
||||||
|
|
||||||
[node name="Gold" type="Node2D"]
|
[node name="Gold" type="Node2D"]
|
||||||
script = ExtResource("1_lbls1")
|
script = ExtResource("1_lbls1")
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite2D" parent="."]
|
[node name="Sprite" type="Sprite2D" parent="."]
|
||||||
scale = Vector2(12, 12)
|
scale = Vector2(2, 2)
|
||||||
texture = SubResource("PlaceholderTexture2D_1f58t")
|
texture = ExtResource("2_tt3v6")
|
||||||
|
|
||||||
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_lso1v")]
|
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_lso1v")]
|
||||||
scale = Vector2(5, 5)
|
scale = Vector2(8, 8)
|
||||||
speed = 333.0
|
speed = 555.0
|
||||||
|
|
||||||
[node name="Collectable" parent="." instance=ExtResource("3_q0bno")]
|
[node name="Collectable" parent="." instance=ExtResource("3_q0bno")]
|
||||||
scale = Vector2(0.87, 0.87)
|
scale = Vector2(0.6, 0.6)
|
||||||
tag = &"Gold"
|
tag = &"Gold"
|
||||||
|
|
||||||
|
[node name="SpawnerFree" parent="." instance=ExtResource("5_pbaso")]
|
||||||
|
scene = ExtResource("6_eoeje")
|
||||||
|
|
||||||
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]
|
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]
|
||||||
[connection signal="collected" from="Collectable" to="." method="_on_collected"]
|
[connection signal="collected" from="Collectable" to="." method="_on_collected"]
|
||||||
|
|
25
entities/imp.gd
Normal file
25
entities/imp.gd
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
extends CharacterBody2D
|
||||||
|
class_name Imp
|
||||||
|
|
||||||
|
@export var skull_chance: float = 0.2
|
||||||
|
|
||||||
|
@onready var skull_spawner: Spawner = $"SkullSpawner"
|
||||||
|
@onready var sprite: SpriteLeftRight = $"Sprite"
|
||||||
|
@onready var draggable: Draggable = $"Draggable"
|
||||||
|
|
||||||
|
|
||||||
|
func _on_eat_target_eaten(target: Edible):
|
||||||
|
target.queue_free()
|
||||||
|
if Random.rng.randf() < skull_chance:
|
||||||
|
skull_spawner.spawn()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_draggable_move(movement:Vector2):
|
||||||
|
if draggable.being_dragged:
|
||||||
|
move_and_collide(movement)
|
||||||
|
sprite.handle_move(movement)
|
||||||
|
|
||||||
|
func _on_move(movement:Vector2):
|
||||||
|
if not draggable.being_dragged:
|
||||||
|
move_and_collide(movement)
|
||||||
|
sprite.handle_move(movement)
|
48
entities/imp.tscn
Normal file
48
entities/imp.tscn
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
[gd_scene load_steps=10 format=3 uid="uid://4d3ksr3171x4"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://entities/imp.gd" id="1_dixpc"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bxbjfev0lhwws" path="res://behaviours/sprite_left_right.tscn" id="2_eqcdi"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dijcjahkddudv" path="res://behaviours/draggable.tscn" id="3_4528r"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://b7bdlh5akhi8s" path="res://behaviours/eat_target.tscn" id="3_iybf3"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://crhwsob76ieya" path="res://entities/imp_left.png" id="3_qda0k"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bubehid53q8h1" path="res://entities/imp_right.png" id="4_0sckn"]
|
||||||
|
[ext_resource type="PackedScene" path="res://behaviours/spawner.tscn" id="4_d8lgm"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://uoxwjpmgg27a" path="res://entities/gold.tscn" id="5_yrfoq"]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ide4n"]
|
||||||
|
radius = 8.0
|
||||||
|
|
||||||
|
[node name="Imp" type="CharacterBody2D"]
|
||||||
|
collision_layer = 8
|
||||||
|
collision_mask = 14
|
||||||
|
script = ExtResource("1_dixpc")
|
||||||
|
|
||||||
|
[node name="Sprite" parent="." instance=ExtResource("2_eqcdi")]
|
||||||
|
scale = Vector2(2, 2)
|
||||||
|
texture = ExtResource("3_qda0k")
|
||||||
|
left_texture = ExtResource("3_qda0k")
|
||||||
|
right_texture = ExtResource("4_0sckn")
|
||||||
|
|
||||||
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
||||||
|
scale = Vector2(4, 4)
|
||||||
|
shape = SubResource("CircleShape2D_ide4n")
|
||||||
|
|
||||||
|
[node name="Draggable" parent="." instance=ExtResource("3_4528r")]
|
||||||
|
scale = Vector2(4, 4)
|
||||||
|
|
||||||
|
[node name="DragSound" type="AudioStreamPlayer2D" parent="Draggable"]
|
||||||
|
scale = Vector2(0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="DropSound" type="AudioStreamPlayer2D" parent="Draggable"]
|
||||||
|
scale = Vector2(0.5, 0.5)
|
||||||
|
|
||||||
|
[node name="EatTarget" parent="." instance=ExtResource("3_iybf3")]
|
||||||
|
scale = Vector2(2, 2)
|
||||||
|
tag = &"Sheep"
|
||||||
|
|
||||||
|
[node name="SkullSpawner" parent="." instance=ExtResource("4_d8lgm")]
|
||||||
|
scene = ExtResource("5_yrfoq")
|
||||||
|
|
||||||
|
[connection signal="move" from="Draggable" to="." method="_on_draggable_move"]
|
||||||
|
[connection signal="eaten" from="EatTarget" to="." method="_on_eat_target_eaten"]
|
||||||
|
[connection signal="move" from="EatTarget" to="." method="_on_move"]
|
BIN
entities/imp_left.png
(Stored with Git LFS)
Normal file
BIN
entities/imp_left.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
entities/imp_left.png.import
Normal file
34
entities/imp_left.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://crhwsob76ieya"
|
||||||
|
path="res://.godot/imported/imp_left.png-08c29cf2ea70a06668881e6734bc6acb.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://entities/imp_left.png"
|
||||||
|
dest_files=["res://.godot/imported/imp_left.png-08c29cf2ea70a06668881e6734bc6acb.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
entities/imp_right.png
(Stored with Git LFS)
Normal file
BIN
entities/imp_right.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
entities/imp_right.png.import
Normal file
34
entities/imp_right.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bubehid53q8h1"
|
||||||
|
path="res://.godot/imported/imp_right.png-5420c8b334729ea80ccdda0be5b78434.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://entities/imp_right.png"
|
||||||
|
dest_files=["res://.godot/imported/imp_right.png-5420c8b334729ea80ccdda0be5b78434.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
|
|
@ -3,13 +3,23 @@ class_name Sheep
|
||||||
|
|
||||||
|
|
||||||
@onready var draggable: Draggable = $"Draggable"
|
@onready var draggable: Draggable = $"Draggable"
|
||||||
|
@onready var sprite: SpriteLeftRight = $"Sprite"
|
||||||
|
@onready var drag_sound: AudioStreamPlayer2D = $"Draggable/DragSound"
|
||||||
|
@onready var drop_sound: AudioStreamPlayer2D = $"Draggable/DropSound"
|
||||||
|
|
||||||
|
|
||||||
func _on_move(movement: Vector2) -> void:
|
func _on_move(movement: Vector2) -> void:
|
||||||
if not draggable.being_dragged:
|
if not draggable.being_dragged:
|
||||||
move_and_collide(movement)
|
move_and_collide(movement)
|
||||||
|
sprite.handle_move(movement)
|
||||||
|
|
||||||
func _on_drag_move(movement: Vector2) -> void:
|
func _on_drag_move(movement: Vector2) -> void:
|
||||||
if draggable.being_dragged:
|
if draggable.being_dragged:
|
||||||
move_and_collide(movement)
|
move_and_collide(movement)
|
||||||
|
sprite.handle_move(movement)
|
||||||
|
|
||||||
|
func _on_draggable_dragged() -> void:
|
||||||
|
drag_sound.play()
|
||||||
|
|
||||||
|
func _on_draggable_dropped() -> void:
|
||||||
|
drop_sound.play()
|
||||||
|
|
|
@ -1,33 +1,53 @@
|
||||||
[gd_scene load_steps=6 format=3 uid="uid://bc2bm8lbol18w"]
|
[gd_scene load_steps=11 format=3 uid="uid://bc2bm8lbol18w"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://entities/sheep.gd" id="1_4dmll"]
|
[ext_resource type="Script" path="res://entities/sheep.gd" id="1_4dmll"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://iljp5yn3ehfk" path="res://entities/sheep_left.png" id="2_t13f5"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_tfd2i"]
|
[ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_tfd2i"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bxbjfev0lhwws" path="res://behaviours/sprite_left_right.tscn" id="2_xbkrm"]
|
||||||
[ext_resource type="PackedScene" uid="uid://dijcjahkddudv" path="res://behaviours/draggable.tscn" id="3_8ku7r"]
|
[ext_resource type="PackedScene" uid="uid://dijcjahkddudv" path="res://behaviours/draggable.tscn" id="3_8ku7r"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://cxtmas4g0v6en" path="res://entities/sheep_right.png" id="4_5qoof"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://buxgivpkh8dyl" path="res://entities/drop.wav" id="4_nxjnl"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://bmfscpnugaejk" path="res://entities/sheep_drag.wav" id="4_oalqu"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dfdr3e32lohq" path="res://behaviours/edible.tscn" id="6_3odsh"]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_c5tcn"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_c5tcn"]
|
||||||
radius = 16.0
|
radius = 8.0
|
||||||
|
|
||||||
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_08frh"]
|
|
||||||
|
|
||||||
[node name="Sheep" type="CharacterBody2D"]
|
[node name="Sheep" type="CharacterBody2D"]
|
||||||
collision_layer = 8
|
collision_layer = 8
|
||||||
collision_mask = 14
|
collision_mask = 14
|
||||||
script = ExtResource("1_4dmll")
|
script = ExtResource("1_4dmll")
|
||||||
|
|
||||||
[node name="Shape" type="CollisionShape2D" parent="."]
|
[node name="Sprite" parent="." instance=ExtResource("2_xbkrm")]
|
||||||
shape = SubResource("CircleShape2D_c5tcn")
|
scale = Vector2(2, 2)
|
||||||
|
texture = ExtResource("2_t13f5")
|
||||||
|
left_texture = ExtResource("2_t13f5")
|
||||||
|
right_texture = ExtResource("4_5qoof")
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite2D" parent="."]
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
||||||
scale = Vector2(32, 32)
|
scale = Vector2(3, 3)
|
||||||
texture = SubResource("PlaceholderTexture2D_08frh")
|
shape = SubResource("CircleShape2D_c5tcn")
|
||||||
|
|
||||||
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_tfd2i")]
|
[node name="MoveTowardsMouse" parent="." instance=ExtResource("2_tfd2i")]
|
||||||
scale = Vector2(30, 30)
|
scale = Vector2(30, 30)
|
||||||
speed = -20.0
|
speed = -30.0
|
||||||
can_detach = true
|
can_detach = true
|
||||||
|
|
||||||
[node name="Draggable" parent="." instance=ExtResource("3_8ku7r")]
|
[node name="Draggable" parent="." instance=ExtResource("3_8ku7r")]
|
||||||
scale = Vector2(2, 2)
|
scale = Vector2(3, 3)
|
||||||
|
|
||||||
|
[node name="DragSound" type="AudioStreamPlayer2D" parent="Draggable"]
|
||||||
|
scale = Vector2(0.5, 0.5)
|
||||||
|
stream = ExtResource("4_oalqu")
|
||||||
|
|
||||||
|
[node name="DropSound" type="AudioStreamPlayer2D" parent="Draggable"]
|
||||||
|
scale = Vector2(0.5, 0.5)
|
||||||
|
stream = ExtResource("4_nxjnl")
|
||||||
|
|
||||||
|
[node name="Edible" parent="." instance=ExtResource("6_3odsh")]
|
||||||
|
tag = &"Sheep"
|
||||||
|
|
||||||
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]
|
[connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]
|
||||||
|
[connection signal="dragged" from="Draggable" to="." method="_on_draggable_dragged"]
|
||||||
|
[connection signal="dropped" from="Draggable" to="." method="_on_draggable_dropped"]
|
||||||
[connection signal="move" from="Draggable" to="." method="_on_drag_move"]
|
[connection signal="move" from="Draggable" to="." method="_on_drag_move"]
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
importer="wav"
|
importer="wav"
|
||||||
type="AudioStreamWAV"
|
type="AudioStreamWAV"
|
||||||
uid="uid://bmfscpnugaejk"
|
uid="uid://bmfscpnugaejk"
|
||||||
path="res://.godot/imported/sheep.wav-5e192fa241f3aae906a657036a0b94de.sample"
|
path="res://.godot/imported/sheep_drag.wav-43fcf0f822dd8bb239b2bd20f832762a.sample"
|
||||||
|
|
||||||
[deps]
|
[deps]
|
||||||
|
|
||||||
source_file="res://temp/sheep.wav"
|
source_file="res://entities/sheep_drag.wav"
|
||||||
dest_files=["res://.godot/imported/sheep.wav-5e192fa241f3aae906a657036a0b94de.sample"]
|
dest_files=["res://.godot/imported/sheep_drag.wav-43fcf0f822dd8bb239b2bd20f832762a.sample"]
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
|
BIN
entities/sheep_left.png
(Stored with Git LFS)
Normal file
BIN
entities/sheep_left.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
entities/sheep_left.png.import
Normal file
34
entities/sheep_left.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://iljp5yn3ehfk"
|
||||||
|
path="res://.godot/imported/sheep_left.png-6cb7b8ff0f6e711799b2ba3837486862.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://entities/sheep_left.png"
|
||||||
|
dest_files=["res://.godot/imported/sheep_left.png-6cb7b8ff0f6e711799b2ba3837486862.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
entities/sheep_right.png
(Stored with Git LFS)
Normal file
BIN
entities/sheep_right.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
entities/sheep_right.png.import
Normal file
34
entities/sheep_right.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cxtmas4g0v6en"
|
||||||
|
path="res://.godot/imported/sheep_right.png-3f6753401041e87494add5c84980155c.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://entities/sheep_right.png"
|
||||||
|
dest_files=["res://.godot/imported/sheep_right.png-3f6753401041e87494add5c84980155c.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
|
4
main.gd
4
main.gd
|
@ -3,7 +3,7 @@ class_name Main
|
||||||
|
|
||||||
|
|
||||||
@onready var tree: SceneTree = get_tree()
|
@onready var tree: SceneTree = get_tree()
|
||||||
@onready var container: Control = $"PrimaryCanvas/SafeMarginContainer"
|
@onready var ui_container: Control = $"InterfaceCanvas/SafeMarginContainer"
|
||||||
|
|
||||||
|
|
||||||
## The possible states the game can be in.
|
## The possible states the game can be in.
|
||||||
|
@ -61,7 +61,7 @@ func build_menu() -> void:
|
||||||
scene_menu = SCENE_MENU.instantiate()
|
scene_menu = SCENE_MENU.instantiate()
|
||||||
scene_menu.selected_play.connect(_on_menu_selected_play)
|
scene_menu.selected_play.connect(_on_menu_selected_play)
|
||||||
scene_menu.selected_options.connect(_on_menu_selected_options)
|
scene_menu.selected_options.connect(_on_menu_selected_options)
|
||||||
container.add_child(scene_menu)
|
ui_container.add_child(scene_menu)
|
||||||
|
|
||||||
## Destroy the [MainGame].
|
## Destroy the [MainGame].
|
||||||
func destroy_game() -> void:
|
func destroy_game() -> void:
|
||||||
|
|
19
main.tscn
19
main.tscn
|
@ -1,15 +1,28 @@
|
||||||
[gd_scene load_steps=3 format=3 uid="uid://b38wkla8e7rmo"]
|
[gd_scene load_steps=4 format=3 uid="uid://b38wkla8e7rmo"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://main.gd" id="1_jyg3q"]
|
[ext_resource type="Script" path="res://main.gd" id="1_jyg3q"]
|
||||||
|
[ext_resource type="Material" uid="uid://dpumcyplql08q" path="res://postprocess.material" id="2_3o1ux"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bkm7id1wdwywg" path="res://scenes/menu/safe_margin_container.tscn" id="2_ah6n8"]
|
[ext_resource type="PackedScene" uid="uid://bkm7id1wdwywg" path="res://scenes/menu/safe_margin_container.tscn" id="2_ah6n8"]
|
||||||
|
|
||||||
[node name="Main" type="Node"]
|
[node name="Main" type="Node"]
|
||||||
script = ExtResource("1_jyg3q")
|
script = ExtResource("1_jyg3q")
|
||||||
starting_stage = 3
|
starting_stage = 3
|
||||||
|
|
||||||
[node name="PrimaryCanvas" type="CanvasLayer" parent="."]
|
[node name="PostprocessingCanvas" type="CanvasLayer" parent="."]
|
||||||
|
|
||||||
[node name="SafeMarginContainer" parent="PrimaryCanvas" instance=ExtResource("2_ah6n8")]
|
[node name="ColorRect" type="ColorRect" parent="PostprocessingCanvas"]
|
||||||
|
texture_filter = 1
|
||||||
|
material = ExtResource("2_3o1ux")
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[node name="InterfaceCanvas" type="CanvasLayer" parent="."]
|
||||||
|
|
||||||
|
[node name="SafeMarginContainer" parent="InterfaceCanvas" instance=ExtResource("2_ah6n8")]
|
||||||
min_margin_left = 16
|
min_margin_left = 16
|
||||||
min_margin_right = 16
|
min_margin_right = 16
|
||||||
min_margin_top = 16
|
min_margin_top = 16
|
||||||
|
|
BIN
players/gold_pickup.ogg
(Stored with Git LFS)
Normal file
BIN
players/gold_pickup.ogg
(Stored with Git LFS)
Normal file
Binary file not shown.
19
players/gold_pickup.ogg.import
Normal file
19
players/gold_pickup.ogg.import
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cogtamt27rox2"
|
||||||
|
path="res://.godot/imported/gold_pickup.ogg-c4d9dcf906cf090ebcf2a027cf53c3b5.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://players/gold_pickup.ogg"
|
||||||
|
dest_files=["res://.godot/imported/gold_pickup.ogg-c4d9dcf906cf090ebcf2a027cf53c3b5.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
9
players/gold_pickup_player.tscn
Normal file
9
players/gold_pickup_player.tscn
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://eqg6snsgn1kh"]
|
||||||
|
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cogtamt27rox2" path="res://players/gold_pickup.ogg" id="1_rpx7k"]
|
||||||
|
|
||||||
|
[node name="GoldPickupPlayer" type="AudioStreamPlayer2D"]
|
||||||
|
stream = ExtResource("1_rpx7k")
|
||||||
|
autoplay = true
|
||||||
|
|
||||||
|
[connection signal="finished" from="." to="." method="queue_free"]
|
10
postprocess.gdshader
Normal file
10
postprocess.gdshader
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
shader_type canvas_item;
|
||||||
|
|
||||||
|
uniform float intensity = 0.1;
|
||||||
|
uniform sampler2D screen_texture : hint_screen_texture, repeat_disable, filter_nearest;
|
||||||
|
|
||||||
|
void fragment() {
|
||||||
|
float color = round(fract(UV * 360.0).y);
|
||||||
|
vec4 tex = texture(screen_texture, SCREEN_UV);
|
||||||
|
COLOR = tex * (1.0 - intensity) + (tex * color * intensity);
|
||||||
|
}
|
BIN
postprocess.material
Normal file
BIN
postprocess.material
Normal file
Binary file not shown.
|
@ -20,6 +20,7 @@ config/icon="res://icon.svg"
|
||||||
window/size/viewport_width=1280
|
window/size/viewport_width=1280
|
||||||
window/size/viewport_height=720
|
window/size/viewport_height=720
|
||||||
window/size/initial_position_type=3
|
window/size/initial_position_type=3
|
||||||
|
window/size/resizable=false
|
||||||
|
|
||||||
[filesystem]
|
[filesystem]
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
BIN
scenes/game/tileset_grass.png
(Stored with Git LFS)
Normal file
BIN
scenes/game/tileset_grass.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
scenes/game/tileset_grass.png.import
Normal file
34
scenes/game/tileset_grass.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d13j4br4hxek6"
|
||||||
|
path="res://.godot/imported/tileset_grass.png-c4d12d5bae011dcd6c5aafe2eec84dff.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://scenes/game/tileset_grass.png"
|
||||||
|
dest_files=["res://.godot/imported/tileset_grass.png-c4d12d5bae011dcd6c5aafe2eec84dff.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
temp/again.wav
BIN
temp/again.wav
Binary file not shown.
24
temp/again.wav.import
Normal file
24
temp/again.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://bgsp6ncifk3ne"
|
||||||
|
path="res://.godot/imported/again.wav-ed572a7518aaa04747bb32e19ef60761.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/again.wav"
|
||||||
|
dest_files=["res://.godot/imported/again.wav-ed572a7518aaa04747bb32e19ef60761.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
Binary file not shown.
BIN
temp/cancel.wav
BIN
temp/cancel.wav
Binary file not shown.
24
temp/cancel.wav.import
Normal file
24
temp/cancel.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://dfh3udureqhih"
|
||||||
|
path="res://.godot/imported/cancel.wav-00a7e5a339c70729fcbdb92c38246573.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/cancel.wav"
|
||||||
|
dest_files=["res://.godot/imported/cancel.wav-00a7e5a339c70729fcbdb92c38246573.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
Binary file not shown.
24
temp/metallic_whistle.wav.import
Normal file
24
temp/metallic_whistle.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://fjtk0h1hyhye"
|
||||||
|
path="res://.godot/imported/metallic_whistle.wav-b405a947f5064bbd22011fcc487f58c7.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/metallic_whistle.wav"
|
||||||
|
dest_files=["res://.godot/imported/metallic_whistle.wav-b405a947f5064bbd22011fcc487f58c7.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
temp/monster_chupacabra_onground_left.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_chupacabra_onground_left.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_chupacabra_onground_left.png.import
Normal file
34
temp/monster_chupacabra_onground_left.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dcm4txm5gxogt"
|
||||||
|
path="res://.godot/imported/monster_chupacabra_onground_left.png-186bf6da588ea2bdcc2821f7dab453e8.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_chupacabra_onground_left.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_chupacabra_onground_left.png-186bf6da588ea2bdcc2821f7dab453e8.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
temp/monster_chupacabra_onground_right.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_chupacabra_onground_right.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_chupacabra_onground_right.png.import
Normal file
34
temp/monster_chupacabra_onground_right.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ba01u171xjl7"
|
||||||
|
path="res://.godot/imported/monster_chupacabra_onground_right.png-60153fba3a276c2ad87a5f33b09d0040.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_chupacabra_onground_right.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_chupacabra_onground_right.png-60153fba3a276c2ad87a5f33b09d0040.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
temp/monster_cthulhu_onground_left.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_cthulhu_onground_left.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_cthulhu_onground_left.png.import
Normal file
34
temp/monster_cthulhu_onground_left.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://ujneqyxsfshq"
|
||||||
|
path="res://.godot/imported/monster_cthulhu_onground_left.png-64e6abb56af862238bdaf3064c4254c7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_cthulhu_onground_left.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_cthulhu_onground_left.png-64e6abb56af862238bdaf3064c4254c7.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
temp/monster_cthulhu_onground_right.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_cthulhu_onground_right.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_cthulhu_onground_right.png.import
Normal file
34
temp/monster_cthulhu_onground_right.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cddnolxvgplb7"
|
||||||
|
path="res://.godot/imported/monster_cthulhu_onground_right.png-d938a45bcdebdc236d6af7664a19f4f3.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_cthulhu_onground_right.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_cthulhu_onground_right.png-d938a45bcdebdc236d6af7664a19f4f3.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
temp/monster_watcher_onground_left.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_watcher_onground_left.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_watcher_onground_left.png.import
Normal file
34
temp/monster_watcher_onground_left.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b2dv4kw7nhd6x"
|
||||||
|
path="res://.godot/imported/monster_watcher_onground_left.png-292e201110b981bb68244dccf2c314ee.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_watcher_onground_left.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_watcher_onground_left.png-292e201110b981bb68244dccf2c314ee.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
temp/monster_watcher_onground_right.png
(Stored with Git LFS)
Normal file
BIN
temp/monster_watcher_onground_right.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/monster_watcher_onground_right.png.import
Normal file
34
temp/monster_watcher_onground_right.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://cc71orcgvmfao"
|
||||||
|
path="res://.godot/imported/monster_watcher_onground_right.png-b83f4b0ac9751c7e1ed1a33e8771de71.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/monster_watcher_onground_right.png"
|
||||||
|
dest_files=["res://.godot/imported/monster_watcher_onground_right.png-b83f4b0ac9751c7e1ed1a33e8771de71.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
temp/pickup_monocle.png
(Stored with Git LFS)
Normal file
BIN
temp/pickup_monocle.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/pickup_monocle.png.import
Normal file
34
temp/pickup_monocle.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://d3tb6ypb36v8e"
|
||||||
|
path="res://.godot/imported/pickup_monocle.png-7a9e8cda4415a7ebfbddb870020ff730.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/pickup_monocle.png"
|
||||||
|
dest_files=["res://.godot/imported/pickup_monocle.png-7a9e8cda4415a7ebfbddb870020ff730.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
temp/pickup_skull.png
(Stored with Git LFS)
Normal file
BIN
temp/pickup_skull.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/pickup_skull.png.import
Normal file
34
temp/pickup_skull.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dwvvwjdexdywh"
|
||||||
|
path="res://.godot/imported/pickup_skull.png-c05653658414d7be9a8a5454887e620a.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/pickup_skull.png"
|
||||||
|
dest_files=["res://.godot/imported/pickup_skull.png-c05653658414d7be9a8a5454887e620a.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
temp/pickup_tophat.png
(Stored with Git LFS)
Normal file
BIN
temp/pickup_tophat.png
(Stored with Git LFS)
Normal file
Binary file not shown.
34
temp/pickup_tophat.png.import
Normal file
34
temp/pickup_tophat.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://deqvgvf66grr4"
|
||||||
|
path="res://.godot/imported/pickup_tophat.png-cd26d2618474ae83136bd7a01c578302.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/pickup_tophat.png"
|
||||||
|
dest_files=["res://.godot/imported/pickup_tophat.png-cd26d2618474ae83136bd7a01c578302.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
temp/squelch.wav
BIN
temp/squelch.wav
Binary file not shown.
24
temp/squelch.wav.import
Normal file
24
temp/squelch.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://pk1eduft78f8"
|
||||||
|
path="res://.godot/imported/squelch.wav-22b285be5185b632a1413e0abf6bfb1e.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/squelch.wav"
|
||||||
|
dest_files=["res://.godot/imported/squelch.wav-22b285be5185b632a1413e0abf6bfb1e.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
temp/upgrade.wav
BIN
temp/upgrade.wav
Binary file not shown.
24
temp/upgrade.wav.import
Normal file
24
temp/upgrade.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://r34ypitaaiwp"
|
||||||
|
path="res://.godot/imported/upgrade.wav-80218ab5b2533f45be352ba8d27c8fbf.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/upgrade.wav"
|
||||||
|
dest_files=["res://.godot/imported/upgrade.wav-80218ab5b2533f45be352ba8d27c8fbf.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
Binary file not shown.
24
temp/upgradeselect.wav.import
Normal file
24
temp/upgradeselect.wav.import
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://httulwo4u31d"
|
||||||
|
path="res://.godot/imported/upgradeselect.wav-d1c188c253a32d3775808fe66f782a02.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://temp/upgradeselect.wav"
|
||||||
|
dest_files=["res://.godot/imported/upgradeselect.wav-d1c188c253a32d3775808fe66f782a02.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
Loading…
Reference in a new issue