Merge pull request #3 from CSE-4392-Game-Design/tiff
Merge tiff to main
18
Enemies/Snowball Blue.gd
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
extends Area2D
|
||||||
|
|
||||||
|
var move = Vector2.ZERO
|
||||||
|
var look_vec = Vector2.ZERO
|
||||||
|
var player = null
|
||||||
|
var speed = 3
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
|
||||||
|
look_vec = player.position - global_position
|
||||||
|
|
||||||
|
func _physics_process(delta):
|
||||||
|
move = Vector2.ZERO
|
||||||
|
move = move.move_toward(look_vec, delta)
|
||||||
|
move = move.normalized() * speed
|
||||||
|
position += move
|
||||||
|
|
||||||
|
|
21
Enemies/Snowball Blue.tscn
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/blue_snowball.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
|
radius = 4.47823
|
||||||
|
|
||||||
|
[node name="snowball_blue" type="Area2D" groups=[
|
||||||
|
"freeze",
|
||||||
|
]]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
position = Vector2( 0, -2 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="snowball_blue" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource( 1 )
|
23
Enemies/Snowball.gd
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
extends Area2D
|
||||||
|
|
||||||
|
|
||||||
|
var move = Vector2.ZERO
|
||||||
|
var look_vec = Vector2.ZERO
|
||||||
|
var player = null
|
||||||
|
var speed = 3
|
||||||
|
|
||||||
|
func _ready():
|
||||||
|
|
||||||
|
look_vec = player.position - position
|
||||||
|
|
||||||
|
func _physics_process(delta):
|
||||||
|
move = Vector2.ZERO
|
||||||
|
move = move.move_toward(look_vec, delta)
|
||||||
|
move = move.normalized() * speed
|
||||||
|
position += move
|
||||||
|
|
||||||
|
|
||||||
|
#position = position.move_toward(look_vec, delta).normalized() * SPEED
|
||||||
|
|
||||||
|
|
||||||
|
|
22
Enemies/Snowball.tscn
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Enemies/Snowball.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Enemies/pink_snowball.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
|
radius = 4.47823
|
||||||
|
|
||||||
|
[node name="snowball" type="Area2D" groups=[
|
||||||
|
"enemy_projectile_1",
|
||||||
|
]]
|
||||||
|
monitoring = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="snowball" type="CollisionShape2D" parent="."]
|
||||||
|
position = Vector2( -0.00869751, -0.0361767 )
|
||||||
|
shape = SubResource( 1 )
|
64
Enemies/Snowman Enemy Blue.gd
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
extends KinematicBody2D
|
||||||
|
|
||||||
|
onready var SNOWBALL_BLUE_SCENE = preload("res://Enemies/Snowball Blue.tscn")
|
||||||
|
|
||||||
|
var player = null
|
||||||
|
var move = Vector2.ZERO
|
||||||
|
var speed = .5
|
||||||
|
var health: int = 2
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
move = Vector2.ZERO
|
||||||
|
|
||||||
|
if player != null:
|
||||||
|
move = position.direction_to(player.position) * speed
|
||||||
|
else:
|
||||||
|
move = Vector2.ZERO
|
||||||
|
|
||||||
|
move = move.normalized()
|
||||||
|
move = move_and_collide(move)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Area2D_body_entered(body: Node) -> void:
|
||||||
|
if body != self && !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
|
||||||
|
player = body
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Area2D_body_exited(body: Node) -> void:
|
||||||
|
if !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
|
||||||
|
player = null
|
||||||
|
|
||||||
|
|
||||||
|
func fire():
|
||||||
|
var snowball = SNOWBALL_BLUE_SCENE.instance()
|
||||||
|
snowball.position = get_global_position()
|
||||||
|
snowball.player = player
|
||||||
|
get_parent().add_child(snowball)
|
||||||
|
$Timer.set_wait_time(1)
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Timer_timeout() -> void:
|
||||||
|
if player != null:
|
||||||
|
fire()
|
||||||
|
|
||||||
|
func _on_player_detector_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
player = area.get_parent()
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_exited(_area: Area2D):
|
||||||
|
player = null
|
||||||
|
return
|
||||||
|
|
||||||
|
func _on_hitbox_area_entered(area: Area2D) -> void:
|
||||||
|
if area.is_in_group('player_weapon_1'):
|
||||||
|
health -= 1
|
||||||
|
elif area.is_in_group('player_weapon_2'):
|
||||||
|
health -= 2
|
||||||
|
|
||||||
|
if health <= 0:
|
||||||
|
call_deferred('queue_free')
|
||||||
|
return
|
54
Enemies/Snowman Enemy Blue.tscn
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Sprites/Enemies/blue_snowman.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Enemies/Snowman Enemy.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
|
radius = 1.5
|
||||||
|
height = 3.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
|
radius = 58.0175
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=3]
|
||||||
|
radius = 6.0
|
||||||
|
height = 5.0
|
||||||
|
|
||||||
|
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
|
||||||
|
"freeze",
|
||||||
|
]]
|
||||||
|
collision_layer = 2
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
||||||
|
light_mask = 0
|
||||||
|
position = Vector2( 0.618717, 6.27557 )
|
||||||
|
rotation = 1.5708
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="detection" type="Area2D" parent="."]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="detection" type="CollisionShape2D" parent="detection"]
|
||||||
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="hitbox" type="Area2D" parent="." groups=[
|
||||||
|
"freeze",
|
||||||
|
]]
|
||||||
|
collision_layer = 4
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
|
||||||
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="detection" to="." method="_on_Area2D_body_entered"]
|
||||||
|
[connection signal="body_exited" from="detection" to="." method="_on_Area2D_body_exited"]
|
||||||
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||||
|
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
|
66
Enemies/Snowman Enemy.gd
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
extends KinematicBody2D
|
||||||
|
|
||||||
|
onready var SNOWBALL_SCENE = preload("res://Enemies/Snowball.tscn")
|
||||||
|
|
||||||
|
var player = null
|
||||||
|
var move = Vector2.ZERO
|
||||||
|
var speed = .5
|
||||||
|
var health: int = 2
|
||||||
|
|
||||||
|
|
||||||
|
func _physics_process(delta: float) -> void:
|
||||||
|
move = Vector2.ZERO
|
||||||
|
|
||||||
|
if player != null:
|
||||||
|
move = position.direction_to(player.position) * speed
|
||||||
|
else:
|
||||||
|
move = Vector2.ZERO
|
||||||
|
|
||||||
|
move = move.normalized()
|
||||||
|
move = move_and_collide(move)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Area2D_body_entered(body: Node) -> void:
|
||||||
|
if body != self && !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
|
||||||
|
player = body
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Area2D_body_exited(body: Node) -> void:
|
||||||
|
if !(body.name.begins_with("tree")) && !(body.name.begins_with("snowmen_enemy")) && !(body.name.begins_with("wall")):
|
||||||
|
player = null
|
||||||
|
|
||||||
|
|
||||||
|
func fire():
|
||||||
|
var snowball = SNOWBALL_SCENE.instance()
|
||||||
|
snowball.position = get_global_position()
|
||||||
|
snowball.player = player
|
||||||
|
get_parent().add_child(snowball)
|
||||||
|
$Timer.set_wait_time(1)
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Timer_timeout() -> void:
|
||||||
|
if player != null:
|
||||||
|
fire()
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
player = area.get_parent()
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_player_detector_area_exited(_area: Area2D):
|
||||||
|
player = null
|
||||||
|
return
|
||||||
|
|
||||||
|
func _on_hitbox_area_entered(area: Area2D) -> void:
|
||||||
|
print("HIT")
|
||||||
|
if area.is_in_group('player_weapon_1'):
|
||||||
|
health -= 1
|
||||||
|
elif area.is_in_group('player_weapon_2'):
|
||||||
|
health -= 2
|
||||||
|
|
||||||
|
if health <= 0:
|
||||||
|
call_deferred('queue_free')
|
||||||
|
return
|
55
Enemies/Snowman Enemy.tscn
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Sprites/Enemies/pink_snowman.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Enemies/Snowman Enemy.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
|
radius = 1.5
|
||||||
|
height = 3.0
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=2]
|
||||||
|
radius = 56.0659
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=3]
|
||||||
|
radius = 6.0
|
||||||
|
height = 5.0
|
||||||
|
|
||||||
|
[node name="snowmen_enemy" type="KinematicBody2D" groups=[
|
||||||
|
"enemy",
|
||||||
|
]]
|
||||||
|
collision_layer = 2
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Collision" type="CollisionShape2D" parent="."]
|
||||||
|
light_mask = 0
|
||||||
|
position = Vector2( 0.618717, 6.27557 )
|
||||||
|
rotation = 1.5708
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[node name="detection" type="Area2D" parent="."]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="detection" type="CollisionShape2D" parent="detection"]
|
||||||
|
shape = SubResource( 2 )
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
autostart = true
|
||||||
|
|
||||||
|
[node name="hitbox" type="Area2D" parent="." groups=[
|
||||||
|
"enemy_hitbox_1",
|
||||||
|
]]
|
||||||
|
visible = false
|
||||||
|
collision_layer = 4
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
|
||||||
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="detection" to="." method="_on_Area2D_body_entered"]
|
||||||
|
[connection signal="body_exited" from="detection" to="." method="_on_Area2D_body_exited"]
|
||||||
|
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||||
|
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
|
10
GUI/Countdown Timer.gd
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
extends Label
|
||||||
|
signal timer_end
|
||||||
|
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
var time_seconds: int = int($Timer.get_time_left())
|
||||||
|
set_text('%02d:%02d' % [time_seconds, int(($Timer.get_time_left() - time_seconds) * 100)])
|
||||||
|
|
||||||
|
if $Timer.get_time_left() == 0:
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn')
|
||||||
|
return
|
28
GUI/Countdown Timer.tscn
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://GUI/Countdown Timer.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Fonts/AtariClassic.ttf" type="DynamicFontData" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="DynamicFont" id=1]
|
||||||
|
size = 40
|
||||||
|
font_data = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="Countdown Timer" type="Label"]
|
||||||
|
margin_left = 135.0
|
||||||
|
margin_top = 1.0
|
||||||
|
margin_right = 335.0
|
||||||
|
margin_bottom = 41.0
|
||||||
|
rect_min_size = Vector2( 200, 0 )
|
||||||
|
rect_scale = Vector2( 0.25, 0.25 )
|
||||||
|
custom_fonts/font = SubResource( 1 )
|
||||||
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
||||||
|
align = 1
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Timer" type="Timer" parent="."]
|
||||||
|
wait_time = 60.0
|
||||||
|
one_shot = true
|
||||||
|
autostart = true
|
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Sprites/Assets/Splash_Screen.png" type="Texture" id=1]
|
[ext_resource path="res://Sprites/Assets/Splash_Screen.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://GUI/Splash Screen.gd" type="Script" id=2]
|
[ext_resource path="res://GUI/Splash Screen.gd" type="Script" id=2]
|
||||||
|
@@ -38,10 +38,10 @@ shape = SubResource( 2 )
|
|||||||
|
|
||||||
[node name="Unlock" type="Area2D" parent="."]
|
[node name="Unlock" type="Area2D" parent="."]
|
||||||
light_mask = 0
|
light_mask = 0
|
||||||
collision_layer = 0
|
|
||||||
collision_mask = 2
|
|
||||||
input_pickable = false
|
input_pickable = false
|
||||||
monitorable = false
|
monitorable = false
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Unlock"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Unlock"]
|
||||||
visible = false
|
visible = false
|
||||||
|
@@ -13,7 +13,7 @@ signal gem_collected
|
|||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
pass # Replace with function body.
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
@@ -22,12 +22,12 @@ func _ready() -> void:
|
|||||||
|
|
||||||
|
|
||||||
func _on_Player_Detector_area_entered(area: Area2D) -> void:
|
func _on_Player_Detector_area_entered(area: Area2D) -> void:
|
||||||
if area.get_parent().name == 'Player':
|
if area.get_parent().name == 'Player':
|
||||||
if is_opened == false:
|
if is_opened == false:
|
||||||
$chestClosed.visible = false
|
$chestClosed.visible = false
|
||||||
$chestOpened.visible = true
|
$chestOpened.visible = true
|
||||||
$Gem.visible = true
|
$Gem.visible = true
|
||||||
$Gem/AnimationPlayer.play('rise')
|
$Gem/AnimationPlayer.play('rise')
|
||||||
is_opened = true
|
is_opened = true
|
||||||
has_gem = false
|
has_gem = false
|
||||||
emit_signal('gem_collected')
|
emit_signal('gem_collected')
|
||||||
|
10
Levels/Interactives/Coin.gd
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
extends Area2D
|
||||||
|
|
||||||
|
signal coin_grabbed
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Node2D_body_entered(body: Node) -> void:
|
||||||
|
if body.get_name() == 'Player':
|
||||||
|
emit_signal("coin_grabbed")
|
||||||
|
print("coin!")
|
||||||
|
queue_free()
|
19
Levels/Interactives/Coin.tscn
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Levels/Interactives/Coin.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Assets/coin.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
|
radius = 6.38067
|
||||||
|
|
||||||
|
[node name="coin" type="Area2D"]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
position = Vector2( 0, 1 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="coin" type="CollisionShape2D" parent="."]
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[connection signal="body_entered" from="." to="." method="_on_Node2D_body_entered"]
|
52
Levels/Level 3.gd
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
extends Node2D
|
||||||
|
|
||||||
|
onready var coin = preload("res://Levels/Interactives/Coin.tscn")
|
||||||
|
onready var coin_container = get_node("coin_container")
|
||||||
|
onready var score_label = get_node('Level 3 HUD/Label')
|
||||||
|
#have event for timer to run out
|
||||||
|
|
||||||
|
|
||||||
|
var screensize
|
||||||
|
var score = 0
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
$YSort/Player.load_hud($HUD)
|
||||||
|
screensize = get_viewport_rect().size
|
||||||
|
spawn_coins(8)
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func spawn_coins(num):
|
||||||
|
for i in range(num):
|
||||||
|
var g = coin.instance()
|
||||||
|
$'coin_container'.add_child(g)
|
||||||
|
g.connect("coin_grabbed", self, "_on_coin_grabbed")
|
||||||
|
#g.set_pos(Vector2(rand_range(0, screensize.x-40), rand_range(0, screensize.y-40)))
|
||||||
|
g.position = Vector2(rand_range(0, screensize.x-40), rand_range(0, screensize.y-40))
|
||||||
|
|
||||||
|
func _on_coin_grabbed():
|
||||||
|
score+=1
|
||||||
|
print(score)
|
||||||
|
score_label.set_text(str(score) + "/5")
|
||||||
|
|
||||||
|
func _timer_out():
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn')
|
||||||
|
|
||||||
|
|
||||||
|
func _on_TreasureChest_ice_key_collected() -> void:
|
||||||
|
$YSort/Door/doorClosed.visible = false
|
||||||
|
$YSort/Door/doorOpened.visible = true
|
||||||
|
$YSort/DoorCollision.layers = 5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func _on_DoorDetector_body_entered(body: Node) -> void:
|
||||||
|
if body.get_parent().name == 'Player':
|
||||||
|
print('WIN WIN WIN')
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn')
|
||||||
|
|
||||||
|
|
||||||
|
func _on_DoorDetector_area_entered(area: Area2D) -> void:
|
||||||
|
if area.get_parent().name == 'Player':
|
||||||
|
print('WIN WIN WIN')
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn') # Replace with function body.
|
227
Levels/Level 3.tscn
Normal file
16
Levels/Objects/IceDoor.gd
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
extends Sprite
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a: int = 2
|
||||||
|
# var b: String = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta: float) -> void:
|
||||||
|
# pass
|
21
Levels/Objects/IceDoor.tscn
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Sprites/Levels/Objects/Gate_Open.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Sprites/Levels/Objects/Gate_Closed.png" type="Texture" id=2]
|
||||||
|
|
||||||
|
[node name="IceDoor" type="Sprite"]
|
||||||
|
|
||||||
|
[node name="doorClosed" type="Sprite" parent="."]
|
||||||
|
modulate = Color( 0.00392157, 0.905882, 1, 1 )
|
||||||
|
self_modulate = Color( 0.0352941, 0.705882, 1, 1 )
|
||||||
|
position = Vector2( 0.530327, 0.0883861 )
|
||||||
|
scale = Vector2( 0.742002, 0.706551 )
|
||||||
|
texture = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="doorOpened" type="Sprite" parent="."]
|
||||||
|
visible = false
|
||||||
|
modulate = Color( 0.00392157, 0.905882, 1, 1 )
|
||||||
|
self_modulate = Color( 0.0352941, 0.705882, 1, 1 )
|
||||||
|
position = Vector2( 0.353549, 0.97227 )
|
||||||
|
scale = Vector2( 0.732446, 0.669794 )
|
||||||
|
texture = ExtResource( 1 )
|
24
Levels/Objects/Key.gd
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
extends Node2D
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a: int = 2
|
||||||
|
# var b: String = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta: float) -> void:
|
||||||
|
# pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_AnimationPlayer_animation_finished(anim_name: String) -> void:
|
||||||
|
$IceKeySprite.visible = false
|
||||||
|
|
||||||
|
|
||||||
|
func _on_AnimationPlayer_animation_started(anim_name: String) -> void:
|
||||||
|
$IceKeySprite.visible = true
|
21
Levels/Objects/Key.tscn
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[gd_scene load_steps=4 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Levels/Objects/icekey.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://Levels/Interactables/Gem.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id=1]
|
||||||
|
resource_name = "rise"
|
||||||
|
length = 1.2
|
||||||
|
|
||||||
|
[node name="Key" type="Node2D"]
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="IceKeySprite" type="Sprite" parent="."]
|
||||||
|
position = Vector2( -0.0417144, 0.145997 )
|
||||||
|
scale = Vector2( 0.760146, 0.732771 )
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
|
anims/rise = SubResource( 1 )
|
||||||
|
|
||||||
|
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
|
34
Levels/Objects/TreasureChest_L3.gd
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
extends Sprite
|
||||||
|
|
||||||
|
var is_player_inside: bool = false
|
||||||
|
var is_opened: bool = false
|
||||||
|
var has_key: bool = true
|
||||||
|
|
||||||
|
signal ice_key_collected
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a: int = 2
|
||||||
|
# var b: String = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta: float) -> void:
|
||||||
|
# pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Player_Detector_area_entered(area: Area2D) -> void:
|
||||||
|
print(get_parent().get_parent().score)
|
||||||
|
if area.get_parent().name == 'Player' and get_parent().get_parent().score >= 5:
|
||||||
|
if is_opened == false:
|
||||||
|
$chestClosed.visible = false
|
||||||
|
$chestOpened.visible = true
|
||||||
|
$Key.visible = true
|
||||||
|
$Key/AnimationPlayer.play("rise")
|
||||||
|
is_opened = true
|
||||||
|
has_key = false
|
||||||
|
emit_signal("ice_key_collected")
|
38
Levels/Objects/TreasureChest_L3.tscn
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
[gd_scene load_steps=7 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Levels/Interactables/Treasure Chest.gd" type="Script" id=1]
|
||||||
|
[ext_resource path="res://Levels/Objects/Key.tscn" type="PackedScene" id=2]
|
||||||
|
[ext_resource path="res://Sprites/Levels/Interactables/Treasure_Chest_Closed.png" type="Texture" id=3]
|
||||||
|
[ext_resource path="res://Sprites/Levels/Interactables/Treasure_Chest_Open.png" type="Texture" id=4]
|
||||||
|
[ext_resource path="res://Levels/Objects/Key.gd" type="Script" id=5]
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=1]
|
||||||
|
extents = Vector2( 21.3333, 17.3333 )
|
||||||
|
|
||||||
|
[node name="TreasureChest" type="Sprite" groups=["enemies"]]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
|
||||||
|
[node name="chestOpened" type="Sprite" parent="."]
|
||||||
|
visible = false
|
||||||
|
texture = ExtResource( 4 )
|
||||||
|
|
||||||
|
[node name="chestClosed" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 3 )
|
||||||
|
|
||||||
|
[node name="Key" parent="." instance=ExtResource( 2 )]
|
||||||
|
visible = false
|
||||||
|
script = ExtResource( 5 )
|
||||||
|
|
||||||
|
[node name="Player Detector" type="Area2D" parent="."]
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 2
|
||||||
|
input_pickable = false
|
||||||
|
monitorable = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||||
|
visible = false
|
||||||
|
position = Vector2( 1, -1 )
|
||||||
|
scale = Vector2( 1.5, 1.5 )
|
||||||
|
shape = SubResource( 1 )
|
||||||
|
|
||||||
|
[connection signal="area_entered" from="Player Detector" to="." method="_on_Player_Detector_area_entered"]
|
17
Levels/Objects/Tree.tscn
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Sprites/Assets/forestTreeBig.png" type="Texture" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleShape2D" id=1]
|
||||||
|
radius = 5.0
|
||||||
|
height = 9.0
|
||||||
|
|
||||||
|
[node name="Tree" type="StaticBody2D"]
|
||||||
|
|
||||||
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
|
texture = ExtResource( 1 )
|
||||||
|
offset = Vector2( 0, -5 )
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
|
rotation = 1.5708
|
||||||
|
shape = SubResource( 1 )
|
BIN
Levels/Objects/icekey.png
Normal file
After Width: | Height: | Size: 285 B |
35
Levels/Objects/icekey.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/icekey.png-527d7dd5cd660f0970e78efce0eda1a1.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Levels/Objects/icekey.png"
|
||||||
|
dest_files=[ "res://.import/icekey.png-527d7dd5cd660f0970e78efce0eda1a1.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
34
Levels/SlowTime.gd
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
extends Node
|
||||||
|
|
||||||
|
const END_VALUE = 1
|
||||||
|
|
||||||
|
signal unfreeze
|
||||||
|
|
||||||
|
var is_active = false
|
||||||
|
var time_start
|
||||||
|
var duration_ms
|
||||||
|
var start_value
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
func start(duration = 1, strength = 0.9):
|
||||||
|
time_start = OS.get_ticks_msec()
|
||||||
|
duration_ms = duration * 1000
|
||||||
|
start_value = 1 - strength
|
||||||
|
Engine.time_scale = start_value
|
||||||
|
is_active = true
|
||||||
|
|
||||||
|
|
||||||
|
func _process(delta):
|
||||||
|
if is_active:
|
||||||
|
var current_time = OS.get_ticks_msec() - time_start
|
||||||
|
var value = circl_ease_in(current_time, start_value, END_VALUE, duration_ms)
|
||||||
|
if current_time >= duration_ms:
|
||||||
|
is_active = false
|
||||||
|
value = END_VALUE
|
||||||
|
emit_signal('unfreeze')
|
||||||
|
Engine.time_scale = value
|
||||||
|
|
||||||
|
func circl_ease_in(t, b, c, d):
|
||||||
|
t /=d
|
||||||
|
return -c * (sqrt(1 - t * t) - 1) + b
|
1
Main.gd
@@ -7,6 +7,7 @@ export var world_path: String
|
|||||||
|
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
randomize()
|
||||||
var splash_screen: Node = play_splash_screen()
|
var splash_screen: Node = play_splash_screen()
|
||||||
yield(splash_screen, 'complete')
|
yield(splash_screen, 'complete')
|
||||||
splash_screen = null
|
splash_screen = null
|
||||||
|
BIN
Music/Level_3.mp3
Normal file
15
Music/Level_3.mp3.import
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="mp3"
|
||||||
|
type="AudioStreamMP3"
|
||||||
|
path="res://.import/Level_3.mp3-c1f27f9292fb52473328a029b05dce7d.mp3str"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Music/Level_3.mp3"
|
||||||
|
dest_files=[ "res://.import/Level_3.mp3-c1f27f9292fb52473328a029b05dce7d.mp3str" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=true
|
||||||
|
loop_offset=0
|
@@ -3,6 +3,8 @@ extends KinematicBody2D
|
|||||||
export var ACCELERATION: int = 1000
|
export var ACCELERATION: int = 1000
|
||||||
export var MAX_SPEED: int = 120
|
export var MAX_SPEED: int = 120
|
||||||
export var FRICTION: int = 1000
|
export var FRICTION: int = 1000
|
||||||
|
signal frozen
|
||||||
|
|
||||||
|
|
||||||
const HEALTH_SLICES: Array = [0, 18, 35, 50, 65, 82, 100]
|
const HEALTH_SLICES: Array = [0, 18, 35, 50, 65, 82, 100]
|
||||||
var health_index: int = 6
|
var health_index: int = 6
|
||||||
@@ -102,6 +104,9 @@ func _on_hitbox_area_entered(area: Area2D) -> void:
|
|||||||
hit = 2
|
hit = 2
|
||||||
elif area.is_in_group('enemy_hitbox_3') or area.is_in_group('enemy_projectile_3'):
|
elif area.is_in_group('enemy_hitbox_3') or area.is_in_group('enemy_projectile_3'):
|
||||||
hit = 3
|
hit = 3
|
||||||
|
elif area.is_in_group('freeze'):
|
||||||
|
emit_signal('frozen')
|
||||||
|
modulate = Color(0,.5,1)
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -109,10 +114,15 @@ func _on_hitbox_area_entered(area: Area2D) -> void:
|
|||||||
health_index -= hit
|
health_index -= hit
|
||||||
if health_index < 0:
|
if health_index < 0:
|
||||||
health_index = 0
|
health_index = 0
|
||||||
|
|
||||||
hud.update_health(HEALTH_SLICES[health_index])
|
hud.update_health(HEALTH_SLICES[health_index])
|
||||||
|
else:
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn')
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func _input(event: InputEvent) -> void:
|
func _input(event: InputEvent) -> void:
|
||||||
if event.is_action_pressed('player_attack'):
|
if event.is_action_pressed('player_attack'):
|
||||||
if hud.weapon == 'sword':
|
if hud.weapon == 'sword':
|
||||||
@@ -130,6 +140,31 @@ func _input(event: InputEvent) -> void:
|
|||||||
var time: Dictionary = OS.get_datetime_from_unix_time(OS.get_unix_time())
|
var time: Dictionary = OS.get_datetime_from_unix_time(OS.get_unix_time())
|
||||||
var time_msecs: int = OS.get_system_time_msecs()
|
var time_msecs: int = OS.get_system_time_msecs()
|
||||||
|
|
||||||
|
|
||||||
if img.save_png('user://Screenshot_%d%d%d_%d.png' % [time.year, time.month, time.day, time_msecs]) != OK:
|
if img.save_png('user://Screenshot_%d%d%d_%d.png' % [time.year, time.month, time.day, time_msecs]) != OK:
|
||||||
print('ERROR: Failed saving screenshot.')
|
print('ERROR: Failed saving screenshot.')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_Hitbox_area_entered(area: Area2D) -> void:
|
||||||
|
print(area.name)
|
||||||
|
|
||||||
|
if area.name == 'detection':
|
||||||
|
return
|
||||||
|
|
||||||
|
if 'freeze' in area.get_parent().get_groups():
|
||||||
|
emit_signal('frozen')
|
||||||
|
return
|
||||||
|
|
||||||
|
if 'enemies' in area.get_parent().get_groups() or area.name != 'detection' or 'damage' in area.get_groups():
|
||||||
|
if health_index != 0:
|
||||||
|
health_index -= 1
|
||||||
|
hud.update_health(HEALTH_SLICES[health_index])
|
||||||
|
else:
|
||||||
|
get_tree().change_scene('res://Levels/Hub World.tscn')
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
func _on_SlowTime_unfreeze() -> void:
|
||||||
|
modulate = Color(1,1,1)
|
||||||
|
|
||||||
|
28
Resources/tileSet.tres
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
[gd_resource type="TileSet" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Sprites/Assets/tileSet.png" type="Texture" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
0/name = "tileSet.png 0"
|
||||||
|
0/texture = ExtResource( 1 )
|
||||||
|
0/tex_offset = Vector2( 0, 0 )
|
||||||
|
0/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
0/region = Rect2( 0, 0, 208, 96 )
|
||||||
|
0/tile_mode = 1
|
||||||
|
0/autotile/bitmask_mode = 1
|
||||||
|
0/autotile/bitmask_flags = [ Vector2( 1, 1 ), 432, Vector2( 1, 2 ), 438, Vector2( 1, 3 ), 54, Vector2( 1, 4 ), 48, Vector2( 2, 1 ), 504, Vector2( 2, 2 ), 511, Vector2( 2, 3 ), 63, Vector2( 2, 4 ), 56, Vector2( 3, 1 ), 216, Vector2( 3, 2 ), 219, Vector2( 3, 3 ), 27, Vector2( 3, 4 ), 24, Vector2( 4, 1 ), 144, Vector2( 4, 2 ), 146, Vector2( 4, 3 ), 18, Vector2( 4, 4 ), 16, Vector2( 5, 1 ), 176, Vector2( 5, 2 ), 182, Vector2( 5, 3 ), 434, Vector2( 5, 4 ), 50, Vector2( 5, 5 ), 178, Vector2( 6, 1 ), 248, Vector2( 6, 2 ), 255, Vector2( 6, 3 ), 507, Vector2( 6, 4 ), 59, Vector2( 6, 5 ), 251, Vector2( 7, 1 ), 440, Vector2( 7, 2 ), 447, Vector2( 7, 3 ), 510, Vector2( 7, 4 ), 62, Vector2( 7, 5 ), 446, Vector2( 8, 1 ), 152, Vector2( 8, 2 ), 155, Vector2( 8, 3 ), 218, Vector2( 8, 4 ), 26, Vector2( 8, 5 ), 154, Vector2( 9, 1 ), 184, Vector2( 9, 2 ), 191, Vector2( 9, 3 ), 506, Vector2( 9, 4 ), 58, Vector2( 9, 5 ), 186, Vector2( 10, 1 ), 443, Vector2( 10, 2 ), 254, Vector2( 10, 3 ), 442, Vector2( 10, 4 ), 190, Vector2( 11, 3 ), 250, Vector2( 11, 4 ), 187 ]
|
||||||
|
0/autotile/icon_coordinate = Vector2( 2, 2 )
|
||||||
|
0/autotile/tile_size = Vector2( 16, 16 )
|
||||||
|
0/autotile/spacing = 0
|
||||||
|
0/autotile/occluder_map = [ ]
|
||||||
|
0/autotile/navpoly_map = [ ]
|
||||||
|
0/autotile/priority_map = [ ]
|
||||||
|
0/autotile/z_index_map = [ ]
|
||||||
|
0/occluder_offset = Vector2( 0, 0 )
|
||||||
|
0/navigation_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
0/shape_one_way = false
|
||||||
|
0/shape_one_way_margin = 0.0
|
||||||
|
0/shapes = [ ]
|
||||||
|
0/z_index = 0
|
BIN
Sprites/Assets/coin.png
Normal file
After Width: | Height: | Size: 252 B |
35
Sprites/Assets/coin.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/coin.png-d3ed10af727404355aa36094ddb4dc03.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/coin.png"
|
||||||
|
dest_files=[ "res://.import/coin.png-d3ed10af727404355aa36094ddb4dc03.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Assets/forestTreeBig.png
Normal file
After Width: | Height: | Size: 475 B |
35
Sprites/Assets/forestTreeBig.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/forestTreeBig.png-478933d7b93890ab11b47587fa2a74c6.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/forestTreeBig.png"
|
||||||
|
dest_files=[ "res://.import/forestTreeBig.png-478933d7b93890ab11b47587fa2a74c6.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Assets/tileSet.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
35
Sprites/Assets/tileSet.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/tileSet.png-6c03456baa0e3f76257076e875be6f45.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Assets/tileSet.png"
|
||||||
|
dest_files=[ "res://.import/tileSet.png-6c03456baa0e3f76257076e875be6f45.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=3
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=2
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=0
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Enemies/blue_snowball.png
Normal file
After Width: | Height: | Size: 189 B |
35
Sprites/Enemies/blue_snowball.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/blue_snowball.png-c6d5abfbfa9ce938493f1016f2e4589f.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Enemies/blue_snowball.png"
|
||||||
|
dest_files=[ "res://.import/blue_snowball.png-c6d5abfbfa9ce938493f1016f2e4589f.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Enemies/blue_snowman.png
Normal file
After Width: | Height: | Size: 285 B |
35
Sprites/Enemies/blue_snowman.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/blue_snowman.png-112d9d688c299d472d979f859a987784.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Enemies/blue_snowman.png"
|
||||||
|
dest_files=[ "res://.import/blue_snowman.png-112d9d688c299d472d979f859a987784.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Enemies/pink_snowball.png
Normal file
After Width: | Height: | Size: 189 B |
35
Sprites/Enemies/pink_snowball.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/pink_snowball.png-25092ec229f21e93ceffdfbf202a6897.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Enemies/pink_snowball.png"
|
||||||
|
dest_files=[ "res://.import/pink_snowball.png-25092ec229f21e93ceffdfbf202a6897.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Enemies/pink_snowman.png
Normal file
After Width: | Height: | Size: 303 B |
35
Sprites/Enemies/pink_snowman.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/pink_snowman.png-d3376657eb23cfcae58851c482f8d18e.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Enemies/pink_snowman.png"
|
||||||
|
dest_files=[ "res://.import/pink_snowman.png-d3376657eb23cfcae58851c482f8d18e.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
BIN
Sprites/Levels/Interactables/icekey.png
Normal file
After Width: | Height: | Size: 285 B |
35
Sprites/Levels/Interactables/icekey.png.import
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/icekey.png-df1cf56280665fb9b333567113ef5539.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Sprites/Levels/Interactables/icekey.png"
|
||||||
|
dest_files=[ "res://.import/icekey.png-df1cf56280665fb9b333567113ef5539.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|