diff --git a/HUD.gd b/HUD.gd index 5598746..eda7cd0 100644 --- a/HUD.gd +++ b/HUD.gd @@ -2,24 +2,30 @@ extends CanvasLayer signal start_game + func show_message(text): - $MessageLabel.text = text - $MessageLabel.show() + $Message.text = text + $Message.show() $MessageTimer.start() + func show_game_over(): show_message("Game Over") yield($MessageTimer, "timeout") + $Message.text = "Dodge the\nCreeps!" + $Message.show() + yield(get_tree().create_timer(1), "timeout") $StartButton.show() - $MessageLabel.text = "Dodge the\nCreeps!" - $MessageLabel.show() + func update_score(score): $ScoreLabel.text = str(score) + func _on_StartButton_pressed(): $StartButton.hide() emit_signal("start_game") + func _on_MessageTimer_timeout(): - $MessageLabel.hide() \ No newline at end of file + $Message.hide() diff --git a/HUD.tscn b/HUD.tscn index 42171ef..271c120 100644 --- a/HUD.tscn +++ b/HUD.tscn @@ -1,126 +1,63 @@ [gd_scene load_steps=6 format=2] -[ext_resource path="res://HUD.gd" type="Script" id=1] -[ext_resource path="res://fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=2] +[ext_resource path="res://dodge_assets/fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://HUD.gd" type="Script" id=2] [sub_resource type="DynamicFont" id=1] - size = 64 -use_mipmaps = false -use_filter = false -font_data = ExtResource( 2 ) -_sections_unfolded = [ "Font", "Settings" ] - -[sub_resource type="DynamicFont" id=2] +font_data = ExtResource( 1 ) -size = 72 -use_mipmaps = false -use_filter = false -font_data = ExtResource( 2 ) -_sections_unfolded = [ "Font", "Settings" ] +[sub_resource type="InputEventAction" id=2] +action = "ui_select" -[sub_resource type="DynamicFont" id=3] - -size = 48 -use_mipmaps = false -use_filter = false -font_data = ExtResource( 2 ) -_sections_unfolded = [ "Font", "Settings" ] +[sub_resource type="ShortCut" id=3] +shortcut = SubResource( 2 ) [node name="HUD" type="CanvasLayer"] +script = ExtResource( 2 ) -layer = 1 -offset = Vector2( 0, 0 ) -rotation = 0.0 -scale = Vector2( 1, 1 ) -transform = Transform2D( 1, 0, 0, 1, 0, 0 ) -script = ExtResource( 1 ) - -[node name="ScoreLabel" type="Label" parent="." index="0"] - -anchor_left = 0.5 -anchor_top = 0.0 -anchor_right = 0.5 -anchor_bottom = 0.0 -margin_left = -25.0 -margin_right = 25.0 -margin_bottom = 100.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 2 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 4 +[node name="ScoreLabel" type="Label" parent="."] +anchor_right = 1.0 +margin_bottom = 78.0 custom_fonts/font = SubResource( 1 ) text = "0" align = 1 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 -_sections_unfolded = [ "Anchor", "Margin", "custom_fonts" ] +__meta__ = { +"_edit_use_anchors_": false +} -[node name="MessageLabel" type="Label" parent="." index="1"] - -anchor_left = 0.5 +[node name="Message" type="Label" parent="."] anchor_top = 0.5 -anchor_right = 0.5 +anchor_right = 1.0 anchor_bottom = 0.5 -margin_left = -200.0 -margin_top = -150.0 -margin_right = 200.0 -margin_bottom = 50.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 2 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 4 -custom_fonts/font = SubResource( 2 ) -text = "Dodge the -Creeps!" +margin_top = -79.5 +margin_bottom = 79.5 +custom_fonts/font = SubResource( 1 ) +text = "Dodge the Creeps!" align = 1 -valign = 1 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 -_sections_unfolded = [ "Anchor", "Margin", "custom_fonts" ] - -[node name="MessageTimer" type="Timer" parent="." index="2"] - -process_mode = 1 -wait_time = 2.0 -one_shot = true -autostart = false - -[node name="StartButton" type="Button" parent="." index="3"] +autowrap = true +__meta__ = { +"_edit_use_anchors_": false +} +[node name="StartButton" type="Button" parent="."] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 -margin_left = -100.0 +margin_left = -90.0 margin_top = -200.0 -margin_right = 100.0 +margin_right = 90.0 margin_bottom = -100.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -custom_fonts/font = SubResource( 3 ) -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null +custom_fonts/font = SubResource( 1 ) +shortcut = SubResource( 3 ) text = "Start" -flat = false -align = 1 -_sections_unfolded = [ "Anchor", "Margin", "Visibility", "custom_fonts" ] - -[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"] +__meta__ = { +"_edit_use_anchors_": false +} +[node name="MessageTimer" type="Timer" parent="."] +wait_time = 2.0 +one_shot = true [connection signal="pressed" from="StartButton" to="." method="_on_StartButton_pressed"] - - +[connection signal="timeout" from="MessageTimer" to="." method="_on_MessageTimer_timeout"] diff --git a/Main.gd b/Main.gd index f2b015c..85b57b7 100644 --- a/Main.gd +++ b/Main.gd @@ -3,40 +3,52 @@ extends Node export (PackedScene) var Mob var score + func _ready(): randomize() + +func game_over(): + $ScoreTimer.stop() + $MobTimer.stop() + $HUD.show_game_over() + get_tree().call_group("mobs", "queue_free") + $Music.stop() + $DeathSound.play() + + func new_game(): score = 0 - $HUD.update_score(score) $Player.start($StartPosition.position) $StartTimer.start() + $HUD.update_score(score) $HUD.show_message("Get Ready") $Music.play() -func game_over(): - $DeathSound.play() - $Music.stop() - $ScoreTimer.stop() - $MobTimer.stop() - $HUD.show_game_over() func _on_MobTimer_timeout(): - # choose a random location on the Path2D - $MobPath/MobSpawnLocation.set_offset(randi()) + # Choose a random location on Path2D. + $MobPath/MobSpawnLocation.offset = randi() + # Create a Mob instance and add it to the scene. var mob = Mob.instance() add_child(mob) - var direction = $MobPath/MobSpawnLocation.rotation + PI/2 + # Set the mob's direction perpendicular to the path direction. + var direction = $MobPath/MobSpawnLocation.rotation + PI / 2 + # Set the mob's position to a random location. mob.position = $MobPath/MobSpawnLocation.position - # add some randomness to the direction - direction += rand_range(-PI/4, PI/4) + # Add some randomness to the direction. + direction += rand_range(-PI / 4, PI / 4) mob.rotation = direction - mob.set_linear_velocity(Vector2(rand_range(mob.MIN_SPEED, mob.MAX_SPEED), 0).rotated(direction)) + # Set the velocity (speed & direction). + mob.linear_velocity = Vector2(rand_range(mob.min_speed, mob.max_speed), 0) + mob.linear_velocity = mob.linear_velocity.rotated(direction) -func _on_StartTimer_timeout(): - $MobTimer.start() - $ScoreTimer.start() func _on_ScoreTimer_timeout(): score += 1 $HUD.update_score(score) + + +func _on_StartTimer_timeout(): + $MobTimer.start() + $ScoreTimer.start() diff --git a/Main.tscn b/Main.tscn index 03c63d0..5056318 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,112 +1,57 @@ [gd_scene load_steps=8 format=2] -[ext_resource path="res://Main.gd" type="Script" id=1] -[ext_resource path="res://Mob.tscn" type="PackedScene" id=2] -[ext_resource path="res://Player.tscn" type="PackedScene" id=3] +[ext_resource path="res://Player.tscn" type="PackedScene" id=1] +[ext_resource path="res://Main.gd" type="Script" id=2] +[ext_resource path="res://Mob.tscn" type="PackedScene" id=3] [ext_resource path="res://HUD.tscn" type="PackedScene" id=4] -[ext_resource path="res://art/House In a Forest Loop.ogg" type="AudioStream" id=5] -[ext_resource path="res://art/gameover.wav" type="AudioStream" id=6] +[ext_resource path="res://dodge_assets/art/House In a Forest Loop.ogg" type="AudioStream" id=5] +[ext_resource path="res://dodge_assets/art/gameover.wav" type="AudioStream" id=6] [sub_resource type="Curve2D" id=1] - -bake_interval = 5.0 _data = { -"points": PoolVector2Array( 0, 0, 0, 0, 1.70602, 3.56798, 0, 0, 0, 0, 482.263, 3.26522, 0, 0, 0, 0, 480.489, 729.458, 0, 0, 0, 0, 0.794434, 732.118, 0, 0, 0, 0, 1.97066, 3.83263 ) +"points": PoolVector2Array( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 480, 0, 0, 0, 0, 0, 480, 720, 0, 0, 0, 0, 0, 720, 0, 0, 0, 0, 0, 0 ) } -[node name="Main" type="Node" index="0"] - -script = ExtResource( 1 ) -Mob = ExtResource( 2 ) - -[node name="ColorRect" type="ColorRect" parent="." index="0"] +[node name="Main" type="Node"] +script = ExtResource( 2 ) +Mob = ExtResource( 3 ) -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 486.0 -margin_bottom = 734.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -color = Color( 0.253451, 0.425288, 0.429412, 1 ) - -[node name="Player" parent="." index="1" instance=ExtResource( 3 )] +[node name="ColorRect" type="ColorRect" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +color = Color( 0.145098, 0.290196, 0.419608, 1 ) +__meta__ = { +"_edit_use_anchors_": false +} -[node name="MobTimer" type="Timer" parent="." index="2"] +[node name="Player" parent="." instance=ExtResource( 1 )] -process_mode = 1 +[node name="MobTimer" type="Timer" parent="."] wait_time = 0.5 -one_shot = false -autostart = false - -[node name="ScoreTimer" type="Timer" parent="." index="3"] -process_mode = 1 -wait_time = 1.0 -one_shot = false -autostart = false +[node name="ScoreTimer" type="Timer" parent="."] -[node name="StartTimer" type="Timer" parent="." index="4"] - -process_mode = 1 +[node name="StartTimer" type="Timer" parent="."] wait_time = 2.0 one_shot = true -autostart = false - -[node name="StartPosition" type="Position2D" parent="." index="5"] +[node name="StartPosition" type="Position2D" parent="."] position = Vector2( 240, 450 ) -_sections_unfolded = [ "Transform" ] -[node name="HUD" parent="." index="6" instance=ExtResource( 4 )] +[node name="MobPath" type="Path2D" parent="."] +curve = SubResource( 1 ) -transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath"] -[node name="Music" type="AudioStreamPlayer" parent="." index="7"] +[node name="HUD" parent="." instance=ExtResource( 4 )] +[node name="Music" type="AudioStreamPlayer" parent="."] stream = ExtResource( 5 ) -volume_db = -8.0 -autoplay = false -mix_target = 0 -bus = "Master" - -[node name="DeathSound" type="AudioStreamPlayer" parent="." index="8"] +[node name="DeathSound" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) -volume_db = -5.0 -autoplay = false -mix_target = 0 -bus = "Master" - -[node name="MobPath" type="Path2D" parent="." index="9"] - -curve = SubResource( 1 ) - -[node name="MobSpawnLocation" type="PathFollow2D" parent="MobPath" index="0"] - -position = Vector2( 1.70602, 3.56798 ) -rotation = -0.000630111 -offset = 0.0 -h_offset = 0.0 -v_offset = 0.0 -rotate = true -cubic_interp = true -loop = true -lookahead = 4.0 - [connection signal="hit" from="Player" to="." method="game_over"] - [connection signal="timeout" from="MobTimer" to="." method="_on_MobTimer_timeout"] - [connection signal="timeout" from="ScoreTimer" to="." method="_on_ScoreTimer_timeout"] - [connection signal="timeout" from="StartTimer" to="." method="_on_StartTimer_timeout"] - [connection signal="start_game" from="HUD" to="." method="new_game"] - - diff --git a/Mob.gd b/Mob.gd index a89ea5b..ca27514 100644 --- a/Mob.gd +++ b/Mob.gd @@ -1,11 +1,13 @@ extends RigidBody2D -export (int) var MIN_SPEED -export (int) var MAX_SPEED -var mob_types = ["walk", "swim", "fly"] +export var min_speed = 150 +export var max_speed = 250 + func _ready(): + var mob_types = $AnimatedSprite.frames.get_animation_names() $AnimatedSprite.animation = mob_types[randi() % mob_types.size()] -func _on_Visibility_screen_exited(): + +func _on_VisibilityNotifier2D_screen_exited(): queue_free() diff --git a/Mob.tscn b/Mob.tscn index 05b0da2..70fca58 100644 --- a/Mob.tscn +++ b/Mob.tscn @@ -1,82 +1,54 @@ [gd_scene load_steps=10 format=2] -[ext_resource path="res://Mob.gd" type="Script" id=1] -[ext_resource path="res://art/enemyWalking_1.png" type="Texture" id=2] -[ext_resource path="res://art/enemyWalking_2.png" type="Texture" id=3] -[ext_resource path="res://art/enemyFlyingAlt_1.png" type="Texture" id=4] -[ext_resource path="res://art/enemyFlyingAlt_2.png" type="Texture" id=5] -[ext_resource path="res://art/enemySwimming_1.png" type="Texture" id=6] -[ext_resource path="res://art/enemySwimming_2.png" type="Texture" id=7] +[ext_resource path="res://dodge_assets/art/enemySwimming_2.png" type="Texture" id=1] +[ext_resource path="res://dodge_assets/art/enemyWalking_2.png" type="Texture" id=2] +[ext_resource path="res://dodge_assets/art/enemyWalking_1.png" type="Texture" id=3] +[ext_resource path="res://dodge_assets/art/enemySwimming_1.png" type="Texture" id=4] +[ext_resource path="res://dodge_assets/art/enemyFlyingAlt_2.png" type="Texture" id=5] +[ext_resource path="res://dodge_assets/art/enemyFlyingAlt_1.png" type="Texture" id=6] +[ext_resource path="res://Mob.gd" type="Script" id=7] [sub_resource type="SpriteFrames" id=1] - animations = [ { -"frames": [ ExtResource( 2 ), ExtResource( 3 ) ], +"frames": [ ExtResource( 6 ), ExtResource( 5 ) ], "loop": true, -"name": "walk", -"speed": 4.0 +"name": "fly", +"speed": 3.0 }, { -"frames": [ ExtResource( 4 ), ExtResource( 5 ) ], +"frames": [ ExtResource( 3 ), ExtResource( 2 ) ], "loop": true, -"name": "fly", +"name": "walk", "speed": 3.0 }, { -"frames": [ ExtResource( 6 ), ExtResource( 7 ) ], +"frames": [ ExtResource( 4 ), ExtResource( 1 ) ], "loop": true, "name": "swim", -"speed": 4.0 +"speed": 3.0 } ] [sub_resource type="CapsuleShape2D" id=2] +radius = 35.7915 -custom_solver_bias = 0.0 -radius = 34.8222 -height = 28.8308 - -[node name="Mob" type="RigidBody2D"] - -input_pickable = true -collision_layer = 1 +[node name="Mob" type="RigidBody2D" groups=[ +"mobs", +]] collision_mask = 0 -mode = 0 -mass = 1.0 -friction = 1.0 -bounce = 0.0 gravity_scale = 0.0 -custom_integrator = false -continuous_cd = 0 -contacts_reported = 0 -contact_monitor = false -sleeping = false -can_sleep = true -linear_velocity = Vector2( 0, 0 ) -linear_damp = 0.1 -angular_velocity = 0.0 -angular_damp = 1.0 -script = ExtResource( 1 ) -_sections_unfolded = [ "Angular", "Collision", "Transform" ] +script = ExtResource( 7 ) __meta__ = { "_edit_group_": true } -MIN_SPEED = 150 -MAX_SPEED = 250 - -[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"] +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] scale = Vector2( 0.75, 0.75 ) frames = SubResource( 1 ) -animation = "swim" +animation = "walk" +frame = 1 playing = true -_sections_unfolded = [ "Transform" ] - -[node name="Collision" type="CollisionShape2D" parent="." index="1"] +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] rotation = 1.5708 shape = SubResource( 2 ) -_sections_unfolded = [ "Transform", "Visibility" ] - -[node name="Visibility" type="VisibilityNotifier2D" parent="." index="2"] - -rect = Rect2( -10, -10, 20, 20 ) - +[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] +[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"] diff --git a/Player.gd b/Player.gd index 875bb50..f1f2979 100644 --- a/Player.gd +++ b/Player.gd @@ -2,21 +2,16 @@ extends Area2D signal hit -export (int) var SPEED -var velocity = Vector2() -var screensize +export var speed = 400 +var screen_size func _ready(): + screen_size = get_viewport_rect().size hide() - screensize = get_viewport_rect().size -func start(pos): - position = pos - show() - $Collision.disabled = false func _process(delta): - velocity = Vector2() + var velocity = Vector2() # The player's movement vector. if Input.is_action_pressed("ui_right"): velocity.x += 1 if Input.is_action_pressed("ui_left"): @@ -26,29 +21,32 @@ func _process(delta): if Input.is_action_pressed("ui_up"): velocity.y -= 1 if velocity.length() > 0: - velocity = velocity.normalized() * SPEED + velocity = velocity.normalized() * speed $AnimatedSprite.play() - $Trail.emitting = true else: $AnimatedSprite.stop() - $Trail.emitting = false - + position += velocity * delta - position.x = clamp(position.x, 0, screensize.x) - position.y = clamp(position.y, 0, screensize.y) - + position.x = clamp(position.x, 0, screen_size.x) + position.y = clamp(position.y, 0, screen_size.y) + if velocity.x != 0: - $AnimatedSprite.animation = "right" + $AnimatedSprite.animation = "walk" $AnimatedSprite.flip_v = false + # See the note below about boolean assignment $AnimatedSprite.flip_h = velocity.x < 0 elif velocity.y != 0: $AnimatedSprite.animation = "up" $AnimatedSprite.flip_v = velocity.y > 0 -func _on_Player_body_entered( body ): - $Collision.disabled = true - hide() - emit_signal("hit") +func _on_Player_body_entered(body): + hide() # Player disappears after being hit. + emit_signal("hit") + $CollisionShape2D.set_deferred("disabled", true) +func start(pos): + position = pos + show() + $CollisionShape2D.disabled = false diff --git a/Player.tscn b/Player.tscn index eb67853..0853fcf 100644 --- a/Player.tscn +++ b/Player.tscn @@ -1,145 +1,36 @@ -[gd_scene load_steps=13 format=2] +[gd_scene load_steps=8 format=2] -[ext_resource path="res://Player.gd" type="Script" id=1] -[ext_resource path="res://art/playerGrey_walk1.png" type="Texture" id=2] -[ext_resource path="res://art/playerGrey_walk2.png" type="Texture" id=3] -[ext_resource path="res://art/playerGrey_up1.png" type="Texture" id=4] -[ext_resource path="res://art/playerGrey_up2.png" type="Texture" id=5] +[ext_resource path="res://dodge_assets/art/playerGrey_walk2.png" type="Texture" id=1] +[ext_resource path="res://dodge_assets/art/playerGrey_walk1.png" type="Texture" id=2] +[ext_resource path="res://dodge_assets/art/playerGrey_up1.png" type="Texture" id=3] +[ext_resource path="res://dodge_assets/art/playerGrey_up2.png" type="Texture" id=4] +[ext_resource path="res://Player.gd" type="Script" id=5] [sub_resource type="SpriteFrames" id=1] - animations = [ { -"frames": [ ExtResource( 2 ), ExtResource( 3 ) ], +"frames": [ ExtResource( 3 ), ExtResource( 4 ) ], "loop": true, -"name": "right", +"name": "up", "speed": 5.0 }, { -"frames": [ ExtResource( 4 ), ExtResource( 5 ) ], +"frames": [ ExtResource( 2 ), ExtResource( 1 ) ], "loop": true, -"name": "up", +"name": "walk", "speed": 5.0 } ] [sub_resource type="CapsuleShape2D" id=2] - -custom_solver_bias = 0.0 -radius = 26.5155 -height = 13.8847 - -[sub_resource type="Gradient" id=3] - -offsets = PoolRealArray( 0, 1 ) -colors = PoolColorArray( 1, 1, 1, 0.523804, 1, 1, 1, 0 ) - -[sub_resource type="GradientTexture" id=4] - -flags = 4 -gradient = SubResource( 3 ) -width = 2048 - -[sub_resource type="Curve" id=5] - -min_value = 0.0 -max_value = 1.0 -bake_resolution = 100 -_data = [ Vector2( 0, 0.446289 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.306641 ), 0.0, 0.0, 0, 0 ] - -[sub_resource type="CurveTexture" id=6] - -flags = 4 -width = 2048 -curve = SubResource( 5 ) - -[sub_resource type="ParticlesMaterial" id=7] - -render_priority = 0 -trail_divisor = 1 -emission_shape = 0 -flag_align_y = false -flag_rotate_y = false -flag_disable_z = true -spread = 45.0 -flatness = 0.0 -gravity = Vector3( 0, 0, 0 ) -initial_velocity = 1.0 -initial_velocity_random = 0.0 -angular_velocity = 1.56945e-43 -angular_velocity_random = 0.0 -orbit_velocity = 0.0 -orbit_velocity_random = 0.0 -linear_accel = 0.0 -linear_accel_random = 0.0 -radial_accel = 0.0 -radial_accel_random = 0.0 -tangential_accel = 0.0 -tangential_accel_random = 0.0 -damping = 0.0 -damping_random = 0.0 -angle = 0.0 -angle_random = 0.0 -scale = 1.0 -scale_random = 0.0 -scale_curve = SubResource( 6 ) -color_ramp = SubResource( 4 ) -hue_variation = 0.0 -hue_variation_random = 0.0 -anim_speed = 0.0 -anim_speed_random = 0.0 -anim_offset = 0.0 -anim_offset_random = 0.0 -anim_loop = false -_sections_unfolded = [ "Color", "Gravity", "Scale" ] +radius = 27.5526 +height = 13.2269 [node name="Player" type="Area2D"] +script = ExtResource( 5 ) -input_pickable = true -gravity_vec = Vector2( 0, 1 ) -gravity = 98.0 -linear_damp = 0.1 -angular_damp = 1.0 -audio_bus_override = false -audio_bus_name = "Master" -script = ExtResource( 1 ) -_sections_unfolded = [ "Transform" ] -__meta__ = { -"_edit_group_": true -} -SPEED = 400 - -[node name="AnimatedSprite" type="AnimatedSprite" parent="." index="0"] - +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] scale = Vector2( 0.5, 0.5 ) frames = SubResource( 1 ) -animation = "right" -_sections_unfolded = [ "Region", "Transform", "Z" ] - -[node name="Collision" type="CollisionShape2D" parent="." index="1"] +animation = "walk" +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource( 2 ) - -[node name="Trail" type="Particles2D" parent="." index="2"] - -show_behind_parent = true -emitting = true -amount = 10 -lifetime = 1.0 -one_shot = false -preprocess = 0.0 -speed_scale = 2.0 -explosiveness = 0.0 -randomness = 0.0 -fixed_fps = 0 -fract_delta = true -visibility_rect = Rect2( -100, -100, 200, 200 ) -local_coords = false -draw_order = 0 -process_material = SubResource( 7 ) -texture = ExtResource( 4 ) -normal_map = null -h_frames = 1 -v_frames = 1 -_sections_unfolded = [ "Drawing", "Process Material", "Textures", "Time", "Transform", "Visibility" ] - [connection signal="body_entered" from="." to="." method="_on_Player_body_entered"] - - diff --git a/art/House In a Forest Loop.ogg.import b/art/House In a Forest Loop.ogg.import deleted file mode 100644 index 02be234..0000000 --- a/art/House In a Forest Loop.ogg.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="ogg_vorbis" -type="AudioStreamOGGVorbis" -path="res://.import/House In a Forest Loop.ogg-1a6a72ae843ad792b7039931227e8d50.oggstr" - -[deps] - -source_md5="c395b0cc351a71713417cf862282849f" - -[params] - -loop=true -loop_offset=0 diff --git a/art/gameover.wav.import b/art/gameover.wav.import deleted file mode 100644 index 6c6c4ab..0000000 --- a/art/gameover.wav.import +++ /dev/null @@ -1,20 +0,0 @@ -[remap] - -importer="wav" -type="AudioStreamSample" -path="res://.import/gameover.wav-98c95c744b35280048c2bd093cf8a356.sample" - -[deps] - -source_md5="fe94a3a7558cff917a5500a1298fdcac" - -[params] - -force/8_bit=false -force/mono=false -force/max_rate=false -force/max_rate_hz=44100 -edit/trim=true -edit/normalize=true -edit/loop=false -compress/mode=0 diff --git a/art/playerGrey_walk2.png.import b/art/playerGrey_walk2.png.import deleted file mode 100644 index 2e2a532..0000000 --- a/art/playerGrey_walk2.png.import +++ /dev/null @@ -1,28 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/playerGrey_walk2.png-34d2d916366100182d08037c51884043.stex" - -[deps] - -source_md5="9fc73e1224a6b16d8fb5d0f667e3aed2" - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=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 -stream=false -size_limit=0 -detect_3d=false -svg/scale=1.0 diff --git a/art/set3_tiles.png b/art/set3_tiles.png deleted file mode 100755 index 86d21c5..0000000 Binary files a/art/set3_tiles.png and /dev/null differ diff --git a/art/set3_tiles.png.import b/art/set3_tiles.png.import deleted file mode 100644 index 7bbd770..0000000 --- a/art/set3_tiles.png.import +++ /dev/null @@ -1,28 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/set3_tiles.png-7dd06b1fc0bcfaa06e9dd732f61382a2.stex" - -[deps] - -source_md5="eef34d896b231438a2d97707c0ab06a2" - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=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 -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/default_env.tres b/default_env.tres index 3f3eb24..20207a4 100644 --- a/default_env.tres +++ b/default_env.tres @@ -2,101 +2,6 @@ [sub_resource type="ProceduralSky" id=1] -radiance_size = 4 -sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 ) -sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 ) -sky_curve = 0.25 -sky_energy = 1.0 -ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 ) -ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 ) -ground_curve = 0.01 -ground_energy = 1.0 -sun_color = Color( 1, 1, 1, 1 ) -sun_latitude = 35.0 -sun_longitude = 0.0 -sun_angle_min = 1.0 -sun_angle_max = 100.0 -sun_curve = 0.05 -sun_energy = 16.0 -texture_size = 2 - [resource] - background_mode = 2 background_sky = SubResource( 1 ) -background_sky_custom_fov = 0.0 -background_color = Color( 0, 0, 0, 1 ) -background_energy = 1.0 -background_canvas_max_layer = 0 -ambient_light_color = Color( 0, 0, 0, 1 ) -ambient_light_energy = 1.0 -ambient_light_sky_contribution = 0.0 -fog_enabled = false -fog_color = Color( 0.5, 0.6, 0.7, 1 ) -fog_sun_color = Color( 1, 0.9, 0.7, 1 ) -fog_sun_amount = 0.0 -fog_depth_enabled = true -fog_depth_begin = 10.0 -fog_depth_curve = 1.0 -fog_transmit_enabled = false -fog_transmit_curve = 1.0 -fog_height_enabled = false -fog_height_min = 0.0 -fog_height_max = 100.0 -fog_height_curve = 1.0 -tonemap_mode = 0 -tonemap_exposure = 1.0 -tonemap_white = 1.0 -auto_exposure_enabled = false -auto_exposure_scale = 0.4 -auto_exposure_min_luma = 0.05 -auto_exposure_max_luma = 8.0 -auto_exposure_speed = 0.5 -ss_reflections_enabled = false -ss_reflections_max_steps = 64 -ss_reflections_fade_in = 0.15 -ss_reflections_fade_out = 2.0 -ss_reflections_depth_tolerance = 0.2 -ss_reflections_roughness = true -ssao_enabled = false -ssao_radius = 1.0 -ssao_intensity = 1.0 -ssao_radius2 = 0.0 -ssao_intensity2 = 1.0 -ssao_bias = 0.01 -ssao_light_affect = 0.0 -ssao_color = Color( 0, 0, 0, 1 ) -ssao_quality = 0 -ssao_blur = 1 -ssao_edge_sharpness = 4.0 -dof_blur_far_enabled = false -dof_blur_far_distance = 10.0 -dof_blur_far_transition = 5.0 -dof_blur_far_amount = 0.1 -dof_blur_far_quality = 1 -dof_blur_near_enabled = false -dof_blur_near_distance = 2.0 -dof_blur_near_transition = 1.0 -dof_blur_near_amount = 0.1 -dof_blur_near_quality = 1 -glow_enabled = false -glow_levels/1 = false -glow_levels/2 = false -glow_levels/3 = true -glow_levels/4 = false -glow_levels/5 = true -glow_levels/6 = false -glow_levels/7 = false -glow_intensity = 0.8 -glow_strength = 1.0 -glow_bloom = 0.0 -glow_blend_mode = 2 -glow_hdr_threshold = 1.0 -glow_hdr_scale = 2.0 -glow_bicubic_upscale = false -adjustment_enabled = false -adjustment_brightness = 1.0 -adjustment_contrast = 1.0 -adjustment_saturation = 1.0 -_sections_unfolded = [ "Background" ] - diff --git a/art/House In a Forest Loop.ogg b/dodge_assets/art/House In a Forest Loop.ogg similarity index 100% rename from art/House In a Forest Loop.ogg rename to dodge_assets/art/House In a Forest Loop.ogg diff --git a/dodge_assets/art/House In a Forest Loop.ogg.import b/dodge_assets/art/House In a Forest Loop.ogg.import new file mode 100644 index 0000000..5cfc93a --- /dev/null +++ b/dodge_assets/art/House In a Forest Loop.ogg.import @@ -0,0 +1,15 @@ +[remap] + +importer="ogg_vorbis" +type="AudioStreamOGGVorbis" +path="res://.import/House In a Forest Loop.ogg-15353d07d5f5f0a62488c67fbd240b2c.oggstr" + +[deps] + +source_file="res://dodge_assets/art/House In a Forest Loop.ogg" +dest_files=[ "res://.import/House In a Forest Loop.ogg-15353d07d5f5f0a62488c67fbd240b2c.oggstr" ] + +[params] + +loop=true +loop_offset=0 diff --git a/art/enemyFlyingAlt_1.png b/dodge_assets/art/enemyFlyingAlt_1.png similarity index 100% rename from art/enemyFlyingAlt_1.png rename to dodge_assets/art/enemyFlyingAlt_1.png diff --git a/art/enemyFlyingAlt_1.png.import b/dodge_assets/art/enemyFlyingAlt_1.png.import similarity index 52% rename from art/enemyFlyingAlt_1.png.import rename to dodge_assets/art/enemyFlyingAlt_1.png.import index bd43330..ad1f58d 100644 --- a/art/enemyFlyingAlt_1.png.import +++ b/dodge_assets/art/enemyFlyingAlt_1.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemyFlyingAlt_1.png-559f599b16c69b112c1b53f6332e9489.stex" +path="res://.import/enemyFlyingAlt_1.png-8ce33154da28e8b2ed50a7dc36947f78.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="64d9fdc23f76112a64a283673e3fd8dd" +source_file="res://dodge_assets/art/enemyFlyingAlt_1.png" +dest_files=[ "res://.import/enemyFlyingAlt_1.png-8ce33154da28e8b2ed50a7dc36947f78.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/enemyFlyingAlt_2.png b/dodge_assets/art/enemyFlyingAlt_2.png similarity index 100% rename from art/enemyFlyingAlt_2.png rename to dodge_assets/art/enemyFlyingAlt_2.png diff --git a/art/enemyFlyingAlt_2.png.import b/dodge_assets/art/enemyFlyingAlt_2.png.import similarity index 52% rename from art/enemyFlyingAlt_2.png.import rename to dodge_assets/art/enemyFlyingAlt_2.png.import index 802e4f6..872eaa4 100644 --- a/art/enemyFlyingAlt_2.png.import +++ b/dodge_assets/art/enemyFlyingAlt_2.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemyFlyingAlt_2.png-31dc7310eda6e1b721224f3cd932c076.stex" +path="res://.import/enemyFlyingAlt_2.png-be7282dd710ae3e7352a204ef2815099.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="5281b0d2b947deb09cbf95ecf9628ae7" +source_file="res://dodge_assets/art/enemyFlyingAlt_2.png" +dest_files=[ "res://.import/enemyFlyingAlt_2.png-be7282dd710ae3e7352a204ef2815099.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/enemySwimming_1.png b/dodge_assets/art/enemySwimming_1.png similarity index 100% rename from art/enemySwimming_1.png rename to dodge_assets/art/enemySwimming_1.png diff --git a/art/enemySwimming_1.png.import b/dodge_assets/art/enemySwimming_1.png.import similarity index 52% rename from art/enemySwimming_1.png.import rename to dodge_assets/art/enemySwimming_1.png.import index fc3e93d..9dd572e 100644 --- a/art/enemySwimming_1.png.import +++ b/dodge_assets/art/enemySwimming_1.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemySwimming_1.png-dd0e11759dc3d624c8a704f6e98a3d80.stex" +path="res://.import/enemySwimming_1.png-33cae58fcd6340a8a651c923413ba316.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="5e557d1bd564dd553650de1c38746ed9" +source_file="res://dodge_assets/art/enemySwimming_1.png" +dest_files=[ "res://.import/enemySwimming_1.png-33cae58fcd6340a8a651c923413ba316.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/enemySwimming_2.png b/dodge_assets/art/enemySwimming_2.png similarity index 100% rename from art/enemySwimming_2.png rename to dodge_assets/art/enemySwimming_2.png diff --git a/art/enemySwimming_2.png.import b/dodge_assets/art/enemySwimming_2.png.import similarity index 52% rename from art/enemySwimming_2.png.import rename to dodge_assets/art/enemySwimming_2.png.import index a8474ea..82e8153 100644 --- a/art/enemySwimming_2.png.import +++ b/dodge_assets/art/enemySwimming_2.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemySwimming_2.png-4c0cbc0732264c4ea3290340bd4a0a62.stex" +path="res://.import/enemySwimming_2.png-1c762c061d47df2dcad64b64bca7e6a3.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="d04b001ba2f4ac6884fdbe44b55fa656" +source_file="res://dodge_assets/art/enemySwimming_2.png" +dest_files=[ "res://.import/enemySwimming_2.png-1c762c061d47df2dcad64b64bca7e6a3.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/enemyWalking_1.png b/dodge_assets/art/enemyWalking_1.png similarity index 100% rename from art/enemyWalking_1.png rename to dodge_assets/art/enemyWalking_1.png diff --git a/art/enemyWalking_1.png.import b/dodge_assets/art/enemyWalking_1.png.import similarity index 53% rename from art/enemyWalking_1.png.import rename to dodge_assets/art/enemyWalking_1.png.import index f5fdba9..74dd8fd 100644 --- a/art/enemyWalking_1.png.import +++ b/dodge_assets/art/enemyWalking_1.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemyWalking_1.png-5af6eedbe61b701677d490ffdc1e6471.stex" +path="res://.import/enemyWalking_1.png-d5ceaabc18541872d02c2adc056b0eb2.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="0e417b74e72f5d8f4aca0e557a735643" +source_file="res://dodge_assets/art/enemyWalking_1.png" +dest_files=[ "res://.import/enemyWalking_1.png-d5ceaabc18541872d02c2adc056b0eb2.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/enemyWalking_2.png b/dodge_assets/art/enemyWalking_2.png similarity index 100% rename from art/enemyWalking_2.png rename to dodge_assets/art/enemyWalking_2.png diff --git a/art/enemyWalking_2.png.import b/dodge_assets/art/enemyWalking_2.png.import similarity index 53% rename from art/enemyWalking_2.png.import rename to dodge_assets/art/enemyWalking_2.png.import index d3791bf..1bc1879 100644 --- a/art/enemyWalking_2.png.import +++ b/dodge_assets/art/enemyWalking_2.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/enemyWalking_2.png-67c480ed60c35e95f5acb0436246b935.stex" +path="res://.import/enemyWalking_2.png-fc49f5822684b236d46b24c810deb46c.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="838f40a8b77a0cb387dc5e5aff6bd8d5" +source_file="res://dodge_assets/art/enemyWalking_2.png" +dest_files=[ "res://.import/enemyWalking_2.png-fc49f5822684b236d46b24c810deb46c.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/gameover.wav b/dodge_assets/art/gameover.wav similarity index 100% rename from art/gameover.wav rename to dodge_assets/art/gameover.wav diff --git a/dodge_assets/art/gameover.wav.import b/dodge_assets/art/gameover.wav.import new file mode 100644 index 0000000..d966395 --- /dev/null +++ b/dodge_assets/art/gameover.wav.import @@ -0,0 +1,21 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/gameover.wav-f17e431e43fed25e461f245e51aef463.sample" + +[deps] + +source_file="res://dodge_assets/art/gameover.wav" +dest_files=[ "res://.import/gameover.wav-f17e431e43fed25e461f245e51aef463.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=false +compress/mode=0 diff --git a/art/playerGrey_up1.png b/dodge_assets/art/playerGrey_up1.png similarity index 100% rename from art/playerGrey_up1.png rename to dodge_assets/art/playerGrey_up1.png diff --git a/art/playerGrey_up1.png.import b/dodge_assets/art/playerGrey_up1.png.import similarity index 53% rename from art/playerGrey_up1.png.import rename to dodge_assets/art/playerGrey_up1.png.import index 97cbd23..7572695 100644 --- a/art/playerGrey_up1.png.import +++ b/dodge_assets/art/playerGrey_up1.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/playerGrey_up1.png-6bd114d0a6beac91f48e3a7314d44564.stex" +path="res://.import/playerGrey_up1.png-6058387b3fb6e7f778644e8ad3aadab4.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="f84241d41055080a3393c9a8619f172b" +source_file="res://dodge_assets/art/playerGrey_up1.png" +dest_files=[ "res://.import/playerGrey_up1.png-6058387b3fb6e7f778644e8ad3aadab4.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/playerGrey_up2.png b/dodge_assets/art/playerGrey_up2.png similarity index 100% rename from art/playerGrey_up2.png rename to dodge_assets/art/playerGrey_up2.png diff --git a/art/playerGrey_up2.png.import b/dodge_assets/art/playerGrey_up2.png.import similarity index 53% rename from art/playerGrey_up2.png.import rename to dodge_assets/art/playerGrey_up2.png.import index 3d7d9a5..180daad 100644 --- a/art/playerGrey_up2.png.import +++ b/dodge_assets/art/playerGrey_up2.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/playerGrey_up2.png-d6aba85f5f2675ebc7045efa7552ee79.stex" +path="res://.import/playerGrey_up2.png-ce6a77241b62c89872671e4fbb407d97.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="57618c302a312d248705c7f045978765" +source_file="res://dodge_assets/art/playerGrey_up2.png" +dest_files=[ "res://.import/playerGrey_up2.png-ce6a77241b62c89872671e4fbb407d97.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/playerGrey_walk1.png b/dodge_assets/art/playerGrey_walk1.png similarity index 100% rename from art/playerGrey_walk1.png rename to dodge_assets/art/playerGrey_walk1.png diff --git a/art/playerGrey_walk1.png.import b/dodge_assets/art/playerGrey_walk1.png.import similarity index 52% rename from art/playerGrey_walk1.png.import rename to dodge_assets/art/playerGrey_walk1.png.import index 6c70041..a7dc438 100644 --- a/art/playerGrey_walk1.png.import +++ b/dodge_assets/art/playerGrey_walk1.png.import @@ -2,26 +2,32 @@ importer="texture" type="StreamTexture" -path="res://.import/playerGrey_walk1.png-c4773fe7a7bf85d7ab732eb4458c2742.stex" +path="res://.import/playerGrey_walk1.png-3c93e21e37ad441f9a424fb92289371b.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="7892ed98ba910fbda0d37266127e96bb" +source_file="res://dodge_assets/art/playerGrey_walk1.png" +dest_files=[ "res://.import/playerGrey_walk1.png-3c93e21e37ad441f9a424fb92289371b.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/filter=true 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 stream=false size_limit=0 detect_3d=true diff --git a/art/playerGrey_walk2.png b/dodge_assets/art/playerGrey_walk2.png similarity index 100% rename from art/playerGrey_walk2.png rename to dodge_assets/art/playerGrey_walk2.png diff --git a/dodge_assets/art/playerGrey_walk2.png.import b/dodge_assets/art/playerGrey_walk2.png.import new file mode 100644 index 0000000..b136aad --- /dev/null +++ b/dodge_assets/art/playerGrey_walk2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/playerGrey_walk2.png-d4bccfc502d1b7b254a59c3b4a7b2d0b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://dodge_assets/art/playerGrey_walk2.png" +dest_files=[ "res://.import/playerGrey_walk2.png-d4bccfc502d1b7b254a59c3b4a7b2d0b.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=true +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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/fonts/FONTLOG.txt b/dodge_assets/fonts/FONTLOG.txt old mode 100755 new mode 100644 similarity index 100% rename from fonts/FONTLOG.txt rename to dodge_assets/fonts/FONTLOG.txt diff --git a/fonts/LICENSE.txt b/dodge_assets/fonts/LICENSE.txt similarity index 100% rename from fonts/LICENSE.txt rename to dodge_assets/fonts/LICENSE.txt diff --git a/fonts/Xolonium-Regular.ttf b/dodge_assets/fonts/Xolonium-Regular.ttf similarity index 100% rename from fonts/Xolonium-Regular.ttf rename to dodge_assets/fonts/Xolonium-Regular.ttf diff --git a/icon.png b/icon.png index 4a40f37..c98fbb6 100644 Binary files a/icon.png and b/icon.png differ diff --git a/icon.png.import b/icon.png.import index b5d423d..96cbf46 100644 --- a/icon.png.import +++ b/icon.png.import @@ -3,16 +3,21 @@ importer="texture" type="StreamTexture" path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" +metadata={ +"vram_texture": false +} [deps] -source_md5="7b0d811088c13a3b6d79f9895b9f2935" +source_file="res://icon.png" +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.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=true @@ -22,6 +27,7 @@ flags/srgb=2 process/fix_alpha_border=true process/premult_alpha=false process/HDR_as_SRGB=false +process/invert_color=false stream=false size_limit=0 detect_3d=true diff --git a/project.godot b/project.godot index 5073e1c..8afde57 100644 --- a/project.godot +++ b/project.godot @@ -6,11 +6,16 @@ ; [section] ; section goes between [] ; param=value ; assign values to parameters -config_version=3 +config_version=4 + +_global_script_classes=[ ] +_global_script_class_icons={ + +} [application] -config/name="Dodge the Creeps" +config/name="dodge_3.2x" run/main_scene="res://Main.tscn" config/icon="res://icon.png" @@ -18,11 +23,6 @@ config/icon="res://icon.png" window/size/width=480 window/size/height=720 -window/size/resizable=false - -[gdnative] - -singletons=[ ] [rendering]