From d81e1430845762344dfc5fffa7a86eba418e1c0f Mon Sep 17 00:00:00 2001 From: Luna Date: Mon, 5 Mar 2018 00:44:45 -0500 Subject: [PATCH 01/72] Move to new server --- scripts/lobby.gd | 5 +---- util/server.sh | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/lobby.gd b/scripts/lobby.gd index 1c25097..0f600fb 100644 --- a/scripts/lobby.gd +++ b/scripts/lobby.gd @@ -1,10 +1,7 @@ extends "res://scripts/args.gd" -# class member variables go here, for example: -# var a = 2 -# var b = "textvar" var SERVER_PORT = 54672 -var MAX_PLAYERS = 10 +var MAX_PLAYERS = 50 var player_info = {} var my_info = {} diff --git a/util/server.sh b/util/server.sh index 9959782..d172ca6 100644 --- a/util/server.sh +++ b/util/server.sh @@ -1,2 +1,2 @@ -godot-server -level=2 -silent -server -start-game +godot -level=2 -silent -server -start-game From f5a2897fce5facb22853ee60de1cec4f48987fcc Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 01:30:22 -0400 Subject: [PATCH 02/72] Fix comma unrecognized on Windows --- project.godot | 1 + 1 file changed, 1 insertion(+) diff --git a/project.godot b/project.godot index 8aff89d..5d463ae 100644 --- a/project.godot +++ b/project.godot @@ -21,6 +21,7 @@ util="*res://scripts/util.gd" [input] move_forwards=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":44,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":58,"unicode":0,"echo":false,"script":null) ] move_backwards=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":79,"unicode":0,"echo":false,"script":null) ] From 746cc6a8bae77374db3ff51ef7cbaa4534331d1e Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 01:32:39 -0400 Subject: [PATCH 03/72] Fix typos in documentation --- README.md | 2 +- project.godot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1b3da87..7c21708 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Ideas for Heroes: - Boost - Area of effect or zarya-like cast, speeds people up - Flop - Changes side of see-saw for each team (should it be mechanic instead??) - Build - Build Zineth-like rails for anyone to use - - (Combine with Ira?) Portal 2-like gels (bounce, speed, slow?) + - (Combine with IRA?) Portal 2-like gels (bounce, speed, slow?) - (Combine with LUSSURIA?) Hook and swing on terrain - More offensive - Lay traps diff --git a/project.godot b/project.godot index 5d463ae..65f6f01 100644 --- a/project.godot +++ b/project.godot @@ -10,7 +10,7 @@ config_version=3 [application] -config/name="mv-moba" +config/name="nv-moba" run/main_scene="res://scenes/lobby.tscn" config/icon="res://icon.png" From 3cf1da90f8f94ca5c78985bcecc51590f7e57e31 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 01:34:18 -0400 Subject: [PATCH 04/72] Allow Hero 0 to increase their speed with E --- project.godot | 4 ++++ scripts/heroes/0.gd | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/project.godot b/project.godot index 65f6f01..d27d38e 100644 --- a/project.godot +++ b/project.godot @@ -55,6 +55,10 @@ hero_5_confirm_portal=[ Object(InputEventMouseButton,"resource_local_to_scene":f ] hero_5_remove_portal=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null) ] +primary_action=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":46,"unicode":0,"echo":false,"script":null) + ] +hero_0_boost=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) + ] [rendering] diff --git a/scripts/heroes/0.gd b/scripts/heroes/0.gd index 83736e6..7a154be 100644 --- a/scripts/heroes/0.gd +++ b/scripts/heroes/0.gd @@ -12,15 +12,26 @@ var wallride_forgiveness = .3 func _ready(): ._ready() walk_speed *= 0.8 - air_accel *= 2 + air_accel *= 1.5 jump_speed *= 1 air_speed_build *= 2 # Since movement is the only ability of this hero, it builds charge more movement_charge *= 2 func control_player(state): + var original_speed = walk_speed + var original_accel = air_accel + var boost_strength = 2 + var boost_drain = 25 # Recall increased charge must be factored in + var cost = boost_drain * state.step + if Input.is_action_pressed("primary_action") and switch_charge > cost: + walk_speed *= 2 + air_accel *= 2 + switch_charge -= cost .control_player(state) wallride(state) + walk_speed = original_speed + air_accel = original_accel func wallride(state): From ba1a3de901ae8e2846e8a9fed13603d4d74e3f9a Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 01:34:45 -0400 Subject: [PATCH 05/72] Fix error on hero select before server join --- scripts/lobby.gd | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lobby.gd b/scripts/lobby.gd index 33b258b..cf8000a 100644 --- a/scripts/lobby.gd +++ b/scripts/lobby.gd @@ -12,6 +12,7 @@ var begun = false var server_playing = true var global_server_ip = "nv.cosinegaming.com" var players_done = [] +var is_connected = false # Technically this can be done with ENetcetera but it's easier this way func setup_options(): var opts = Options.new() @@ -110,6 +111,7 @@ func _server_init(): var peer = NetworkedMultiplayerENet.new() peer.create_server(SERVER_PORT, MAX_PLAYERS) get_tree().set_network_peer(peer) + is_connected = true get_node("CustomGame/Server").set_text("Serving!") get_node("JoinedGameLobby").show() if server_playing: @@ -128,6 +130,7 @@ func _connected_ok(): if "start_game" in my_info and my_info.start_game: rpc_id(1, "start_game") get_node("JoinedGameLobby").show() + is_connected = true func collect_info(): if not "username" in my_info: @@ -177,7 +180,8 @@ sync func unregister_player(peer): func select_hero(hero): var description = get_node("PlayerSettings/HeroSelect").hero_text[hero] get_node("PlayerSettings/HeroDescription").set_text(description) - rpc("set_hero", get_tree().get_network_unique_id(), hero) + if is_connected: + rpc("set_hero", get_tree().get_network_unique_id(), hero) sync func set_hero(peer, hero): player_info[peer].hero = hero From ccb2411ecbf652a16643e2ad5b8d025d7525c02e Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 02:40:16 -0400 Subject: [PATCH 06/72] Allow PAZIENZIA to delet buildings with charge --- project.godot | 2 +- scripts/hero_select.gd | 4 ++-- scripts/heroes/4.gd | 7 +++++++ scripts/placeable.gd | 5 +++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/project.godot b/project.godot index d27d38e..1c15ea6 100644 --- a/project.godot +++ b/project.godot @@ -55,7 +55,7 @@ hero_5_confirm_portal=[ Object(InputEventMouseButton,"resource_local_to_scene":f ] hero_5_remove_portal=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":2,"pressed":false,"doubleclick":false,"script":null) ] -primary_action=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":46,"unicode":0,"echo":false,"script":null) +primary_ability=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":46,"unicode":0,"echo":false,"script":null) ] hero_0_boost=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) ] diff --git a/scripts/hero_select.gd b/scripts/hero_select.gd index a3d6cc7..3b998d3 100644 --- a/scripts/hero_select.gd +++ b/scripts/hero_select.gd @@ -10,11 +10,11 @@ const hero_names = [ ] const hero_text = [ - "DILIGENCE.\n\nWallride by jumping on walls.\n\nYour speed builds immensely as your Switch Charge increases.", + "DILIGENCE.\n\nWallride by jumping on walls.\n\nHold left click to go faster (but spend switch charge).", "WRATH.\n\nPress E and click (or just click) to build a wall.\n\nRight click to destroy one.", "LUST.\n\nYou attract nearby heroes.\n\nPress E to switch to repelling them.", "GENEROSITY.\n\nMake contact with a friend to boost their speed.\n\nPress E to separate.", - "PATIENCE.\n\nHold left mouse button on an enemy to slow them down.", + "PATIENCE.\n\nHold left mouse button on an enemy to slow them down.\n\nPress E to delete someone else's building (costs charge).", "PRIDE.\n\nClick to build portal. Click again to build its partner.\n\nYou can build multiple portal sets.", ] diff --git a/scripts/heroes/4.gd b/scripts/heroes/4.gd index 478f4ed..77899f7 100644 --- a/scripts/heroes/4.gd +++ b/scripts/heroes/4.gd @@ -28,6 +28,13 @@ func _process(delta): get_node("TPCamera").cam_view_sensitivity *= sens_factor get_node("TPCamera").cam_smooth_movement = true + if Input.is_action_just_pressed("primary_ability"): + var look_ray = get_node("TPCamera/Camera/Ray") + var looking_at = look_ray.get_collider() + if looking_at.has_method("destroy"): + if switch_charge > looking_at.destroy_cost: + switch_charge -= looking_at.destroy() + if stun: var players = get_node("/root/Level/Players").get_children() var player = pick_from(players) diff --git a/scripts/placeable.gd b/scripts/placeable.gd index 97e350a..a842de4 100644 --- a/scripts/placeable.gd +++ b/scripts/placeable.gd @@ -2,6 +2,7 @@ extends StaticBody var maker_node var material +var destroy_cost = 20 func _ready(): get_node("CollisionShape").disabled = true @@ -21,6 +22,10 @@ func place(): get_node("CollisionShape").disabled = false material.flags_transparent = false +func destroy(): + queue_free() + return destroy_cost + func make_last(): material.flags_transparent = true material.albedo_color.a = 0.9 From fc262870c41a6f7344d9a54d70d3ada63471e6ec Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 04:10:19 -0400 Subject: [PATCH 07/72] [Hero 5] Add ability: drag enemies in a direction The impulse is fairly weak, but it has no cooldown (of course). As long as you can reliably click on them, you can keep dragging them around. This builds charge. Portal now COSTS charge, rather than gaining it, so that you bully people until you can build a portal. --- project.godot | 2 ++ scripts/hero_select.gd | 2 +- scripts/heroes/0.gd | 2 +- scripts/heroes/1_wall.gd | 4 ++-- scripts/heroes/4.gd | 3 +-- scripts/heroes/5.gd | 37 +++++++++++++++++++++++++++++++++++-- scripts/heroes/5_portal.gd | 26 ++++++++++++-------------- scripts/placeable.gd | 6 ++++-- scripts/placement.gd | 13 +++++++------ scripts/player.gd | 20 ++++++++++++++++---- 10 files changed, 81 insertions(+), 34 deletions(-) diff --git a/project.godot b/project.godot index 1c15ea6..53fc327 100644 --- a/project.godot +++ b/project.godot @@ -59,6 +59,8 @@ primary_ability=[ Object(InputEventKey,"resource_local_to_scene":false,"resource ] hero_0_boost=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) ] +primary_mouse=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) + ] [rendering] diff --git a/scripts/hero_select.gd b/scripts/hero_select.gd index 3b998d3..5fd34df 100644 --- a/scripts/hero_select.gd +++ b/scripts/hero_select.gd @@ -15,7 +15,7 @@ const hero_text = [ "LUST.\n\nYou attract nearby heroes.\n\nPress E to switch to repelling them.", "GENEROSITY.\n\nMake contact with a friend to boost their speed.\n\nPress E to separate.", "PATIENCE.\n\nHold left mouse button on an enemy to slow them down.\n\nPress E to delete someone else's building (costs charge).", - "PRIDE.\n\nClick to build portal. Click again to build its partner.\n\nYou can build multiple portal sets.", + "PRIDE.\n\nDrag on enemies to bully them around.\n\nClick to build a portal. Click again to build its partner (costs charge).", ] func _ready(): diff --git a/scripts/heroes/0.gd b/scripts/heroes/0.gd index 7a154be..db67e4b 100644 --- a/scripts/heroes/0.gd +++ b/scripts/heroes/0.gd @@ -24,7 +24,7 @@ func control_player(state): var boost_strength = 2 var boost_drain = 25 # Recall increased charge must be factored in var cost = boost_drain * state.step - if Input.is_action_pressed("primary_action") and switch_charge > cost: + if Input.is_action_pressed("hero_0_boost") and switch_charge > cost: walk_speed *= 2 air_accel *= 2 switch_charge -= cost diff --git a/scripts/heroes/1_wall.gd b/scripts/heroes/1_wall.gd index f359e33..9c87f84 100644 --- a/scripts/heroes/1_wall.gd +++ b/scripts/heroes/1_wall.gd @@ -7,7 +7,7 @@ func _process(delta): if being_touched > 0: maker_node.switch_charge += touch_charge * delta -func init(maker): +func init(maker, index): for player in get_node("/root/Level/Players").get_children(): player.connect("body_entered", self, "count_bodies", [player, 1]) @@ -27,7 +27,7 @@ func init(maker): mat.albedo_color = color get_node("MeshInstance").set_surface_material(0, mat) - .init(maker) + .init(maker, index) func count_bodies(with, player, delta): if with == self: diff --git a/scripts/heroes/4.gd b/scripts/heroes/4.gd index 77899f7..0a5a89f 100644 --- a/scripts/heroes/4.gd +++ b/scripts/heroes/4.gd @@ -29,8 +29,7 @@ func _process(delta): get_node("TPCamera").cam_smooth_movement = true if Input.is_action_just_pressed("primary_ability"): - var look_ray = get_node("TPCamera/Camera/Ray") - var looking_at = look_ray.get_collider() + var looking_at = pick() if looking_at.has_method("destroy"): if switch_charge > looking_at.destroy_cost: switch_charge -= looking_at.destroy() diff --git a/scripts/heroes/5.gd b/scripts/heroes/5.gd index ebf9d11..dc53a2d 100644 --- a/scripts/heroes/5.gd +++ b/scripts/heroes/5.gd @@ -6,6 +6,12 @@ var radius = 15 # The spaces make the bracket centered, rather than on of the dots var first_crosshair = " [..." var second_crosshair = "...] " +var no_portal_crosshair = "+" +var portal_cost = 20 + +var flicking = null +var flick_charge = 3 +var flick_strength = 4 # --- Godot overrides --- @@ -17,10 +23,30 @@ func _ready(): func _process(delta): if is_network_master(): - placement.place_input(radius) var is_second = placement.placed.size() % 2 != 0 - var crosshair = second_crosshair if is_second else first_crosshair + var portal_crosshair = second_crosshair if is_second else first_crosshair + var crosshair = no_portal_crosshair if switch_charge < portal_cost else portal_crosshair get_node("MasterOnly/Crosshair").set_text(crosshair) + if switch_charge > portal_cost or is_second: + if placement.place_input(radius, true) and is_second: + switch_charge -= portal_cost + + if Input.is_action_just_pressed("primary_mouse"): + var pick = pick_by_friendly(false) + if pick: + flicking = pick + if flicking and Input.is_action_just_released("primary_mouse"): + var aim = get_node("Yaw/Pitch").get_global_transform().basis + var forwards = -aim[2] + var distance = (flicking.translation - translation).length() + forwards *= distance + var towards = translation + forwards + var gravity = PhysicsServer.area_get_param(get_world().get_space(), PhysicsServer.AREA_PARAM_GRAVITY_VECTOR) + # Automatically account for gravity, so as to make UI more intuitive + towards -= gravity + rpc("flick", flicking.get_name(), towards) + flicking = null + switch_charge += flick_charge func _exit_tree(): ._exit_tree() @@ -31,3 +57,10 @@ func _exit_tree(): # --- Own --- +sync func flick(player_id, towards): + var who = $"/root/Level/Players".get_node(player_id) + if who.is_network_master(): + var direction = towards - who.translation + var impulse = direction.normalized() * flick_strength * who.get_mass() + who.apply_impulse(Vector3(), impulse) + diff --git a/scripts/heroes/5_portal.gd b/scripts/heroes/5_portal.gd index 92fcdaa..239e6ea 100644 --- a/scripts/heroes/5_portal.gd +++ b/scripts/heroes/5_portal.gd @@ -1,8 +1,7 @@ extends "res://scripts/placeable.gd" -var portal_charge = 15 +var portal_charge = -5 var other -var index var enemy_colors = [ Color("#d14013"), @@ -24,10 +23,8 @@ func _exit_tree(): maker_node.placement.placed.remove(index - 1) other.queue_free() -func init(maker): +func init(maker, index): - var maker_portals = maker.placement.placed - index = maker_portals.size() # No -1, because we haven't actually been added to the array yet # If index is odd, we're the second (1, 3...), if even, first (0, 4...) var second = index % 2 != 0 var is_friend = util.is_friendly(maker) @@ -40,7 +37,7 @@ func init(maker): mat.albedo_color = color get_node("MeshInstance").set_surface_material(0, mat) - .init(maker) + .init(maker, index) func place(): .place() @@ -57,12 +54,13 @@ func player_collided(with, player): func portal(player): if player.player_info.is_right_team == maker_node.player_info.is_right_team: if other: - var spawn_distance = 1.75 - # Find a sane place to spawn - # -Z is in the direction of the portal - # X is enough away from the portal to avoid infinite loop - # With both axes, gravity could never bring us to hit the portal - var to = other.to_global(Vector3(spawn_distance,0,-spawn_distance)) - player.set_translation(to) - maker_node.switch_charge += portal_charge + if maker_node.switch_charge > -portal_charge: + var spawn_distance = 1.75 + # Find a sane place to spawn + # -Z is in the direction of the portal + # X is enough away from the portal to avoid infinite loop + # With both axes, gravity could never bring us to hit the portal + var to = other.to_global(Vector3(spawn_distance,0,-spawn_distance)) + player.set_translation(to) + maker_node.switch_charge += portal_charge diff --git a/scripts/placeable.gd b/scripts/placeable.gd index a842de4..13853d0 100644 --- a/scripts/placeable.gd +++ b/scripts/placeable.gd @@ -3,12 +3,14 @@ extends StaticBody var maker_node var material var destroy_cost = 20 +var index func _ready(): get_node("CollisionShape").disabled = true -func init(maker): +func init(maker, index): maker_node = maker + self.index = index material = get_node("MeshInstance").get_surface_material(0) if not material: @@ -23,7 +25,7 @@ func place(): material.flags_transparent = false func destroy(): - queue_free() + maker_node.placement.remove_placed(index) return destroy_cost func make_last(): diff --git a/scripts/placement.gd b/scripts/placement.gd index 7ca1053..ca4a9e8 100644 --- a/scripts/placement.gd +++ b/scripts/placement.gd @@ -31,12 +31,12 @@ master func request_placed(): for node in placed: rpc_id(get_tree().get_rpc_sender_id(), "slave_place", node.transform) -func place_input(radius=-1): +func place_input(radius=-1, require_ghost=false): # We allow you to just click to place, without needing to press E var confirm = Input.is_action_just_pressed(confirm_action) - if Input.is_action_just_pressed(start_action) or (confirm and not is_placing): + if Input.is_action_just_pressed(start_action) or (confirm and not is_placing and not require_ghost): # Press button twice to cancel if is_placing: # We changed our mind, delete the placing wall @@ -52,7 +52,7 @@ func place_input(radius=-1): if pick != -1: rpc("remove_placed", pick) - if is_placing or confirm: + if is_placing: position_placement(placing_node) if radius > 0: # A radius is specified var distance = placing_node.get_translation() - player.get_translation() @@ -62,10 +62,12 @@ func place_input(radius=-1): else: placing_node.within_range() - if confirm: + if (confirm and not require_ghost) or (confirm and is_placing): # Order matters here: confirm_placement resets placing_node so we have to do anything with it first rpc("slave_place", placing_node.transform) confirm_placement(placing_node) + return true + return false func confirm_placement(node, tf=null): if tf: @@ -130,7 +132,6 @@ sync func remove_placed(index): func create(): var node = scene.instance() player.get_node("/root/Level").add_child(node) - # We have to call_deferred because we're `load`ing instead of `preload`ing. TODO: preload? - node.init(player) + node.init(player, placed.size()) return node diff --git a/scripts/player.gd b/scripts/player.gd index db01723..d375647 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -297,10 +297,22 @@ func quit(): # These aren't used by vanilla player, but are used by heroes in common -func pick_from(group): +func pick(): var look_ray = get_node("TPCamera/Camera/Ray") - var looking_at = look_ray.get_collider() - var result = group.find(looking_at) - return result + return look_ray.get_collider() + +func pick_from(group): + return group.find(pick()) + +func pick_player(): + var players = get_node("/root/Level/Players").get_children() + return players[pick_from(players)] + +func pick_by_friendly(pick_friendlies): + var pick = pick_player() + if (pick.player_info.is_right_team == player_info.is_right_team) == pick_friendlies: + return pick + else: + return null # ========= From 5ef3aa954357cb4cc1d44cd9314a086830ba8f3d Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:28:58 -0400 Subject: [PATCH 08/72] Add icons to show abilities and their charge cost --- scenes/ability_icon.tscn | 146 +++++++++++++++++++++++++++++++++++++++++++++++ scenes/heroes/0.tscn | 21 +++++-- scenes/heroes/4.tscn | 19 +++++- scenes/heroes/5.tscn | 31 +++++++++- scripts/ability_icon.gd | 28 +++++++++ scripts/heroes/4.gd | 17 ++++-- scripts/heroes/5.gd | 2 + 7 files changed, 250 insertions(+), 14 deletions(-) create mode 100644 scenes/ability_icon.tscn create mode 100644 scripts/ability_icon.gd diff --git a/scenes/ability_icon.tscn b/scenes/ability_icon.tscn new file mode 100644 index 0000000..f1e4a25 --- /dev/null +++ b/scenes/ability_icon.tscn @@ -0,0 +1,146 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scripts/ability_icon.gd" type="Script" id=1] + +[sub_resource type="StyleBoxFlat" id=2] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 +bg_color = Color( 0.0297089, 0.230469, 0.206942, 1 ) +draw_center = true +border_width_left = 0 +border_width_top = 0 +border_width_right = 0 +border_width_bottom = 0 +border_color = Color( 0.8, 0.8, 0.8, 1 ) +border_blend = false +corner_radius_top_left = 0 +corner_radius_top_right = 0 +corner_radius_bottom_right = 0 +corner_radius_bottom_left = 0 +corner_detail = 8 +expand_margin_left = 0.0 +expand_margin_right = 0.0 +expand_margin_top = 0.0 +expand_margin_bottom = 0.0 +shadow_color = Color( 0, 0, 0, 0.6 ) +shadow_size = 0 +anti_aliasing = true +anti_aliasing_size = 1 + +[sub_resource type="StyleBoxFlat" id=1] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 +bg_color = Color( 0.73822, 0.921875, 0.814265, 0.403333 ) +draw_center = true +border_width_left = 0 +border_width_top = 0 +border_width_right = 0 +border_width_bottom = 0 +border_color = Color( 0.8, 0.8, 0.8, 1 ) +border_blend = false +corner_radius_top_left = 0 +corner_radius_top_right = 0 +corner_radius_bottom_right = 0 +corner_radius_bottom_left = 0 +corner_detail = 8 +expand_margin_left = 0.0 +expand_margin_right = 0.0 +expand_margin_top = 0.0 +expand_margin_bottom = 0.0 +shadow_color = Color( 0, 0, 0, 0.6 ) +shadow_size = 0 +anti_aliasing = true +anti_aliasing_size = 1 + +[node name="Ability" type="Control"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = -6.0 +margin_top = -4.0 +margin_right = 5.0 +margin_bottom = 5.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 0 +script = ExtResource( 1 ) +cost = 1 +ability_name = "Ability" +display_progress = true + +[node name="Bar" type="ProgressBar" parent="." index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = -20.0 +margin_top = -21.0 +margin_right = 30.0 +margin_bottom = 28.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 0 +custom_styles/fg = SubResource( 2 ) +custom_styles/bg = SubResource( 1 ) +min_value = 0.0 +max_value = 100.0 +step = 1.0 +page = 0.0 +value = 0.0 +exp_edit = false +rounded = false +percent_visible = false + +[node name="Available" type="ColorRect" parent="." index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = -25.0 +margin_top = -26.0 +margin_right = 25.0 +margin_bottom = 23.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 0 +color = Color( 0.347443, 0.898438, 0.549761, 1 ) + +[node name="Name" type="Label" parent="." index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = -65.0 +margin_top = 36.0 +margin_right = 77.0 +margin_bottom = 50.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 2 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 4 +custom_colors/font_color = Color( 0.00357056, 0.0703125, 0.04372, 1 ) +text = "" +align = 1 +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + + diff --git a/scenes/heroes/0.tscn b/scenes/heroes/0.tscn index c6941cf..e43947c 100644 --- a/scenes/heroes/0.tscn +++ b/scenes/heroes/0.tscn @@ -1,11 +1,12 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://scenes/player.tscn" type="PackedScene" id=1] [ext_resource path="res://scripts/heroes/0.gd" type="Script" id=2] [ext_resource path="res://assets/heroes/0_head.obj" type="ArrayMesh" id=3] [ext_resource path="res://assets/heroes/0.obj" type="ArrayMesh" id=4] +[ext_resource path="res://scenes/ability_icon.tscn" type="PackedScene" id=5] -[node name="RigidBody" index="0" instance=ExtResource( 1 )] +[node name="RigidBody" instance=ExtResource( 1 )] script = ExtResource( 2 ) @@ -13,16 +14,28 @@ script = ExtResource( 2 ) transform = Transform( 0.376731, 0, 6.23012e-08, -6.13772e-08, 1.03258e-14, 0.382402, 0, -0.389018, 1.01502e-14, 0, 0.104562, -0.0173855 ) mesh = ExtResource( 3 ) -material/0 = null [node name="MainMesh" parent="Yaw" index="1"] transform = Transform( 0.409321, 0, 0, 0, -7.39614e-08, -0.453971, 0, 0.389055, -6.33852e-08, 0.0432051, 0.588691, 0.0666541 ) mesh = ExtResource( 4 ) -material/0 = null [node name="Crosshair" parent="MasterOnly" index="0"] text = "" +[node name="ProgressBar" parent="MasterOnly" index="1" instance=ExtResource( 5 )] + +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -91.0 +margin_top = -118.0 +margin_right = -80.0 +margin_bottom = -109.0 +cost = 2 +ability_name = "Speed Boost" +display_progress = false + diff --git a/scenes/heroes/4.tscn b/scenes/heroes/4.tscn index 4f7a650..02afe69 100644 --- a/scenes/heroes/4.tscn +++ b/scenes/heroes/4.tscn @@ -1,12 +1,13 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://scenes/player.tscn" type="PackedScene" id=1] [ext_resource path="res://scripts/heroes/4.gd" type="Script" id=2] [ext_resource path="res://assets/heroes/4_head.obj" type="ArrayMesh" id=3] [ext_resource path="res://assets/heroes/4_beam.obj" type="ArrayMesh" id=4] [ext_resource path="res://assets/heroes/4.obj" type="ArrayMesh" id=5] +[ext_resource path="res://scenes/ability_icon.tscn" type="PackedScene" id=6] -[node name="RigidBody" index="0" instance=ExtResource( 1 )] +[node name="RigidBody" instance=ExtResource( 1 )] script = ExtResource( 2 ) @@ -29,10 +30,22 @@ lod_max_hysteresis = 0.0 mesh = ExtResource( 4 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Transform" ] [node name="MainMesh" parent="Yaw" index="1"] mesh = ExtResource( 5 ) +[node name="Destroy" parent="MasterOnly" index="2" instance=ExtResource( 6 )] + +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -109.0 +margin_top = -100.0 +margin_right = -98.0 +margin_bottom = -91.0 +cost = 0 +ability_name = "Destroy" + diff --git a/scenes/heroes/5.tscn b/scenes/heroes/5.tscn index ddd94c7..6dfbdbc 100644 --- a/scenes/heroes/5.tscn +++ b/scenes/heroes/5.tscn @@ -1,11 +1,12 @@ -[gd_scene load_steps=5 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://scenes/player.tscn" type="PackedScene" id=1] [ext_resource path="res://scripts/heroes/5.gd" type="Script" id=2] [ext_resource path="res://assets/heroes/5_head.obj" type="ArrayMesh" id=3] [ext_resource path="res://assets/heroes/5.obj" type="ArrayMesh" id=4] +[ext_resource path="res://scenes/ability_icon.tscn" type="PackedScene" id=5] -[node name="RigidBody" index="0" instance=ExtResource( 1 )] +[node name="RigidBody" instance=ExtResource( 1 )] script = ExtResource( 2 ) @@ -19,4 +20,30 @@ mesh = ExtResource( 3 ) transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.556542, 0 ) mesh = ExtResource( 4 ) +[node name="Portal" parent="MasterOnly" index="2" instance=ExtResource( 5 )] + +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -160.0 +margin_top = -112.0 +margin_right = -149.0 +margin_bottom = -103.0 +cost = 20 +ability_name = "Build Portal" + +[node name="Teleport" parent="MasterOnly" index="3" instance=ExtResource( 5 )] + +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -70.0 +margin_top = -112.0 +margin_right = -59.0 +margin_bottom = -103.0 +cost = 5 +ability_name = "Teleport" + diff --git a/scripts/ability_icon.gd b/scripts/ability_icon.gd new file mode 100644 index 0000000..2ff1bc4 --- /dev/null +++ b/scripts/ability_icon.gd @@ -0,0 +1,28 @@ +extends Control + +onready var hero = get_node("../..") +onready var bar = get_node("Bar") +onready var available = get_node("Available") +export var cost = 1 +export var ability_name = "Ability" +export var display_progress = true +# This is intended to be public +var disabled = false + +func _ready(): + get_node("Name").text = ability_name + +func _process(delta): + if disabled: + available.hide() + bar.value = 0 + else: + if display_progress: + if cost == 0: + bar.value = 100 if hero.switch_charge > 0 else 0 + else: + bar.value = 100 * hero.switch_charge / cost + if hero.switch_charge > cost: + available.show() + else: + available.hide() diff --git a/scripts/heroes/4.gd b/scripts/heroes/4.gd index 0a5a89f..c25b00c 100644 --- a/scripts/heroes/4.gd +++ b/scripts/heroes/4.gd @@ -2,6 +2,8 @@ extends "res://scripts/player.gd" +onready var destroy_ability = get_node("MasterOnly/Destroy") + var stun_charge = 1 var velocity_charge = 10 # This one is instantaneous, so it gets quita weight @@ -28,11 +30,16 @@ func _process(delta): get_node("TPCamera").cam_view_sensitivity *= sens_factor get_node("TPCamera").cam_smooth_movement = true - if Input.is_action_just_pressed("primary_ability"): - var looking_at = pick() - if looking_at.has_method("destroy"): - if switch_charge > looking_at.destroy_cost: - switch_charge -= looking_at.destroy() + var looking_at = pick() + if looking_at and looking_at.has_method("destroy"): + destroy_ability.cost = looking_at.destroy_cost + destroy_ability.disabled = false + if Input.is_action_just_pressed("primary_ability"): + if switch_charge > looking_at.destroy_cost: + switch_charge -= looking_at.destroy_cost + looking_at.rpc("destroy") + else: + destroy_ability.disabled = true if stun: var players = get_node("/root/Level/Players").get_children() diff --git a/scripts/heroes/5.gd b/scripts/heroes/5.gd index dc53a2d..1bed181 100644 --- a/scripts/heroes/5.gd +++ b/scripts/heroes/5.gd @@ -1,6 +1,7 @@ extends "res://scripts/player.gd" onready var placement = preload("res://scripts/placement.gd").new(self, "res://scenes/heroes/5_portal.tscn") +onready var teleport_ability = get_node("MasterOnly/Teleport") var radius = 15 # The spaces make the bracket centered, rather than on of the dots @@ -47,6 +48,7 @@ func _process(delta): rpc("flick", flicking.get_name(), towards) flicking = null switch_charge += flick_charge + teleport_ability.disabled = placement.placed.size() <= 1 func _exit_tree(): ._exit_tree() From c4b61f645bcf12378f0c0b21f65a37db56ca150e Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:31:03 -0400 Subject: [PATCH 09/72] Add bar showing switch_charge much prettier --- scenes/player.tscn | 177 +++++++++++++++++++++++++++++++++++++++++++++-------- scripts/player.gd | 10 ++- 2 files changed, 159 insertions(+), 28 deletions(-) diff --git a/scenes/player.tscn b/scenes/player.tscn index 114ac60..e7cf436 100644 --- a/scenes/player.tscn +++ b/scenes/player.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=2] +[gd_scene load_steps=14 format=2] [ext_resource path="res://scripts/player.gd" type="Script" id=1] [ext_resource path="res://scripts/tp_camera.gd" type="Script" id=2] @@ -12,7 +12,6 @@ height = 0.5 [sub_resource type="RayShape" id=2] length = 0.1 -_sections_unfolded = [ "Resource" ] [sub_resource type="PrismMesh" id=3] @@ -28,7 +27,97 @@ radius = 0.4 mid_height = 0.1 radial_segments = 64 rings = 8 -_sections_unfolded = [ "Resource" ] + +[sub_resource type="StyleBoxFlat" id=7] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 +bg_color = Color( 0.541351, 0.855469, 0.612519, 1 ) +draw_center = true +border_width_left = 0 +border_width_top = 0 +border_width_right = 0 +border_width_bottom = 0 +border_color = Color( 0.8, 0.8, 0.8, 1 ) +border_blend = false +corner_radius_top_left = 0 +corner_radius_top_right = 0 +corner_radius_bottom_right = 0 +corner_radius_bottom_left = 0 +corner_detail = 8 +expand_margin_left = 0.0 +expand_margin_right = 0.0 +expand_margin_top = 0.0 +expand_margin_bottom = 0.0 +shadow_color = Color( 0, 0, 0, 0.6 ) +shadow_size = 0 +anti_aliasing = true +anti_aliasing_size = 1 + +[sub_resource type="StyleBoxFlat" id=8] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 +bg_color = Color( 0.00305176, 0.0976562, 0.0111818, 1 ) +draw_center = true +border_width_left = 0 +border_width_top = 0 +border_width_right = 0 +border_width_bottom = 0 +border_color = Color( 0.8, 0.8, 0.8, 1 ) +border_blend = false +corner_radius_top_left = 0 +corner_radius_top_right = 0 +corner_radius_bottom_right = 0 +corner_radius_bottom_left = 0 +corner_detail = 8 +expand_margin_left = 0.0 +expand_margin_right = 0.0 +expand_margin_top = 0.0 +expand_margin_bottom = 0.0 +shadow_color = Color( 0, 0, 0, 0.6 ) +shadow_size = 0 +anti_aliasing = true +anti_aliasing_size = 1 + +[sub_resource type="StyleBoxFlat" id=9] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 +bg_color = Color( 0.878769, 0.949219, 0.911242, 1 ) +draw_center = true +border_width_left = 0 +border_width_top = 0 +border_width_right = 0 +border_width_bottom = 0 +border_color = Color( 0.8, 0.8, 0.8, 1 ) +border_blend = false +corner_radius_top_left = 0 +corner_radius_top_right = 0 +corner_radius_bottom_right = 0 +corner_radius_bottom_left = 0 +corner_detail = 8 +expand_margin_left = 0.0 +expand_margin_right = 0.0 +expand_margin_top = 0.0 +expand_margin_bottom = 0.0 +shadow_color = Color( 0, 0, 0, 0.6 ) +shadow_size = 0 +anti_aliasing = true +anti_aliasing_size = 1 + +[sub_resource type="StyleBoxEmpty" id=10] + +content_margin_left = -1.0 +content_margin_right = -1.0 +content_margin_top = -1.0 +content_margin_bottom = -1.0 [sub_resource type="CubeMesh" id=5] @@ -87,9 +176,8 @@ uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false -_sections_unfolded = [ "Flags", "Parameters", "Roughness" ] -[node name="RigidBody" type="RigidBody" index="0" groups=[ +[node name="RigidBody" type="RigidBody" groups=[ "player", ]] @@ -119,21 +207,18 @@ linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 script = ExtResource( 1 ) -_sections_unfolded = [ "Angular", "Axis Lock", "Collision", "Linear", "Transform", "Visibility", "collision" ] [node name="Body" type="CollisionShape" parent="." index="0"] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0.75, 0 ) shape = SubResource( 1 ) disabled = false -_sections_unfolded = [ "Pause", "Transform", "Visibility" ] [node name="Leg" type="CollisionShape" parent="." index="1"] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0.05, 0.1, 0 ) shape = SubResource( 2 ) disabled = false -_sections_unfolded = [ "Transform", "Visibility" ] [node name="Ray" type="RayCast" parent="." index="2"] @@ -142,16 +227,13 @@ enabled = true exclude_parent = true cast_to = Vector3( 0, -0.2, 0 ) collision_mask = 1 -_sections_unfolded = [ "Transform", "Visibility" ] [node name="Yaw" type="Spatial" parent="." index="3"] -_sections_unfolded = [ "Transform" ] [node name="Pitch" type="Spatial" parent="Yaw" index="0"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.19053, 0 ) -_sections_unfolded = [ "Transform" ] [node name="RotatedHead" type="MeshInstance" parent="Yaw/Pitch" index="0"] @@ -168,7 +250,6 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 3 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Transform", "material" ] [node name="MainMesh" type="MeshInstance" parent="Yaw" index="1"] @@ -185,7 +266,6 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 4 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Transform", "material" ] [node name="MasterOnly" type="Node" parent="." index="4"] @@ -210,35 +290,85 @@ align = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "Anchor", "Margin", "custom_colors" ] -[node name="SwitchCharge" type="Label" parent="MasterOnly" index="1"] +[node name="ChargeBar" type="ProgressBar" parent="MasterOnly" index="1"] + +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +margin_left = -484.0 +margin_top = -41.0 +margin_right = 483.0 +margin_bottom = -25.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 0 +custom_styles/fg = SubResource( 7 ) +custom_styles/bg = SubResource( 8 ) +min_value = 0.0 +max_value = 100.0 +step = 1.0 +page = 0.0 +value = 0.0 +exp_edit = false +rounded = false +percent_visible = false + +[node name="Extra" type="ProgressBar" parent="MasterOnly/ChargeBar" index="0"] + +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -484.0 +margin_top = -8.0 +margin_right = 484.0 +margin_bottom = 8.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 0 +custom_styles/fg = SubResource( 9 ) +custom_styles/bg = SubResource( 10 ) +min_value = 0.0 +max_value = 100.0 +step = 1.0 +page = 0.0 +value = 0.0 +exp_edit = false +rounded = false +percent_visible = false + +[node name="ChargeText" type="Label" parent="MasterOnly/ChargeBar" index="1"] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 -margin_left = -62.0 -margin_top = -98.0 -margin_right = 61.0 -margin_bottom = -84.0 +margin_left = -61.5 +margin_top = -14.0 +margin_right = 61.5 rect_pivot_offset = Vector2( 0, 0 ) mouse_filter = 2 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 -custom_colors/font_color = Color( 0.289062, 0.289062, 0.289062, 1 ) +custom_colors/font_color = Color( 0.456299, 0.689711, 0.695312, 1 ) +custom_colors/font_color_shadow = Color( 0.0868835, 0.304688, 0.304688, 1 ) +text = "0%" align = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "custom_colors" ] [node name="TPCamera" type="Spatial" parent="." index="5"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.56913, 0 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Transform" ] cam = NodePath("Camera") pivot = NodePath("Pivot") @@ -265,7 +395,6 @@ enabled = true exclude_parent = true cast_to = Vector3( 0, 0, -500 ) collision_mask = 13 -_sections_unfolded = [ "Transform" ] [node name="MaterialSettings" type="MeshInstance" parent="." index="6"] @@ -282,7 +411,6 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 5 ) skeleton = NodePath("..") material/0 = SubResource( 6 ) -_sections_unfolded = [ "material" ] [node name="NamePosition" type="Spatial" parent="." index="7"] @@ -307,6 +435,5 @@ percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 script = ExtResource( 3 ) -_sections_unfolded = [ "custom_colors" ] diff --git a/scripts/player.gd b/scripts/player.gd index d375647..f0f9e0b 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -17,6 +17,9 @@ var air_speed_build = 0.006 # `air_accel` per `switch_charge` sync var switch_charge = 0 var switch_charge_cap = 200 # While switching is always at 100, things like speed boost might go higher! var movement_charge = 0.15 # In percent per meter (except when heroes change that) +onready var switch_text = get_node("MasterOnly/ChargeBar/ChargeText") +onready var switch_bar = get_node("MasterOnly/ChargeBar") +onready var switch_bar_extra = get_node("MasterOnly/ChargeBar/Extra") var fall_height = -400 # This is essentially the respawn timer var switch_height = -150 # At this point, stop adding to switch_charge. This makes falls not charge you too much @@ -77,14 +80,15 @@ func _process(delta): if translation.y < switch_height: vel.y = 0 # Don't gain charge from falling when below switch_height switch_charge += movement_charge * vel.length() * delta - var switch_node = get_node("MasterOnly/SwitchCharge") - switch_node.set_text("%d%%" % int(switch_charge)) # We truncate, rather than round, so that switch is displayed AT 100% + switch_text.set_text("%d%%" % int(switch_charge)) # We truncate, rather than round, so that switch is displayed AT 100% if switch_charge >= 100: # Let switch_charge keep building, because we use it for walk_speed and things - switch_node.set_text("100%% (%.f)\nQ - Switch hero" % switch_charge) + switch_text.set_text("100%% (%.f)\nQ - Switch hero" % switch_charge) if switch_charge > switch_charge_cap: # There is however a cap switch_charge = switch_charge_cap + switch_bar.value = switch_charge + switch_bar_extra.value = switch_charge - 100 if get_translation().y < fall_height: rpc("spawn") From c8c90e91856c90a893f0fa4cde1dd13fc772ff91 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:31:42 -0400 Subject: [PATCH 10/72] Fixup --- project.godot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project.godot b/project.godot index 53fc327..5d343c5 100644 --- a/project.godot +++ b/project.godot @@ -61,6 +61,8 @@ hero_0_boost=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"res ] primary_mouse=[ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) ] +enable_cheats=[ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":true,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":45,"unicode":0,"echo":false,"script":null) + ] [rendering] From bb55fba379f9f460efec62b323e6eff153b538aa Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:32:02 -0400 Subject: [PATCH 11/72] Update some plans again --- README.md | 1 + plans.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 7c21708..f0aa270 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ Ideas for Heroes: - More offensive - Lay traps - (Combine with PAZIENZA?) Destroy buildings + - (Combine wit LUSSURIA?) Hold, then release to explode enemies away Key concepts: diff --git a/plans.md b/plans.md index e127ec1..0fde1f4 100644 --- a/plans.md +++ b/plans.md @@ -25,6 +25,8 @@ Smaller TODOs: - Ira is OP? - Nerfed - 5 walls - Make motion more reactive? +- Grab someone and draw an impulse on them + - Combine with SUPERBIA, use charge to build portals Bugs: From 608809e0e4e84970e84a75a440b7cd7100c05106 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:34:39 -0400 Subject: [PATCH 12/72] [Hero 4] Fix destroy not networking --- scripts/heroes/1_wall.gd | 4 ++-- scripts/heroes/5_portal.gd | 4 ++-- scripts/placeable.gd | 9 +++------ scripts/placement.gd | 17 +++++++++-------- 4 files changed, 16 insertions(+), 18 deletions(-) diff --git a/scripts/heroes/1_wall.gd b/scripts/heroes/1_wall.gd index 9c87f84..f359e33 100644 --- a/scripts/heroes/1_wall.gd +++ b/scripts/heroes/1_wall.gd @@ -7,7 +7,7 @@ func _process(delta): if being_touched > 0: maker_node.switch_charge += touch_charge * delta -func init(maker, index): +func init(maker): for player in get_node("/root/Level/Players").get_children(): player.connect("body_entered", self, "count_bodies", [player, 1]) @@ -27,7 +27,7 @@ func init(maker, index): mat.albedo_color = color get_node("MeshInstance").set_surface_material(0, mat) - .init(maker, index) + .init(maker) func count_bodies(with, player, delta): if with == self: diff --git a/scripts/heroes/5_portal.gd b/scripts/heroes/5_portal.gd index 239e6ea..79e9d94 100644 --- a/scripts/heroes/5_portal.gd +++ b/scripts/heroes/5_portal.gd @@ -23,7 +23,7 @@ func _exit_tree(): maker_node.placement.placed.remove(index - 1) other.queue_free() -func init(maker, index): +func init(maker): # If index is odd, we're the second (1, 3...), if even, first (0, 4...) var second = index % 2 != 0 @@ -37,7 +37,7 @@ func init(maker, index): mat.albedo_color = color get_node("MeshInstance").set_surface_material(0, mat) - .init(maker, index) + .init(maker) func place(): .place() diff --git a/scripts/placeable.gd b/scripts/placeable.gd index 13853d0..2fe4971 100644 --- a/scripts/placeable.gd +++ b/scripts/placeable.gd @@ -3,14 +3,12 @@ extends StaticBody var maker_node var material var destroy_cost = 20 -var index func _ready(): get_node("CollisionShape").disabled = true -func init(maker, index): +func init(maker): maker_node = maker - self.index = index material = get_node("MeshInstance").get_surface_material(0) if not material: @@ -24,9 +22,8 @@ func place(): get_node("CollisionShape").disabled = false material.flags_transparent = false -func destroy(): - maker_node.placement.remove_placed(index) - return destroy_cost +sync func destroy(): + maker_node.placement.remove_placed(get_name()) func make_last(): material.flags_transparent = true diff --git a/scripts/placement.gd b/scripts/placement.gd index ca4a9e8..e0c79fc 100644 --- a/scripts/placement.gd +++ b/scripts/placement.gd @@ -31,12 +31,12 @@ master func request_placed(): for node in placed: rpc_id(get_tree().get_rpc_sender_id(), "slave_place", node.transform) -func place_input(radius=-1, require_ghost=false): +func place_input(radius=-1, can_build=true, require_ghost=false): # We allow you to just click to place, without needing to press E var confirm = Input.is_action_just_pressed(confirm_action) - if Input.is_action_just_pressed(start_action) or (confirm and not is_placing and not require_ghost): + if can_build and Input.is_action_just_pressed(start_action) or (confirm and not is_placing and not require_ghost): # Press button twice to cancel if is_placing: # We changed our mind, delete the placing wall @@ -50,7 +50,7 @@ func place_input(radius=-1, require_ghost=false): if Input.is_action_just_pressed(delete_action): var pick = player.pick_from(placed) if pick != -1: - rpc("remove_placed", pick) + rpc("remove_placed", placed[pick].get_name()) if is_placing: position_placement(placing_node) @@ -62,7 +62,7 @@ func place_input(radius=-1, require_ghost=false): else: placing_node.within_range() - if (confirm and not require_ghost) or (confirm and is_placing): + if can_build and (confirm and not require_ghost) or (confirm and is_placing): # Order matters here: confirm_placement resets placing_node so we have to do anything with it first rpc("slave_place", placing_node.transform) confirm_placement(placing_node) @@ -125,13 +125,14 @@ slave func slave_place(tf): var node = create() confirm_placement(node, tf) -sync func remove_placed(index): - placed[index].queue_free() - placed.remove(index) +sync func remove_placed(name): + var what = get_node("/root/Level").get_node(name) + placed.erase(what) + what.queue_free() func create(): var node = scene.instance() player.get_node("/root/Level").add_child(node) - node.init(player, placed.size()) + node.init(player) return node From 658782078b9ca72ce5ba42d1a0b35f898045a5eb Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:35:15 -0400 Subject: [PATCH 13/72] Refactor Hero 5 --- scripts/heroes/5.gd | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/scripts/heroes/5.gd b/scripts/heroes/5.gd index 1bed181..3f7fb15 100644 --- a/scripts/heroes/5.gd +++ b/scripts/heroes/5.gd @@ -21,6 +21,7 @@ func _ready(): placement.confirm_action = "hero_5_confirm_portal" placement.delete_action = "hero_5_remove_portal" placement.max_placed = 100 + set_process_input(true) func _process(delta): if is_network_master(): @@ -28,28 +29,15 @@ func _process(delta): var portal_crosshair = second_crosshair if is_second else first_crosshair var crosshair = no_portal_crosshair if switch_charge < portal_cost else portal_crosshair get_node("MasterOnly/Crosshair").set_text(crosshair) - if switch_charge > portal_cost or is_second: - if placement.place_input(radius, true) and is_second: - switch_charge -= portal_cost + var can_build = switch_charge > portal_cost + if placement.place_input(radius, can_build, true) and is_second: + switch_charge -= portal_cost - if Input.is_action_just_pressed("primary_mouse"): - var pick = pick_by_friendly(false) - if pick: - flicking = pick - if flicking and Input.is_action_just_released("primary_mouse"): - var aim = get_node("Yaw/Pitch").get_global_transform().basis - var forwards = -aim[2] - var distance = (flicking.translation - translation).length() - forwards *= distance - var towards = translation + forwards - var gravity = PhysicsServer.area_get_param(get_world().get_space(), PhysicsServer.AREA_PARAM_GRAVITY_VECTOR) - # Automatically account for gravity, so as to make UI more intuitive - towards -= gravity - rpc("flick", flicking.get_name(), towards) - flicking = null - switch_charge += flick_charge teleport_ability.disabled = placement.placed.size() <= 1 +func _input(event): + flick_input() + func _exit_tree(): ._exit_tree() if placement: @@ -59,6 +47,24 @@ func _exit_tree(): # --- Own --- +func flick_input(): + if Input.is_action_just_pressed("primary_mouse"): + var pick = pick_by_friendly(false) + if pick: + flicking = pick + if flicking and Input.is_action_just_released("primary_mouse"): + var aim = get_node("Yaw/Pitch").get_global_transform().basis + var forwards = -aim[2] + var distance = (flicking.translation - translation).length() + forwards *= distance + var towards = translation + forwards + var gravity = PhysicsServer.area_get_param(get_world().get_space(), PhysicsServer.AREA_PARAM_GRAVITY_VECTOR) + # Automatically account for gravity, so as to make UI more intuitive + towards -= gravity + rpc("flick", flicking.get_name(), towards) + flicking = null + switch_charge += flick_charge + sync func flick(player_id, towards): var who = $"/root/Level/Players".get_node(player_id) if who.is_network_master(): From ca2c1399097d503ad93906a2b8ce136d2f0dcd95 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:35:33 -0400 Subject: [PATCH 14/72] Add cheats to player --- scripts/player.gd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/player.gd b/scripts/player.gd index f0f9e0b..3208b4a 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -72,6 +72,8 @@ func _input(event): quit() if "record" in player_info: recording.events.append([recording.time, event_to_obj(event)]) + if Input.is_action_just_pressed("enable_cheats"): + switch_charge = 199 func _process(delta): # All player code not caused by input, and not causing movement @@ -304,14 +306,11 @@ func quit(): func pick(): var look_ray = get_node("TPCamera/Camera/Ray") return look_ray.get_collider() - func pick_from(group): return group.find(pick()) - func pick_player(): var players = get_node("/root/Level/Players").get_children() return players[pick_from(players)] - func pick_by_friendly(pick_friendlies): var pick = pick_player() if (pick.player_info.is_right_team == player_info.is_right_team) == pick_friendlies: From 7f1b88955d90e4854927d8b64c252ce86f71dbd2 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:35:54 -0400 Subject: [PATCH 15/72] [Hero 0] Buff boost while in air This makes it worth it so you don't wait till you're on ground --- scripts/heroes/0.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/heroes/0.gd b/scripts/heroes/0.gd index db67e4b..d2c4110 100644 --- a/scripts/heroes/0.gd +++ b/scripts/heroes/0.gd @@ -26,7 +26,7 @@ func control_player(state): var cost = boost_drain * state.step if Input.is_action_pressed("hero_0_boost") and switch_charge > cost: walk_speed *= 2 - air_accel *= 2 + air_accel *= 3 switch_charge -= cost .control_player(state) wallride(state) From 0523776365f7536c6576891b59194f2c18ea4440 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:36:48 -0400 Subject: [PATCH 16/72] Add utility to clean the godot editor state This is going to make git 100 times easier --- util/clear_editor_state.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 util/clear_editor_state.py diff --git a/util/clear_editor_state.py b/util/clear_editor_state.py new file mode 100644 index 0000000..05f68a2 --- /dev/null +++ b/util/clear_editor_state.py @@ -0,0 +1,23 @@ +#!/usr/bin/python3 +from pathlib import Path + +# Current working directory +cwd = Path.cwd() + +for path in cwd.glob('**/*.tscn'): + result = [] + + with path.open() as f: + for line in f.readlines(): + if line.startswith('_sections_unfolded'): + # Skip lines that start with _sections_unfolded + continue + elif line.startswith('[node') and 'parent=' not in line: + # Root node, remove 'index="0"' + result.append(line.replace(' index="0"', '')) + else: + # Add line as is + result.append(line) + + with path.open('w') as f: + f.writelines(result) \ No newline at end of file From 6d457c4479188e9654fc4487117f68caa17cb8ae Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:37:21 -0400 Subject: [PATCH 17/72] Remove all editor state (Warning: broad patch) WARNING: Expect merge conflicts! This changes a line on nearly every scene in existence. However, it clears it all out for the future so we'll never have to deal with it again. --- scenes/ai.tscn | 2 +- scenes/hero_select.tscn | 3 +-- scenes/heroes/1.tscn | 2 +- scenes/heroes/1_wall.tscn | 4 +--- scenes/heroes/2.tscn | 1 - scenes/heroes/3.tscn | 1 - scenes/heroes/5_portal.tscn | 4 +--- scenes/level.tscn | 12 +----------- scenes/levels/0.tscn | 2 +- scenes/levels/2.tscn | 4 +--- scenes/lobby.tscn | 11 +---------- scenes/objective.tscn | 12 +----------- scenes/test-level.tscn | 8 -------- 13 files changed, 10 insertions(+), 56 deletions(-) diff --git a/scenes/ai.tscn b/scenes/ai.tscn index 43c8512..7da562d 100644 --- a/scenes/ai.tscn +++ b/scenes/ai.tscn @@ -2,7 +2,7 @@ [ext_resource path="res://scripts/ai.gd" type="Script" id=1] -[node name="Node" type="Node" index="0"] +[node name="Node" type="Node"] script = ExtResource( 1 ) diff --git a/scenes/hero_select.tscn b/scenes/hero_select.tscn index c3e0e9b..4c1b1be 100644 --- a/scenes/hero_select.tscn +++ b/scenes/hero_select.tscn @@ -3,7 +3,7 @@ [ext_resource path="res://scripts/hero_select_screen.gd" type="Script" id=1] [ext_resource path="res://scripts/hero_select.gd" type="Script" id=2] -[node name="HeroSelect" type="ColorRect" index="0"] +[node name="HeroSelect" type="ColorRect"] pause_mode = 2 anchor_left = 0.0 @@ -17,7 +17,6 @@ size_flags_horizontal = 1 size_flags_vertical = 1 color = Color( 0.097229, 0.104696, 0.105469, 1 ) script = ExtResource( 1 ) -_sections_unfolded = [ "Anchor", "Margin", "Material", "Pause", "Visibility" ] [node name="Hero" type="OptionButton" parent="." index="0"] diff --git a/scenes/heroes/1.tscn b/scenes/heroes/1.tscn index 39d4b67..b946c09 100644 --- a/scenes/heroes/1.tscn +++ b/scenes/heroes/1.tscn @@ -10,7 +10,7 @@ radius = 0.5 height = 0.5 -[node name="RigidBody" index="0" instance=ExtResource( 1 )] +[node name="RigidBody" instance=ExtResource( 1 )] script = ExtResource( 2 ) diff --git a/scenes/heroes/1_wall.tscn b/scenes/heroes/1_wall.tscn index ef4c041..82a22f4 100644 --- a/scenes/heroes/1_wall.tscn +++ b/scenes/heroes/1_wall.tscn @@ -13,7 +13,7 @@ subdivide_depth = 0 extents = Vector3( 1.5, 1.5, 0.25 ) -[node name="StaticBody" type="StaticBody" index="0"] +[node name="StaticBody" type="StaticBody"] input_ray_pickable = true input_capture_on_drag = false @@ -40,13 +40,11 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 1 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Transform" ] [node name="CollisionShape" type="CollisionShape" parent="." index="1"] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, -1.5 ) shape = SubResource( 2 ) disabled = true -_sections_unfolded = [ "Transform" ] diff --git a/scenes/heroes/2.tscn b/scenes/heroes/2.tscn index e35df0a..84fb508 100644 --- a/scenes/heroes/2.tscn +++ b/scenes/heroes/2.tscn @@ -51,7 +51,6 @@ reverb_bus_enable = false reverb_bus_name = "Master" reverb_bus_amount = 0.0 reverb_bus_uniformity = 0.0 -_sections_unfolded = [ "Audio Bus", "Collision", "Pause", "Reverb Bus", "Transform", "Visibility" ] [node name="CollisionShape" type="CollisionShape" parent="Area" index="0"] diff --git a/scenes/heroes/3.tscn b/scenes/heroes/3.tscn index 49bc1fa..8143d62 100644 --- a/scenes/heroes/3.tscn +++ b/scenes/heroes/3.tscn @@ -9,7 +9,6 @@ contacts_reported = 3 script = ExtResource( 2 ) -_sections_unfolded = [ "Angular", "Axis Lock", "Collision", "Linear", "Pause", "Transform", "Visibility", "collision" ] [node name="RotatedHead" parent="Yaw/Pitch" index="0"] diff --git a/scenes/heroes/5_portal.tscn b/scenes/heroes/5_portal.tscn index 768919b..566c829 100644 --- a/scenes/heroes/5_portal.tscn +++ b/scenes/heroes/5_portal.tscn @@ -58,7 +58,7 @@ distance_fade_enable = false points = PoolVector3Array( -0.746582, -0.00657654, 0.750488, 0.75293, 0.41748, 0.750488, 0.75293, -0.00657654, 0.750488, -0.746582, -0.00657654, -0.749023, -0.746582, 0.41748, 0.750488, -0.746582, -0.00657654, 0.750488, 0.75293, -0.00657654, -0.749023, -0.746582, 0.41748, -0.749023, -0.746582, -0.00657654, -0.749023, 0.75293, -0.00657654, 0.750488, 0.75293, 0.41748, -0.749023, 0.75293, -0.00657654, -0.749023, 0.541016, -0.00657654, -0.537598, -0.746582, -0.00657654, -0.749023, -0.535156, -0.00657654, -0.537598, 0.75293, 0.41748, 0.750488, 0.541016, 0.41748, -0.537598, 0.75293, 0.41748, -0.749023, -0.535156, -0.00657654, -0.537598, 0.541016, 0.41748, -0.537598, 0.541016, -0.00657654, -0.537598, -0.535156, -0.00657654, 0.538574, -0.535156, 0.41748, -0.537598, -0.535156, -0.00657654, -0.537598, -0.746582, 0.41748, -0.749023, -0.535156, 0.41748, 0.538574, -0.746582, 0.41748, 0.750488, 0.541016, -0.00657654, 0.538574, -0.535156, 0.41748, 0.538574, -0.535156, -0.00657654, 0.538574, 0.541016, -0.00657654, -0.537598, 0.541016, 0.41748, 0.538574, 0.541016, -0.00657654, 0.538574, 0.75293, -0.00657654, -0.749023, 0.541016, -0.00657654, 0.538574, 0.75293, -0.00657654, 0.750488, -0.746582, 0.41748, 0.750488, -0.746582, 0.41748, -0.749023, 0.75293, 0.41748, -0.749023, 0.75293, 0.41748, 0.750488, -0.746582, -0.00657654, 0.750488, -0.535156, -0.00657654, 0.538574, -0.535156, 0.41748, -0.537598, 0.541016, 0.41748, 0.538574, -0.535156, 0.41748, -0.537598, -0.535156, 0.41748, 0.538574, 0.541016, 0.41748, 0.538574, 0.541016, 0.41748, -0.537598 ) -[node name="StaticBody" type="StaticBody" index="0"] +[node name="StaticBody" type="StaticBody"] input_ray_pickable = true input_capture_on_drag = false @@ -69,7 +69,6 @@ bounce = 0.0 constant_linear_velocity = Vector3( 0, 0, 0 ) constant_angular_velocity = Vector3( 0, 0, 0 ) script = ExtResource( 1 ) -_sections_unfolded = [ "Collision" ] [node name="MeshInstance" type="MeshInstance" parent="." index="0"] @@ -86,7 +85,6 @@ lod_max_hysteresis = 0.0 mesh = ExtResource( 2 ) skeleton = NodePath("..") material/0 = SubResource( 1 ) -_sections_unfolded = [ "Transform", "Visibility" ] [node name="CollisionShape" type="CollisionShape" parent="." index="1"] diff --git a/scenes/level.tscn b/scenes/level.tscn index 0f1025a..fc34b1a 100644 --- a/scenes/level.tscn +++ b/scenes/level.tscn @@ -24,7 +24,6 @@ size = 16 use_mipmaps = false use_filter = false font_data = SubResource( 3 ) -_sections_unfolded = [ "Font", "Resource" ] [sub_resource type="ProceduralSky" id=5] @@ -45,7 +44,6 @@ sun_angle_max = 100.0 sun_curve = 0.05 sun_energy = 16.0 texture_size = 2 -_sections_unfolded = [ "Ground", "Sky" ] [sub_resource type="Environment" id=6] @@ -125,9 +123,8 @@ adjustment_enabled = false adjustment_brightness = 1.0 adjustment_contrast = 1.0 adjustment_saturation = 1.0 -_sections_unfolded = [ "Background" ] -[node name="Level" type="Spatial" index="0"] +[node name="Level" type="Spatial"] [node name="DirectionalLight" type="DirectionalLight" parent="." index="0"] @@ -158,7 +155,6 @@ directional_shadow_max_distance = 200.0 [node name="Players" type="Spatial" parent="." index="1"] -_sections_unfolded = [ "Transform", "Visibility" ] [node name="Ball" type="RigidBody" parent="." index="2"] @@ -188,13 +184,11 @@ linear_velocity = Vector3( 0, 0, 0 ) linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 -_sections_unfolded = [ "Collision", "Pause", "Transform", "Visibility" ] [node name="CollisionShape" type="CollisionShape" parent="Ball" index="0"] shape = SubResource( 1 ) disabled = false -_sections_unfolded = [ "Transform", "Visibility" ] [node name="MeshInstance" type="MeshInstance" parent="Ball" index="1"] @@ -210,12 +204,10 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 2 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Geometry", "Transform", "material" ] [node name="FullObjective" parent="." index="3" instance=ExtResource( 1 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.3706, 2.0316, 4.06596 ) -_sections_unfolded = [ "Transform" ] [node name="Debug" type="Label" parent="." index="4"] @@ -237,12 +229,10 @@ custom_fonts/font = SubResource( 4 ) percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "Anchor", "Focus", "Grow Direction", "Hint", "Margin", "Material", "Mouse", "Pause", "Rect", "Size Flags", "Theme", "Visibility", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ] [node name="LeftSpawn" type="Spatial" parent="." index="5"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.96426, 9.36109 ) -_sections_unfolded = [ "Transform" ] [node name="RightSpawn" type="Spatial" parent="." index="6"] diff --git a/scenes/levels/0.tscn b/scenes/levels/0.tscn index c88ca26..bd1aa88 100644 --- a/scenes/levels/0.tscn +++ b/scenes/levels/0.tscn @@ -7,7 +7,7 @@ data = PoolVector3Array( -1.0918, 21.3594, 42.5313, -1.0918, 20.3906, 42.5313, -1.0918, 19.5625, 33.5313, -1.0918, 19.5625, 33.5313, -1.0918, 20.3906, 42.5313, -1.0918, 18.8906, 33.5313, -1.0918, 19.5625, 33.5313, -1.0918, 18.8906, 33.5313, -0.4729, 19.5625, 33.5313, -0.4729, 19.5625, 33.5313, -1.0918, 18.8906, 33.5313, -0.4729, 18.8906, 33.5313, -0.4729, 19.5625, 33.5313, -0.4729, 18.8906, 33.5313, -0.4729, 21.3594, 42.5313, -0.4729, 21.3594, 42.5313, -0.4729, 18.8906, 33.5313, -0.4729, 20.3906, 42.5313, -0.4729, 21.3594, 42.5313, -0.4729, 20.3906, 42.5313, -1.0918, 21.3594, 42.5313, -1.0918, 21.3594, 42.5313, -0.4729, 20.3906, 42.5313, -1.0918, 20.3906, 42.5313, -0.4729, 11.6328, 33.5313, -1.0918, 11.6328, 33.5313, -0.4729, 9.8125, 42.5313, -0.4729, 9.8125, 42.5313, -1.0918, 11.6328, 33.5313, -1.0918, 9.8125, 42.5313, -1.0918, 19.5625, 33.5313, -0.4729, 19.5625, 33.5313, -1.0918, 21.3594, 42.5313, -1.0918, 21.3594, 42.5313, -0.4729, 19.5625, 33.5313, -0.4729, 21.3594, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 9.8125, 42.5313, -1.0918, 10.3594, 42.5313, -1.0918, 10.3594, 42.5313, -0.4729, 9.8125, 42.5313, -1.0918, 9.8125, 42.5313, -0.4729, 11.8516, 33.5313, -0.4729, 11.6328, 33.5313, 5.8164, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, -0.4729, 11.6328, 33.5313, 5.8164, 11.6328, 33.5313, -1.0918, 11.8516, 33.5313, -1.0918, 11.6328, 33.5313, -0.4729, 11.8516, 33.5313, -0.4729, 11.8516, 33.5313, -1.0918, 11.6328, 33.5313, -0.4729, 11.6328, 33.5313, -1.0918, 9.8125, 42.5313, -1.0918, 11.6328, 33.5313, -9.4531, 9.8125, 42.5313, -9.4531, 9.8125, 42.5313, -1.0918, 11.6328, 33.5313, -7.6992, 11.6328, 33.5313, -0.4729, 20.3906, 42.5313, -0.4729, 10.3594, 42.5313, -1.0918, 20.3906, 42.5313, -1.0918, 20.3906, 42.5313, -0.4729, 10.3594, 42.5313, -1.0918, 10.3594, 42.5313, -0.4729, 18.8906, 33.5313, -0.4729, 11.8516, 33.5313, -0.4729, 20.3906, 42.5313, -0.4729, 20.3906, 42.5313, -0.4729, 11.8516, 33.5313, -0.4729, 10.3594, 42.5313, -1.0918, 18.8906, 33.5313, -1.0918, 11.8516, 33.5313, -0.4729, 18.8906, 33.5313, -0.4729, 18.8906, 33.5313, -1.0918, 11.8516, 33.5313, -0.4729, 11.8516, 33.5313, -1.0918, 20.3906, 42.5313, -1.0918, 10.3594, 42.5313, -1.0918, 18.8906, 33.5313, -1.0918, 18.8906, 33.5313, -1.0918, 10.3594, 42.5313, -1.0918, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 5.8164, 11.6328, 33.5313, 7.5703, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, 5.8164, 11.6328, 33.5313, 7.5703, 9.8125, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 11.8516, 33.5313, -0.4729, 10.3594, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 11.8516, 33.5313, -0.4729, 11.8516, 33.5313, -0.4729, 9.8125, 42.5313, -0.4729, 10.3594, 42.5313, 7.5703, 9.8125, 42.5313, 7.5703, 9.8125, 42.5313, -0.4729, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, -0.4729, 11.6328, 33.5313, -0.4729, 9.8125, 42.5313, 5.8164, 11.6328, 33.5313, 5.8164, 11.6328, 33.5313, -0.4729, 9.8125, 42.5313, 7.5703, 9.8125, 42.5313, -9.4531, 10.3594, 42.5313, -9.4531, 9.8125, 42.5313, -7.6992, 11.8516, 33.5313, -7.6992, 11.8516, 33.5313, -9.4531, 9.8125, 42.5313, -7.6992, 11.6328, 33.5313, -1.0918, 11.6328, 33.5313, -1.0918, 11.8516, 33.5313, -7.6992, 11.6328, 33.5313, -7.6992, 11.6328, 33.5313, -1.0918, 11.8516, 33.5313, -7.6992, 11.8516, 33.5313, -1.0918, 10.3594, 42.5313, -1.0918, 9.8125, 42.5313, -9.4531, 10.3594, 42.5313, -9.4531, 10.3594, 42.5313, -1.0918, 9.8125, 42.5313, -9.4531, 9.8125, 42.5313, -1.0918, 11.8516, 33.5313, -1.0918, 10.3594, 42.5313, -7.6992, 11.8516, 33.5313, -7.6992, 11.8516, 33.5313, -1.0918, 10.3594, 42.5313, -9.4531, 10.3594, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 11.8516, 33.5313, 7.5703, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, -0.4729, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 7.5703, 10.3594, 42.5313, 5.8164, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 7.5703, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, -0.4729, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, 7.5703, 10.3594, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 10.3594, 42.5313, -0.4729, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, -0.4729, 11.8516, 33.5313, -0.4729, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 5.8164, 11.8516, 33.5313, 11.8984, 14.0156, 39.5938, 11.5781, 13.4844, 39.875, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 11.5781, 13.4844, 39.875, 6.7344, 13.4844, 34.25, 7.0547, 14.0234, 33.9688, 6.7344, 13.4844, 34.25, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 6.7344, 13.4844, 34.25, 10.2031, 9.8516, 31.25, 10.5234, 10.3906, 30.9844, 10.2031, 9.8516, 31.25, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 10.2031, 9.8516, 31.25, 15.0547, 9.8516, 36.875, 15.375, 10.3828, 36.5938, 15.0547, 9.8516, 36.875, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 15.0547, 9.8516, 36.875, 11.5781, 13.4844, 39.875, 10.2031, 9.8516, 31.25, 6.7344, 13.4844, 34.25, 15.0547, 9.8516, 36.875, 15.0547, 9.8516, 36.875, 6.7344, 13.4844, 34.25, 11.5781, 13.4844, 39.875, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 10.5234, 10.3906, 30.9844, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 15.375, 10.3828, 36.5938, 15.375, 10.3828, 36.5938, 11.8984, 14.0156, 39.5938, 11.8984, 14.0156, 39.5938, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 7.0547, 14.0234, 33.9688, 7.0547, 14.0234, 33.9688, 10.5234, 10.3906, 30.9844, 10.5234, 10.3906, 30.9844, 1, -1, 9.0938, 1, -1, 5.7617, -3.0859, -1, 9.0938, -3.0859, -1, 9.0938, 1, -1, 5.7617, -3.0859, -1, 5.7617, -3.0859, -0.4597, 5.7617, 1, -0.4597, 5.7617, -3.0859, 1.2002, 9.0938, -3.0859, 1.2002, 9.0938, 1, -0.4597, 5.7617, 0.9995, 1.2002, 9.0938, 1, -1, -12.9297, 1, -1, 5.7617, 1.7021, -1, -12.9297, 1.7021, -1, -12.9297, 1, -1, 5.7617, 1.7021, -1, 5.7617, 0.9995, 1.2002, 9.0938, 1, -1, 9.0938, -3.0859, 1.2002, 9.0938, -3.0859, 1.2002, 9.0938, 1, -1, 9.0938, -3.0859, -1, 9.0938, -3.0859, -0.4597, 5.7617, -3.0859, -1, 5.7617, -3.0859, -0.4597, -12.9297, -3.0859, -0.4597, -12.9297, -3.0859, -1, 5.7617, -3.0859, -1, -12.9297, 1, -1, -12.9297, 1, -0.4597, -12.9297, -3.0859, -1, -12.9297, -3.0859, -1, -12.9297, 1, -0.4597, -12.9297, -3.0859, -0.4597, -12.9297, -3.0859, 1.2002, 9.0938, -3.0859, -1, 9.0938, -3.0859, -0.4597, 5.7617, -3.0859, -0.4597, 5.7617, -3.0859, -1, 9.0938, -3.0859, -1, 5.7617, 1, -0.4597, -12.9297, 1.7021, -0.4597, -12.9297, 0.9995, 4.1836, -14.0234, 0.9995, 4.1836, -14.0234, 1.7021, -0.4597, -12.9297, 1.7021, 4.1836, -14.0234, -3.0859, -0.4597, -12.9297, 1, -0.4597, -12.9297, -3.0859, -0.4597, 5.7617, -3.0859, -0.4597, 5.7617, 1, -0.4597, -12.9297, 1, -0.4597, 5.7617, 1, -1, 5.7617, 1, -1, -12.9297, -3.0859, -1, 5.7617, -3.0859, -1, 5.7617, 1, -1, -12.9297, -3.0859, -1, -12.9297, 1, -1, -12.9297, 1, -1, 5.7617, 1, -1, -12.9297, 1, -1, -12.9297, 1, -1, 5.7617, 1, -1, 5.7617, 1.7021, -0.4597, 5.7617, 1.7021, -1, 5.7617, 1.7021, 1.2002, 9.0938, 1.7021, 1.2002, 9.0938, 1.7021, -1, 5.7617, 1.7021, -1, 9.0938, 1.7021, -0.4597, -12.9297, 1.7021, -1, -12.9297, 1.7021, -0.4597, 5.7617, 1.7021, -0.4597, 5.7617, 1.7021, -1, -12.9297, 1.7021, -1, 5.7617, 1, -0.4597, 5.7617, 1, -0.4597, -12.9297, 0.9995, 4.1836, 4.668, 0.9995, 4.1836, 4.668, 1, -0.4597, -12.9297, 0.9995, 4.1836, -14.0234, 1, -1, 9.0938, 0.9995, 1.2002, 9.0938, 1.7021, -1, 9.0938, 1.7021, -1, 9.0938, 0.9995, 1.2002, 9.0938, 1.7021, 1.2002, 9.0938, 1, -0.4597, -12.9297, 1, -1, -12.9297, 1.7021, -0.4597, -12.9297, 1.7021, -0.4597, -12.9297, 1, -1, -12.9297, 1.7021, -1, -12.9297, 1, -1, 5.7617, 1, -1, 9.0938, 1.7021, -1, 5.7617, 1.7021, -1, 5.7617, 1, -1, 9.0938, 1.7021, -1, 9.0938, 0.9995, 4.1836, 4.668, 0.9995, 4.1836, -14.0234, 1.7021, 4.1836, 4.668, 1.7021, 4.1836, 4.668, 0.9995, 4.1836, -14.0234, 1.7021, 4.1836, -14.0234, 0.9995, 5.8477, 8, 0.9995, 4.1836, 4.668, 1.7021, 5.8477, 8, 1.7021, 5.8477, 8, 0.9995, 4.1836, 4.668, 1.7021, 4.1836, 4.668, 0.9995, 1.2002, 9.0938, 1, -0.4597, 5.7617, 0.9995, 5.8477, 8, 0.9995, 5.8477, 8, 1, -0.4597, 5.7617, 0.9995, 4.1836, 4.668, 1.7021, -0.4597, -12.9297, 1.7021, -0.4597, 5.7617, 1.7021, 4.1836, -14.0234, 1.7021, 4.1836, -14.0234, 1.7021, -0.4597, 5.7617, 1.7021, 4.1836, 4.668, 1.7021, -0.4597, 5.7617, 1.7021, 1.2002, 9.0938, 1.7021, 4.1836, 4.668, 1.7021, 4.1836, 4.668, 1.7021, 1.2002, 9.0938, 1.7021, 5.8477, 8, 1.7021, 1.2002, 9.0938, 0.9995, 1.2002, 9.0938, 1.7021, 5.8477, 8, 1.7021, 5.8477, 8, 0.9995, 1.2002, 9.0938, 0.9995, 5.8477, 8, -4.0039, 3.5254, 20.1563, -4.0039, 2.377, 20.1563, -3.2148, 3.5254, 17.2813, -3.2148, 3.5254, 17.2813, -4.0039, 2.377, 20.1563, -3.2148, 2.377, 17.2813, -3.2148, 3.5254, 17.2813, -3.2148, 2.377, 17.2813, 1.4775, 3.5254, 17.2813, 1.4775, 3.5254, 17.2813, -3.2148, 2.377, 17.2813, 1.4775, 2.377, 17.2813, 1.4775, 3.5254, 17.2813, 1.4775, 2.377, 17.2813, 1.4775, 3.5254, 20.1563, 1.4775, 3.5254, 20.1563, 1.4775, 2.377, 17.2813, 1.4775, 2.377, 20.1563, -4.0039, 3.5254, 20.1563, 1.4775, 3.5254, 20.1563, -4.0039, 4.7305, 20.1563, -4.0039, 4.7305, 20.1563, 1.4775, 3.5254, 20.1563, 1.4775, 4.7305, 20.1563, 1.4775, 2.377, 17.2813, -3.2148, 2.377, 17.2813, 1.4775, 2.377, 20.1563, 1.4775, 2.377, 20.1563, -3.2148, 2.377, 17.2813, -4.0039, 2.377, 20.1563, -3.2148, 3.5254, 17.2813, 1.4775, 3.5254, 17.2813, -4.0039, 3.5254, 20.1563, -4.0039, 3.5254, 20.1563, 1.4775, 3.5254, 17.2813, 1.4775, 3.5254, 20.1563, 1.4775, 3.5254, 23.1094, 1.4775, 2.377, 23.1094, -4.6602, 3.5254, 23.1094, -4.6602, 3.5254, 23.1094, 1.4775, 2.377, 23.1094, -4.0039, 2.377, 23.1094, 1.4775, 3.5254, 20.1563, 1.4775, 2.377, 20.1563, 1.4775, 3.5254, 23.1094, 1.4775, 3.5254, 23.1094, 1.4775, 2.377, 20.1563, 1.4775, 2.377, 23.1094, -4.0039, 2.377, 20.1563, -4.0039, 3.5254, 20.1563, -4.0039, 2.377, 23.1094, -4.0039, 2.377, 23.1094, -4.0039, 3.5254, 20.1563, -4.6602, 3.5254, 23.1094, 1.4775, 2.377, 20.1563, -4.0039, 2.377, 20.1563, 1.4775, 2.377, 23.1094, 1.4775, 2.377, 23.1094, -4.0039, 2.377, 20.1563, -4.0039, 2.377, 23.1094, -4.0039, 4.7305, 20.1563, 1.4775, 4.7305, 20.1563, -4.6602, 4.7305, 23.1094, -4.6602, 4.7305, 23.1094, 1.4775, 4.7305, 20.1563, 1.4775, 4.7305, 23.1094, -4.6602, 3.5254, 23.1094, -4.0039, 3.5254, 20.1563, -4.6602, 4.7305, 23.1094, -4.6602, 4.7305, 23.1094, -4.0039, 3.5254, 20.1563, -4.0039, 4.7305, 20.1563, 1.4775, 3.5254, 20.1563, 1.4775, 3.5254, 23.1094, 1.4775, 4.7305, 20.1563, 1.4775, 4.7305, 20.1563, 1.4775, 3.5254, 23.1094, 1.4775, 4.7305, 23.1094, 1.4775, 4.7305, 23.1094, 1.4775, 3.5254, 23.1094, 1.4775, 4.7305, 26.1563, 1.4775, 4.7305, 26.1563, 1.4775, 3.5254, 23.1094, 1.4775, 3.5254, 26.1563, 1.4775, 3.5254, 26.1563, -4.6602, 3.5254, 26.1563, 1.4775, 4.7305, 26.1563, 1.4775, 4.7305, 26.1563, -4.6602, 3.5254, 26.1563, -5.5508, 4.7305, 26.1563, 1.4775, 4.7305, 26.1563, -5.5508, 4.7305, 26.1563, 1.4775, 4.7305, 28.7969, 1.4775, 4.7305, 28.7969, -5.5508, 4.7305, 26.1563, -6.3047, 4.7305, 28.7969, 1.4775, 3.5254, 23.1094, -4.6602, 3.5254, 23.1094, 1.4775, 3.5254, 26.1563, 1.4775, 3.5254, 26.1563, -4.6602, 3.5254, 23.1094, -4.6602, 3.5254, 26.1563, -4.6602, 3.5254, 23.1094, -4.6602, 4.7305, 23.1094, -4.6602, 3.5254, 26.1563, -4.6602, 3.5254, 26.1563, -4.6602, 4.7305, 23.1094, -5.5508, 4.7305, 26.1563, -4.6602, 5.7578, 23.1094, 1.4775, 5.7578, 23.1094, -5.5508, 5.7578, 26.1563, -5.5508, 5.7578, 26.1563, 1.4775, 5.7578, 23.1094, 1.4775, 5.7578, 26.1563, -5.5508, 4.7305, 26.1563, -4.6602, 4.7305, 23.1094, -5.5508, 5.7578, 26.1563, -5.5508, 5.7578, 26.1563, -4.6602, 4.7305, 23.1094, -4.6602, 5.7578, 23.1094, -4.6602, 4.7305, 23.1094, 1.4775, 4.7305, 23.1094, -4.6602, 5.7578, 23.1094, -4.6602, 5.7578, 23.1094, 1.4775, 4.7305, 23.1094, 1.4775, 5.7578, 23.1094, 1.4775, 4.7305, 23.1094, 1.4775, 4.7305, 26.1563, 1.4775, 5.7578, 23.1094, 1.4775, 5.7578, 23.1094, 1.4775, 4.7305, 26.1563, 1.4775, 5.7578, 26.1563, 1.4775, 4.7305, 28.7969, -6.3047, 4.7305, 28.7969, 1.4775, 5.7578, 28.7969, 1.4775, 5.7578, 28.7969, -6.3047, 4.7305, 28.7969, -6.3047, 5.7578, 28.7969, 1.4775, 5.7578, 26.1563, 1.4775, 4.7305, 26.1563, 1.4775, 5.7578, 28.7969, 1.4775, 5.7578, 28.7969, 1.4775, 4.7305, 26.1563, 1.4775, 4.7305, 28.7969, -5.5508, 4.7305, 26.1563, -5.5508, 5.7578, 26.1563, -6.3047, 4.7305, 28.7969, -6.3047, 4.7305, 28.7969, -5.5508, 5.7578, 26.1563, -6.3047, 5.7578, 28.7969, -6.3047, 5.7578, 28.7969, -5.5508, 5.7578, 26.1563, -6.3047, 6.7734, 28.7969, -6.3047, 6.7734, 28.7969, -5.5508, 5.7578, 26.1563, -5.5508, 6.7734, 26.1563, -5.5508, 6.7734, 26.1563, 1.4775, 6.7734, 26.1563, -6.3047, 6.7734, 28.7969, -6.3047, 6.7734, 28.7969, 1.4775, 6.7734, 26.1563, 1.4775, 6.7734, 28.7969, 1.4775, 5.7578, 28.7969, -6.3047, 5.7578, 28.7969, 1.4775, 6.7734, 28.7969, 1.4775, 6.7734, 28.7969, -6.3047, 5.7578, 28.7969, -6.3047, 6.7734, 28.7969, 1.4775, 5.7578, 26.1563, 1.4775, 5.7578, 28.7969, 1.4775, 6.7734, 26.1563, 1.4775, 6.7734, 26.1563, 1.4775, 5.7578, 28.7969, 1.4775, 6.7734, 28.7969, -5.5508, 5.7578, 26.1563, 1.4775, 5.7578, 26.1563, -5.5508, 6.7734, 26.1563, -5.5508, 6.7734, 26.1563, 1.4775, 5.7578, 26.1563, 1.4775, 6.7734, 26.1563, -22.5156, -8.4297, 49.5625, -22.5156, -10.3906, 49.1563, -23.0938, -3.3984, 24.1094, -23.0938, -3.3984, 24.1094, -22.5156, -10.3906, 49.1563, -23.0938, -5.3594, 23.7188, -23.0938, -3.3984, 24.1094, -23.0938, -5.3594, 23.7188, 8.3594, -3.2285, 23.4375, 8.3594, -3.2285, 23.4375, -23.0938, -5.3594, 23.7188, 8.3594, -5.1875, 23.0469, 8.3594, -3.2285, 23.4375, 8.3594, -5.1875, 23.0469, 8.9297, -8.2656, 48.875, 8.9297, -8.2656, 48.875, 8.3594, -5.1875, 23.0469, 8.9375, -10.2266, 48.5, 8.9297, -8.2656, 48.875, 8.9375, -10.2266, 48.5, -22.5156, -8.4297, 49.5625, -22.5156, -8.4297, 49.5625, 8.9375, -10.2266, 48.5, -22.5156, -10.3906, 49.1563, 8.3594, -5.1875, 23.0469, -23.0938, -5.3594, 23.7188, 8.9375, -10.2266, 48.5, 8.9375, -10.2266, 48.5, -23.0938, -5.3594, 23.7188, -22.5156, -10.3906, 49.1563, -23.0938, -3.3984, 24.1094, 8.3594, -3.2285, 23.4375, -22.5156, -8.4297, 49.5625, -22.5156, -8.4297, 49.5625, 8.3594, -3.2285, 23.4375, 8.9297, -8.2656, 48.875, -7.2188, 12.8594, 24.5156, -7.2188, 12.2422, 24.5156, -4.6094, 12.8594, 14.2734, -4.6094, 12.8594, 14.2734, -7.2188, 12.2422, 24.5156, -4.6094, 11.5313, 14.2734, -4.6094, 11.5313, 14.2734, 2.0371, 11.5313, 14.2734, -2.0586, 14.8203, 9.0547, -2.0586, 14.8203, 9.0547, 2.0371, 11.5313, 14.2734, 3.9688, 14.8203, 9.0547, 2.0371, 12.8594, 14.2734, 2.0371, 11.5313, 14.2734, 2.0371, 12.8594, 24.5156, 2.0371, 12.8594, 24.5156, 2.0371, 11.5313, 14.2734, 2.0371, 12.2422, 24.5156, 2.0371, 12.8594, 24.5156, 2.0371, 12.2422, 24.5156, -7.2188, 12.8594, 24.5156, -7.2188, 12.8594, 24.5156, 2.0371, 12.2422, 24.5156, -7.2188, 12.2422, 24.5156, 2.0371, 11.5313, 14.2734, -4.6094, 11.5313, 14.2734, 2.0371, 12.2422, 24.5156, 2.0371, 12.2422, 24.5156, -4.6094, 11.5313, 14.2734, -7.2188, 12.2422, 24.5156, -4.6094, 12.8594, 14.2734, 2.0371, 12.8594, 14.2734, -7.2188, 12.8594, 24.5156, -7.2188, 12.8594, 24.5156, 2.0371, 12.8594, 14.2734, 2.0371, 12.8594, 24.5156, -2.0586, 15.0781, 9.0547, -2.0586, 14.8203, 9.0547, 3.9688, 15.0781, 9.0547, 3.9688, 15.0781, 9.0547, -2.0586, 14.8203, 9.0547, 3.9688, 14.8203, 9.0547, 2.0371, 12.8594, 14.2734, -4.6094, 12.8594, 14.2734, 3.9688, 15.0781, 9.0547, 3.9688, 15.0781, 9.0547, -4.6094, 12.8594, 14.2734, -2.0586, 15.0781, 9.0547, -4.6094, 12.8594, 14.2734, -4.6094, 11.5313, 14.2734, -2.0586, 15.0781, 9.0547, -2.0586, 15.0781, 9.0547, -4.6094, 11.5313, 14.2734, -2.0586, 14.8203, 9.0547, 2.0371, 11.5313, 14.2734, 2.0371, 12.8594, 14.2734, 3.9688, 14.8203, 9.0547, 3.9688, 14.8203, 9.0547, 2.0371, 12.8594, 14.2734, 3.9688, 15.0781, 9.0547 ) -[node name="Level" index="0" instance=ExtResource( 1 )] +[node name="Level" instance=ExtResource( 1 )] [node name="DirectionalLight" parent="." index="0"] diff --git a/scenes/levels/2.tscn b/scenes/levels/2.tscn index 0b4eac3..906d270 100644 --- a/scenes/levels/2.tscn +++ b/scenes/levels/2.tscn @@ -53,7 +53,6 @@ uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false -_sections_unfolded = [ "Albedo", "Metallic" ] [sub_resource type="ConcavePolygonShape" id=2] @@ -70,7 +69,7 @@ subdivide_width = 0 subdivide_height = 0 subdivide_depth = 0 -[node name="Level" index="0" instance=ExtResource( 1 )] +[node name="Level" instance=ExtResource( 1 )] [node name="DirectionalLight" parent="." index="0"] @@ -95,7 +94,6 @@ mesh = ExtResource( 2 ) material/0 = SubResource( 1 ) material/1 = null material/2 = null -_sections_unfolded = [ "material" ] [node name="StaticBody" type="StaticBody" parent="MainGeometry" index="0"] diff --git a/scenes/lobby.tscn b/scenes/lobby.tscn index 92187e5..36112b9 100644 --- a/scenes/lobby.tscn +++ b/scenes/lobby.tscn @@ -6,7 +6,6 @@ [sub_resource type="DynamicFontData" id=1] font_path = "res://assets/DejaVuSansMono.ttf" -_sections_unfolded = [ "Resource" ] [sub_resource type="DynamicFont" id=2] @@ -14,12 +13,10 @@ size = 30 use_mipmaps = false use_filter = false font_data = SubResource( 1 ) -_sections_unfolded = [ "Extra Spacing", "Font", "Resource", "Settings" ] [sub_resource type="DynamicFontData" id=3] font_path = "res://assets/DejaVuSansMono.ttf" -_sections_unfolded = [ "Resource" ] [sub_resource type="DynamicFont" id=4] @@ -27,9 +24,8 @@ size = 16 use_mipmaps = false use_filter = false font_data = SubResource( 3 ) -_sections_unfolded = [ "Font", "Resource", "Settings" ] -[node name="Lobby" type="Control" index="0"] +[node name="Lobby" type="Control"] anchor_left = 0.0 anchor_top = 0.0 @@ -45,7 +41,6 @@ mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 script = ExtResource( 1 ) -_sections_unfolded = [ "Anchor" ] [node name="Title" type="Label" parent="." index="0"] @@ -67,7 +62,6 @@ text = "VANAGLORIA" percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "custom_fonts" ] [node name="GameBrowser" type="Control" parent="." index="1"] @@ -538,7 +532,6 @@ text = "IP:" percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "Visibility" ] [node name="IP" type="TextEdit" parent="CustomGame" index="5"] @@ -669,7 +662,6 @@ text = "Waiting for players to connect...." percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "BBCode", "custom_fonts" ] [node name="StartGame" type="Button" parent="JoinedGameLobby" index="2"] @@ -694,6 +686,5 @@ group = null text = "Start game" flat = false align = 1 -_sections_unfolded = [ "Visibility" ] diff --git a/scenes/objective.tscn b/scenes/objective.tscn index 5a91bc8..f0ae58a 100644 --- a/scenes/objective.tscn +++ b/scenes/objective.tscn @@ -58,7 +58,6 @@ uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false -_sections_unfolded = [ "Albedo" ] [sub_resource type="CapsuleShape" id=3] @@ -71,9 +70,8 @@ size = 50 use_mipmaps = false use_filter = false font_data = ExtResource( 3 ) -_sections_unfolded = [ "Extra Spacing", "Font", "Resource", "Settings" ] -[node name="FullObjective" type="Spatial" index="0"] +[node name="FullObjective" type="Spatial"] [node name="Objective" type="RigidBody" parent="." index="0"] @@ -103,13 +101,11 @@ linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 script = ExtResource( 1 ) -_sections_unfolded = [ "Axis Lock", "Collision", "Linear", "Transform", "Visibility" ] [node name="CollisionShape" type="CollisionShape" parent="Objective" index="0"] shape = SubResource( 1 ) disabled = false -_sections_unfolded = [ "Transform" ] [node name="MeshInstance" type="MeshInstance" parent="Objective" index="1"] @@ -125,7 +121,6 @@ lod_max_hysteresis = 0.0 mesh = ExtResource( 2 ) skeleton = NodePath("..") material/0 = SubResource( 2 ) -_sections_unfolded = [ "Transform", "material" ] [node name="HingeJoint" type="HingeJoint" parent="." index="1"] @@ -144,7 +139,6 @@ angular_limit/relaxation = 1.0 motor/enable = false motor/target_velocity = 1.0 motor/max_impulse = 1.0 -_sections_unfolded = [ "Transform", "Visibility", "angular_limit", "collision", "motor", "nodes", "params", "solver" ] [node name="Rod" type="StaticBody" parent="." index="2"] @@ -157,13 +151,11 @@ friction = 1.0 bounce = 0.0 constant_linear_velocity = Vector3( 0, 0, 0 ) constant_angular_velocity = Vector3( 0, 0, 0 ) -_sections_unfolded = [ "Collision", "Transform" ] [node name="CollisionShape" type="CollisionShape" parent="Rod" index="0"] shape = SubResource( 3 ) disabled = false -_sections_unfolded = [ "Transform", "Visibility" ] [node name="HUD" type="Control" parent="." index="3"] @@ -217,7 +209,6 @@ align = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "Theme" ] [node name="RightTeam" type="Label" parent="HUD" index="2"] @@ -261,6 +252,5 @@ align = 1 percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ] diff --git a/scenes/test-level.tscn b/scenes/test-level.tscn index 7dcaa26..916f555 100644 --- a/scenes/test-level.tscn +++ b/scenes/test-level.tscn @@ -29,7 +29,6 @@ size = 16 use_mipmaps = false use_filter = false font_data = SubResource( 4 ) -_sections_unfolded = [ "Font", "Resource" ] [node name="world" type="Spatial"] @@ -63,7 +62,6 @@ directional_shadow_max_distance = 200.0 [node name="players" type="Spatial" parent="." index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.4634, 0 ) -_sections_unfolded = [ "Transform", "Visibility" ] [node name="Maze" type="MeshInstance" parent="." index="2"] @@ -125,13 +123,11 @@ linear_velocity = Vector3( 0, 0, 0 ) linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 -_sections_unfolded = [ "Collision", "Pause", "Transform", "Visibility" ] [node name="CollisionShape" type="CollisionShape" parent="Ball" index="0"] shape = SubResource( 2 ) disabled = false -_sections_unfolded = [ "Transform", "Visibility" ] [node name="MeshInstance" type="MeshInstance" parent="Ball" index="1"] @@ -147,12 +143,10 @@ lod_max_hysteresis = 0.0 mesh = SubResource( 3 ) skeleton = NodePath("..") material/0 = null -_sections_unfolded = [ "Geometry", "Transform", "material" ] [node name="FullObjective" parent="." index="4" instance=ExtResource( 2 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -91.3336, 2.0316, 4.06596 ) -_sections_unfolded = [ "Transform" ] [node name="Debug" type="Label" parent="." index="5"] @@ -174,12 +168,10 @@ custom_fonts/font = SubResource( 5 ) percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 -_sections_unfolded = [ "Anchor", "Focus", "Grow Direction", "Hint", "Margin", "Material", "Mouse", "Pause", "Rect", "Size Flags", "Theme", "Visibility", "custom_colors", "custom_constants", "custom_fonts", "custom_styles" ] [node name="LeftSpawn" type="Spatial" parent="." index="6"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.96426, 9.36109 ) -_sections_unfolded = [ "Transform" ] [node name="RightSpawn" type="Spatial" parent="." index="7"] From cdf74110f22a7cc0a62815537883075980931c81 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 15:46:49 -0400 Subject: [PATCH 18/72] Add .import files needed for running from source --- .gitignore | 1 - assets/heroes/0.obj.import | 19 + assets/heroes/0_head.obj.import | 19 + assets/heroes/1.obj.import | 19 + assets/heroes/1_head.obj.import | 19 + assets/heroes/2.obj.import | 19 + assets/heroes/2_head.obj.import | 19 + assets/heroes/3.obj.import | 19 + assets/heroes/3_head.obj.import | 19 + assets/heroes/4.obj.import | 19 + assets/heroes/4_beam.obj.import | 19 + assets/heroes/4_head.obj.import | 19 + assets/heroes/5.obj.import | 19 + assets/heroes/5_head.obj.import | 19 + assets/heroes/5_portal.obj.import | 19 + assets/levels/0.obj.import | 19 + assets/levels/1.obj.import | 19 + assets/levels/2.dae.import | 1065 +++++++++++++++++++++++++++++++++++++ assets/levels/2.obj.import | 19 + assets/maze-high-obj.obj.import | 19 + assets/maze.obj.import | 19 + assets/objective-left.png.import | 32 ++ assets/objective-right.png.import | 32 ++ assets/objective.obj.import | 19 + assets/player.obj.import | 19 + docs/2018-02-14-heroes.png.import | 32 ++ icon.png.import | 32 ++ 27 files changed, 1592 insertions(+), 1 deletion(-) create mode 100644 assets/heroes/0.obj.import create mode 100644 assets/heroes/0_head.obj.import create mode 100644 assets/heroes/1.obj.import create mode 100644 assets/heroes/1_head.obj.import create mode 100644 assets/heroes/2.obj.import create mode 100644 assets/heroes/2_head.obj.import create mode 100644 assets/heroes/3.obj.import create mode 100644 assets/heroes/3_head.obj.import create mode 100644 assets/heroes/4.obj.import create mode 100644 assets/heroes/4_beam.obj.import create mode 100644 assets/heroes/4_head.obj.import create mode 100644 assets/heroes/5.obj.import create mode 100644 assets/heroes/5_head.obj.import create mode 100644 assets/heroes/5_portal.obj.import create mode 100644 assets/levels/0.obj.import create mode 100644 assets/levels/1.obj.import create mode 100644 assets/levels/2.dae.import create mode 100644 assets/levels/2.obj.import create mode 100644 assets/maze-high-obj.obj.import create mode 100644 assets/maze.obj.import create mode 100644 assets/objective-left.png.import create mode 100644 assets/objective-right.png.import create mode 100644 assets/objective.obj.import create mode 100644 assets/player.obj.import create mode 100644 docs/2018-02-14-heroes.png.import create mode 100644 icon.png.import diff --git a/.gitignore b/.gitignore index a522fb4..0d731b2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ *.swo .fscache .import -*.import *.blend1 nohup.out recordings diff --git a/assets/heroes/0.obj.import b/assets/heroes/0.obj.import new file mode 100644 index 0000000..db296f2 --- /dev/null +++ b/assets/heroes/0.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/0.obj-5ff3661b08325671ce64079449bc78dd.mesh" + +[deps] + +files=[ "res://.import/0.obj-5ff3661b08325671ce64079449bc78dd.mesh" ] + +source_file="res://assets/heroes/0.obj" +source_md5="214f8b376199d3c947df1d85a0928dec" + +dest_files=[ "res://.import/0.obj-5ff3661b08325671ce64079449bc78dd.mesh", "res://.import/0.obj-5ff3661b08325671ce64079449bc78dd.mesh" ] +dest_md5="4306afcb3a4b4978cce778634c97e7d0" + +[params] + +generate_tangents=true diff --git a/assets/heroes/0_head.obj.import b/assets/heroes/0_head.obj.import new file mode 100644 index 0000000..7840441 --- /dev/null +++ b/assets/heroes/0_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/0_head.obj-0b002be4b283361f171e2d4dd9a85105.mesh" + +[deps] + +files=[ "res://.import/0_head.obj-0b002be4b283361f171e2d4dd9a85105.mesh" ] + +source_file="res://assets/heroes/0_head.obj" +source_md5="4ae67462b018895ed3f258a0db4239e4" + +dest_files=[ "res://.import/0_head.obj-0b002be4b283361f171e2d4dd9a85105.mesh", "res://.import/0_head.obj-0b002be4b283361f171e2d4dd9a85105.mesh" ] +dest_md5="7094164b68aeac1c4dd9bd292282e4b9" + +[params] + +generate_tangents=true diff --git a/assets/heroes/1.obj.import b/assets/heroes/1.obj.import new file mode 100644 index 0000000..dbf44af --- /dev/null +++ b/assets/heroes/1.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/1.obj-3a9ae1e4a3d92228bd05741755fdbcdd.mesh" + +[deps] + +files=[ "res://.import/1.obj-3a9ae1e4a3d92228bd05741755fdbcdd.mesh" ] + +source_file="res://assets/heroes/1.obj" +source_md5="6a83c78e54b84bd01eb44630c48362f2" + +dest_files=[ "res://.import/1.obj-3a9ae1e4a3d92228bd05741755fdbcdd.mesh", "res://.import/1.obj-3a9ae1e4a3d92228bd05741755fdbcdd.mesh" ] +dest_md5="808804a04eb10327391dd96c30f14435" + +[params] + +generate_tangents=true diff --git a/assets/heroes/1_head.obj.import b/assets/heroes/1_head.obj.import new file mode 100644 index 0000000..60bc839 --- /dev/null +++ b/assets/heroes/1_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/1_head.obj-661a3a390ef1299857e3de1aba5a1d01.mesh" + +[deps] + +files=[ "res://.import/1_head.obj-661a3a390ef1299857e3de1aba5a1d01.mesh" ] + +source_file="res://assets/heroes/1_head.obj" +source_md5="78a4e4475d699dbd061ec9a916cbd606" + +dest_files=[ "res://.import/1_head.obj-661a3a390ef1299857e3de1aba5a1d01.mesh", "res://.import/1_head.obj-661a3a390ef1299857e3de1aba5a1d01.mesh" ] +dest_md5="65c8304300dd9929d0b3b008623845a0" + +[params] + +generate_tangents=true diff --git a/assets/heroes/2.obj.import b/assets/heroes/2.obj.import new file mode 100644 index 0000000..b9e3bec --- /dev/null +++ b/assets/heroes/2.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/2.obj-85c8b4ac312b9585e4dda4f545679e80.mesh" + +[deps] + +files=[ "res://.import/2.obj-85c8b4ac312b9585e4dda4f545679e80.mesh" ] + +source_file="res://assets/heroes/2.obj" +source_md5="7b2a64047a6477edd16b10f1c8601e15" + +dest_files=[ "res://.import/2.obj-85c8b4ac312b9585e4dda4f545679e80.mesh", "res://.import/2.obj-85c8b4ac312b9585e4dda4f545679e80.mesh" ] +dest_md5="cf97b53977d069c0f48e104093031357" + +[params] + +generate_tangents=true diff --git a/assets/heroes/2_head.obj.import b/assets/heroes/2_head.obj.import new file mode 100644 index 0000000..78e75e3 --- /dev/null +++ b/assets/heroes/2_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/2_head.obj-642d7e5721ba3621d4aeef33bf9079f3.mesh" + +[deps] + +files=[ "res://.import/2_head.obj-642d7e5721ba3621d4aeef33bf9079f3.mesh" ] + +source_file="res://assets/heroes/2_head.obj" +source_md5="3800b7ca51634172c29e2627d0688739" + +dest_files=[ "res://.import/2_head.obj-642d7e5721ba3621d4aeef33bf9079f3.mesh", "res://.import/2_head.obj-642d7e5721ba3621d4aeef33bf9079f3.mesh" ] +dest_md5="f41bf13cd6278973e335edcb5af07800" + +[params] + +generate_tangents=true diff --git a/assets/heroes/3.obj.import b/assets/heroes/3.obj.import new file mode 100644 index 0000000..2a8a081 --- /dev/null +++ b/assets/heroes/3.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/3.obj-a2b36e0242832fc3ee6cf8133bec1df6.mesh" + +[deps] + +files=[ "res://.import/3.obj-a2b36e0242832fc3ee6cf8133bec1df6.mesh" ] + +source_file="res://assets/heroes/3.obj" +source_md5="ae31181eed13485b325d439fd465e246" + +dest_files=[ "res://.import/3.obj-a2b36e0242832fc3ee6cf8133bec1df6.mesh", "res://.import/3.obj-a2b36e0242832fc3ee6cf8133bec1df6.mesh" ] +dest_md5="3afa20d19f1fa09fcf2fee691c245317" + +[params] + +generate_tangents=true diff --git a/assets/heroes/3_head.obj.import b/assets/heroes/3_head.obj.import new file mode 100644 index 0000000..a2f1225 --- /dev/null +++ b/assets/heroes/3_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/3_head.obj-31149354fd38179ee6897017177772af.mesh" + +[deps] + +files=[ "res://.import/3_head.obj-31149354fd38179ee6897017177772af.mesh" ] + +source_file="res://assets/heroes/3_head.obj" +source_md5="4f6b31cfbe16a55cce978896cf8b0b12" + +dest_files=[ "res://.import/3_head.obj-31149354fd38179ee6897017177772af.mesh", "res://.import/3_head.obj-31149354fd38179ee6897017177772af.mesh" ] +dest_md5="8ba28a8f98e213a2382b508bb344084c" + +[params] + +generate_tangents=true diff --git a/assets/heroes/4.obj.import b/assets/heroes/4.obj.import new file mode 100644 index 0000000..8be5592 --- /dev/null +++ b/assets/heroes/4.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/4.obj-773905e6e7c2c08ad34fe36bfaacca4e.mesh" + +[deps] + +files=[ "res://.import/4.obj-773905e6e7c2c08ad34fe36bfaacca4e.mesh" ] + +source_file="res://assets/heroes/4.obj" +source_md5="8a2ea58bae6a5ba0b5a28b7ab6163ed9" + +dest_files=[ "res://.import/4.obj-773905e6e7c2c08ad34fe36bfaacca4e.mesh", "res://.import/4.obj-773905e6e7c2c08ad34fe36bfaacca4e.mesh" ] +dest_md5="93358c6c816510bd069825e089cee878" + +[params] + +generate_tangents=true diff --git a/assets/heroes/4_beam.obj.import b/assets/heroes/4_beam.obj.import new file mode 100644 index 0000000..7e5cf97 --- /dev/null +++ b/assets/heroes/4_beam.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/4_beam.obj-00b64391bae3ea00b0d3ef163bfa8860.mesh" + +[deps] + +files=[ "res://.import/4_beam.obj-00b64391bae3ea00b0d3ef163bfa8860.mesh" ] + +source_file="res://assets/heroes/4_beam.obj" +source_md5="8583eb948f98e108f6848c4fc96a2562" + +dest_files=[ "res://.import/4_beam.obj-00b64391bae3ea00b0d3ef163bfa8860.mesh", "res://.import/4_beam.obj-00b64391bae3ea00b0d3ef163bfa8860.mesh" ] +dest_md5="76cbfe93be8dd02d9519c5284d1e638f" + +[params] + +generate_tangents=true diff --git a/assets/heroes/4_head.obj.import b/assets/heroes/4_head.obj.import new file mode 100644 index 0000000..9af9276 --- /dev/null +++ b/assets/heroes/4_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/4_head.obj-0f05fd2c5005558302023bc511be8ae6.mesh" + +[deps] + +files=[ "res://.import/4_head.obj-0f05fd2c5005558302023bc511be8ae6.mesh" ] + +source_file="res://assets/heroes/4_head.obj" +source_md5="2ed548efe830daac45b9e4fa4b5b1b73" + +dest_files=[ "res://.import/4_head.obj-0f05fd2c5005558302023bc511be8ae6.mesh", "res://.import/4_head.obj-0f05fd2c5005558302023bc511be8ae6.mesh" ] +dest_md5="9a188b6c84c8a296472464a3366650fc" + +[params] + +generate_tangents=true diff --git a/assets/heroes/5.obj.import b/assets/heroes/5.obj.import new file mode 100644 index 0000000..d8ee356 --- /dev/null +++ b/assets/heroes/5.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/5.obj-aae555f5fa1f112fdc160f94735bf9d5.mesh" + +[deps] + +files=[ "res://.import/5.obj-aae555f5fa1f112fdc160f94735bf9d5.mesh" ] + +source_file="res://assets/heroes/5.obj" +source_md5="5a020906bcd263a5302ebe5074b43c01" + +dest_files=[ "res://.import/5.obj-aae555f5fa1f112fdc160f94735bf9d5.mesh", "res://.import/5.obj-aae555f5fa1f112fdc160f94735bf9d5.mesh" ] +dest_md5="bb5b4b3ca681eb185284560d7f4a8aed" + +[params] + +generate_tangents=true diff --git a/assets/heroes/5_head.obj.import b/assets/heroes/5_head.obj.import new file mode 100644 index 0000000..c14f359 --- /dev/null +++ b/assets/heroes/5_head.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/5_head.obj-99b3a2eaf8ae9e841b6fdcc8d4884ea7.mesh" + +[deps] + +files=[ "res://.import/5_head.obj-99b3a2eaf8ae9e841b6fdcc8d4884ea7.mesh" ] + +source_file="res://assets/heroes/5_head.obj" +source_md5="453157b7ed836fe44c392ad6dda3ff67" + +dest_files=[ "res://.import/5_head.obj-99b3a2eaf8ae9e841b6fdcc8d4884ea7.mesh", "res://.import/5_head.obj-99b3a2eaf8ae9e841b6fdcc8d4884ea7.mesh" ] +dest_md5="a2bc2ff9d1a92c3be2c8477eceb08768" + +[params] + +generate_tangents=true diff --git a/assets/heroes/5_portal.obj.import b/assets/heroes/5_portal.obj.import new file mode 100644 index 0000000..7ffa2e6 --- /dev/null +++ b/assets/heroes/5_portal.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/5_portal.obj-a337ed5122c40b180597dd9794ecfe6d.mesh" + +[deps] + +files=[ "res://.import/5_portal.obj-a337ed5122c40b180597dd9794ecfe6d.mesh" ] + +source_file="res://assets/heroes/5_portal.obj" +source_md5="bc944713e3a053455322914a39987891" + +dest_files=[ "res://.import/5_portal.obj-a337ed5122c40b180597dd9794ecfe6d.mesh", "res://.import/5_portal.obj-a337ed5122c40b180597dd9794ecfe6d.mesh" ] +dest_md5="b63a25154e6cdd3e7bcb1a3fe4e0e04a" + +[params] + +generate_tangents=true diff --git a/assets/levels/0.obj.import b/assets/levels/0.obj.import new file mode 100644 index 0000000..034df77 --- /dev/null +++ b/assets/levels/0.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/0.obj-75904c05129c42580cc5d5c2ce0f88f4.mesh" + +[deps] + +files=[ "res://.import/0.obj-75904c05129c42580cc5d5c2ce0f88f4.mesh" ] + +source_file="res://assets/levels/0.obj" +source_md5="c43e5185ee65f03ac94dc947611d85d5" + +dest_files=[ "res://.import/0.obj-75904c05129c42580cc5d5c2ce0f88f4.mesh", "res://.import/0.obj-75904c05129c42580cc5d5c2ce0f88f4.mesh" ] +dest_md5="23c015582e544d38c3302925e86550ca" + +[params] + +generate_tangents=true diff --git a/assets/levels/1.obj.import b/assets/levels/1.obj.import new file mode 100644 index 0000000..f62774f --- /dev/null +++ b/assets/levels/1.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/1.obj-8c0967187ed7a9d970c8667286d96ec8.mesh" + +[deps] + +files=[ "res://.import/1.obj-8c0967187ed7a9d970c8667286d96ec8.mesh" ] + +source_file="res://assets/levels/1.obj" +source_md5="c76ce309215e4ab659d00d70f85051c1" + +dest_files=[ "res://.import/1.obj-8c0967187ed7a9d970c8667286d96ec8.mesh", "res://.import/1.obj-8c0967187ed7a9d970c8667286d96ec8.mesh" ] +dest_md5="772c79044dd30ef6a01e2c1b99e3f78c" + +[params] + +generate_tangents=true diff --git a/assets/levels/2.dae.import b/assets/levels/2.dae.import new file mode 100644 index 0000000..b15d042 --- /dev/null +++ b/assets/levels/2.dae.import @@ -0,0 +1,1065 @@ +[remap] + +importer="scene" +type="PackedScene" +path="res://.import/2.dae-83174786709253a298266e3265ca3c25.scn" + +[deps] + +source_file="res://assets/levels/2.dae" +source_md5="84d7de37fe7be63f3b4e14b95f5c32ef" + +dest_files=[ "res://.import/2.dae-83174786709253a298266e3265ca3c25.scn" ] +dest_md5="6bda751ca4d80216f370598be2f292c7" + +[params] + +nodes/root_type="Spatial" +nodes/root_name="Scene Root" +nodes/root_scale=1.0 +nodes/custom_script="" +nodes/storage=0 +materials/location=1 +materials/storage=1 +materials/keep_on_reimport=true +meshes/compress=true +meshes/ensure_tangents=true +meshes/storage=0 +meshes/light_baking=0 +meshes/lightmap_texel_size=0.1 +external_files/store_in_subdir=false +animation/import=true +animation/fps=15 +animation/filter_script="" +animation/storage=false +animation/keep_custom_tracks=false +animation/optimizer/enabled=true +animation/optimizer/max_linear_error=0.05 +animation/optimizer/max_angular_error=0.01 +animation/optimizer/max_angle=22 +animation/optimizer/remove_unused_tracks=true +animation/clips/amount=0 +animation/clip_1/name="" +animation/clip_1/start_frame=0 +animation/clip_1/end_frame=0 +animation/clip_1/loops=false +animation/clip_2/name="" +animation/clip_2/start_frame=0 +animation/clip_2/end_frame=0 +animation/clip_2/loops=false +animation/clip_3/name="" +animation/clip_3/start_frame=0 +animation/clip_3/end_frame=0 +animation/clip_3/loops=false +animation/clip_4/name="" +animation/clip_4/start_frame=0 +animation/clip_4/end_frame=0 +animation/clip_4/loops=false +animation/clip_5/name="" +animation/clip_5/start_frame=0 +animation/clip_5/end_frame=0 +animation/clip_5/loops=false +animation/clip_6/name="" +animation/clip_6/start_frame=0 +animation/clip_6/end_frame=0 +animation/clip_6/loops=false +animation/clip_7/name="" +animation/clip_7/start_frame=0 +animation/clip_7/end_frame=0 +animation/clip_7/loops=false +animation/clip_8/name="" +animation/clip_8/start_frame=0 +animation/clip_8/end_frame=0 +animation/clip_8/loops=false +animation/clip_9/name="" +animation/clip_9/start_frame=0 +animation/clip_9/end_frame=0 +animation/clip_9/loops=false +animation/clip_10/name="" +animation/clip_10/start_frame=0 +animation/clip_10/end_frame=0 +animation/clip_10/loops=false +animation/clip_11/name="" +animation/clip_11/start_frame=0 +animation/clip_11/end_frame=0 +animation/clip_11/loops=false +animation/clip_12/name="" +animation/clip_12/start_frame=0 +animation/clip_12/end_frame=0 +animation/clip_12/loops=false +animation/clip_13/name="" +animation/clip_13/start_frame=0 +animation/clip_13/end_frame=0 +animation/clip_13/loops=false +animation/clip_14/name="" +animation/clip_14/start_frame=0 +animation/clip_14/end_frame=0 +animation/clip_14/loops=false +animation/clip_15/name="" +animation/clip_15/start_frame=0 +animation/clip_15/end_frame=0 +animation/clip_15/loops=false +animation/clip_16/name="" +animation/clip_16/start_frame=0 +animation/clip_16/end_frame=0 +animation/clip_16/loops=false +animation/clip_17/name="" +animation/clip_17/start_frame=0 +animation/clip_17/end_frame=0 +animation/clip_17/loops=false +animation/clip_18/name="" +animation/clip_18/start_frame=0 +animation/clip_18/end_frame=0 +animation/clip_18/loops=false +animation/clip_19/name="" +animation/clip_19/start_frame=0 +animation/clip_19/end_frame=0 +animation/clip_19/loops=false +animation/clip_20/name="" +animation/clip_20/start_frame=0 +animation/clip_20/end_frame=0 +animation/clip_20/loops=false +animation/clip_21/name="" +animation/clip_21/start_frame=0 +animation/clip_21/end_frame=0 +animation/clip_21/loops=false +animation/clip_22/name="" +animation/clip_22/start_frame=0 +animation/clip_22/end_frame=0 +animation/clip_22/loops=false +animation/clip_23/name="" +animation/clip_23/start_frame=0 +animation/clip_23/end_frame=0 +animation/clip_23/loops=false +animation/clip_24/name="" +animation/clip_24/start_frame=0 +animation/clip_24/end_frame=0 +animation/clip_24/loops=false +animation/clip_25/name="" +animation/clip_25/start_frame=0 +animation/clip_25/end_frame=0 +animation/clip_25/loops=false +animation/clip_26/name="" +animation/clip_26/start_frame=0 +animation/clip_26/end_frame=0 +animation/clip_26/loops=false +animation/clip_27/name="" +animation/clip_27/start_frame=0 +animation/clip_27/end_frame=0 +animation/clip_27/loops=false +animation/clip_28/name="" +animation/clip_28/start_frame=0 +animation/clip_28/end_frame=0 +animation/clip_28/loops=false +animation/clip_29/name="" +animation/clip_29/start_frame=0 +animation/clip_29/end_frame=0 +animation/clip_29/loops=false +animation/clip_30/name="" +animation/clip_30/start_frame=0 +animation/clip_30/end_frame=0 +animation/clip_30/loops=false +animation/clip_31/name="" +animation/clip_31/start_frame=0 +animation/clip_31/end_frame=0 +animation/clip_31/loops=false +animation/clip_32/name="" +animation/clip_32/start_frame=0 +animation/clip_32/end_frame=0 +animation/clip_32/loops=false +animation/clip_33/name="" +animation/clip_33/start_frame=0 +animation/clip_33/end_frame=0 +animation/clip_33/loops=false +animation/clip_34/name="" +animation/clip_34/start_frame=0 +animation/clip_34/end_frame=0 +animation/clip_34/loops=false +animation/clip_35/name="" +animation/clip_35/start_frame=0 +animation/clip_35/end_frame=0 +animation/clip_35/loops=false +animation/clip_36/name="" +animation/clip_36/start_frame=0 +animation/clip_36/end_frame=0 +animation/clip_36/loops=false +animation/clip_37/name="" +animation/clip_37/start_frame=0 +animation/clip_37/end_frame=0 +animation/clip_37/loops=false +animation/clip_38/name="" +animation/clip_38/start_frame=0 +animation/clip_38/end_frame=0 +animation/clip_38/loops=false +animation/clip_39/name="" +animation/clip_39/start_frame=0 +animation/clip_39/end_frame=0 +animation/clip_39/loops=false +animation/clip_40/name="" +animation/clip_40/start_frame=0 +animation/clip_40/end_frame=0 +animation/clip_40/loops=false +animation/clip_41/name="" +animation/clip_41/start_frame=0 +animation/clip_41/end_frame=0 +animation/clip_41/loops=false +animation/clip_42/name="" +animation/clip_42/start_frame=0 +animation/clip_42/end_frame=0 +animation/clip_42/loops=false +animation/clip_43/name="" +animation/clip_43/start_frame=0 +animation/clip_43/end_frame=0 +animation/clip_43/loops=false +animation/clip_44/name="" +animation/clip_44/start_frame=0 +animation/clip_44/end_frame=0 +animation/clip_44/loops=false +animation/clip_45/name="" +animation/clip_45/start_frame=0 +animation/clip_45/end_frame=0 +animation/clip_45/loops=false +animation/clip_46/name="" +animation/clip_46/start_frame=0 +animation/clip_46/end_frame=0 +animation/clip_46/loops=false +animation/clip_47/name="" +animation/clip_47/start_frame=0 +animation/clip_47/end_frame=0 +animation/clip_47/loops=false +animation/clip_48/name="" +animation/clip_48/start_frame=0 +animation/clip_48/end_frame=0 +animation/clip_48/loops=false +animation/clip_49/name="" +animation/clip_49/start_frame=0 +animation/clip_49/end_frame=0 +animation/clip_49/loops=false +animation/clip_50/name="" +animation/clip_50/start_frame=0 +animation/clip_50/end_frame=0 +animation/clip_50/loops=false +animation/clip_51/name="" +animation/clip_51/start_frame=0 +animation/clip_51/end_frame=0 +animation/clip_51/loops=false +animation/clip_52/name="" +animation/clip_52/start_frame=0 +animation/clip_52/end_frame=0 +animation/clip_52/loops=false +animation/clip_53/name="" +animation/clip_53/start_frame=0 +animation/clip_53/end_frame=0 +animation/clip_53/loops=false +animation/clip_54/name="" +animation/clip_54/start_frame=0 +animation/clip_54/end_frame=0 +animation/clip_54/loops=false +animation/clip_55/name="" +animation/clip_55/start_frame=0 +animation/clip_55/end_frame=0 +animation/clip_55/loops=false +animation/clip_56/name="" +animation/clip_56/start_frame=0 +animation/clip_56/end_frame=0 +animation/clip_56/loops=false +animation/clip_57/name="" +animation/clip_57/start_frame=0 +animation/clip_57/end_frame=0 +animation/clip_57/loops=false +animation/clip_58/name="" +animation/clip_58/start_frame=0 +animation/clip_58/end_frame=0 +animation/clip_58/loops=false +animation/clip_59/name="" +animation/clip_59/start_frame=0 +animation/clip_59/end_frame=0 +animation/clip_59/loops=false +animation/clip_60/name="" +animation/clip_60/start_frame=0 +animation/clip_60/end_frame=0 +animation/clip_60/loops=false +animation/clip_61/name="" +animation/clip_61/start_frame=0 +animation/clip_61/end_frame=0 +animation/clip_61/loops=false +animation/clip_62/name="" +animation/clip_62/start_frame=0 +animation/clip_62/end_frame=0 +animation/clip_62/loops=false +animation/clip_63/name="" +animation/clip_63/start_frame=0 +animation/clip_63/end_frame=0 +animation/clip_63/loops=false +animation/clip_64/name="" +animation/clip_64/start_frame=0 +animation/clip_64/end_frame=0 +animation/clip_64/loops=false +animation/clip_65/name="" +animation/clip_65/start_frame=0 +animation/clip_65/end_frame=0 +animation/clip_65/loops=false +animation/clip_66/name="" +animation/clip_66/start_frame=0 +animation/clip_66/end_frame=0 +animation/clip_66/loops=false +animation/clip_67/name="" +animation/clip_67/start_frame=0 +animation/clip_67/end_frame=0 +animation/clip_67/loops=false +animation/clip_68/name="" +animation/clip_68/start_frame=0 +animation/clip_68/end_frame=0 +animation/clip_68/loops=false +animation/clip_69/name="" +animation/clip_69/start_frame=0 +animation/clip_69/end_frame=0 +animation/clip_69/loops=false +animation/clip_70/name="" +animation/clip_70/start_frame=0 +animation/clip_70/end_frame=0 +animation/clip_70/loops=false +animation/clip_71/name="" +animation/clip_71/start_frame=0 +animation/clip_71/end_frame=0 +animation/clip_71/loops=false +animation/clip_72/name="" +animation/clip_72/start_frame=0 +animation/clip_72/end_frame=0 +animation/clip_72/loops=false +animation/clip_73/name="" +animation/clip_73/start_frame=0 +animation/clip_73/end_frame=0 +animation/clip_73/loops=false +animation/clip_74/name="" +animation/clip_74/start_frame=0 +animation/clip_74/end_frame=0 +animation/clip_74/loops=false +animation/clip_75/name="" +animation/clip_75/start_frame=0 +animation/clip_75/end_frame=0 +animation/clip_75/loops=false +animation/clip_76/name="" +animation/clip_76/start_frame=0 +animation/clip_76/end_frame=0 +animation/clip_76/loops=false +animation/clip_77/name="" +animation/clip_77/start_frame=0 +animation/clip_77/end_frame=0 +animation/clip_77/loops=false +animation/clip_78/name="" +animation/clip_78/start_frame=0 +animation/clip_78/end_frame=0 +animation/clip_78/loops=false +animation/clip_79/name="" +animation/clip_79/start_frame=0 +animation/clip_79/end_frame=0 +animation/clip_79/loops=false +animation/clip_80/name="" +animation/clip_80/start_frame=0 +animation/clip_80/end_frame=0 +animation/clip_80/loops=false +animation/clip_81/name="" +animation/clip_81/start_frame=0 +animation/clip_81/end_frame=0 +animation/clip_81/loops=false +animation/clip_82/name="" +animation/clip_82/start_frame=0 +animation/clip_82/end_frame=0 +animation/clip_82/loops=false +animation/clip_83/name="" +animation/clip_83/start_frame=0 +animation/clip_83/end_frame=0 +animation/clip_83/loops=false +animation/clip_84/name="" +animation/clip_84/start_frame=0 +animation/clip_84/end_frame=0 +animation/clip_84/loops=false +animation/clip_85/name="" +animation/clip_85/start_frame=0 +animation/clip_85/end_frame=0 +animation/clip_85/loops=false +animation/clip_86/name="" +animation/clip_86/start_frame=0 +animation/clip_86/end_frame=0 +animation/clip_86/loops=false +animation/clip_87/name="" +animation/clip_87/start_frame=0 +animation/clip_87/end_frame=0 +animation/clip_87/loops=false +animation/clip_88/name="" +animation/clip_88/start_frame=0 +animation/clip_88/end_frame=0 +animation/clip_88/loops=false +animation/clip_89/name="" +animation/clip_89/start_frame=0 +animation/clip_89/end_frame=0 +animation/clip_89/loops=false +animation/clip_90/name="" +animation/clip_90/start_frame=0 +animation/clip_90/end_frame=0 +animation/clip_90/loops=false +animation/clip_91/name="" +animation/clip_91/start_frame=0 +animation/clip_91/end_frame=0 +animation/clip_91/loops=false +animation/clip_92/name="" +animation/clip_92/start_frame=0 +animation/clip_92/end_frame=0 +animation/clip_92/loops=false +animation/clip_93/name="" +animation/clip_93/start_frame=0 +animation/clip_93/end_frame=0 +animation/clip_93/loops=false +animation/clip_94/name="" +animation/clip_94/start_frame=0 +animation/clip_94/end_frame=0 +animation/clip_94/loops=false +animation/clip_95/name="" +animation/clip_95/start_frame=0 +animation/clip_95/end_frame=0 +animation/clip_95/loops=false +animation/clip_96/name="" +animation/clip_96/start_frame=0 +animation/clip_96/end_frame=0 +animation/clip_96/loops=false +animation/clip_97/name="" +animation/clip_97/start_frame=0 +animation/clip_97/end_frame=0 +animation/clip_97/loops=false +animation/clip_98/name="" +animation/clip_98/start_frame=0 +animation/clip_98/end_frame=0 +animation/clip_98/loops=false +animation/clip_99/name="" +animation/clip_99/start_frame=0 +animation/clip_99/end_frame=0 +animation/clip_99/loops=false +animation/clip_100/name="" +animation/clip_100/start_frame=0 +animation/clip_100/end_frame=0 +animation/clip_100/loops=false +animation/clip_101/name="" +animation/clip_101/start_frame=0 +animation/clip_101/end_frame=0 +animation/clip_101/loops=false +animation/clip_102/name="" +animation/clip_102/start_frame=0 +animation/clip_102/end_frame=0 +animation/clip_102/loops=false +animation/clip_103/name="" +animation/clip_103/start_frame=0 +animation/clip_103/end_frame=0 +animation/clip_103/loops=false +animation/clip_104/name="" +animation/clip_104/start_frame=0 +animation/clip_104/end_frame=0 +animation/clip_104/loops=false +animation/clip_105/name="" +animation/clip_105/start_frame=0 +animation/clip_105/end_frame=0 +animation/clip_105/loops=false +animation/clip_106/name="" +animation/clip_106/start_frame=0 +animation/clip_106/end_frame=0 +animation/clip_106/loops=false +animation/clip_107/name="" +animation/clip_107/start_frame=0 +animation/clip_107/end_frame=0 +animation/clip_107/loops=false +animation/clip_108/name="" +animation/clip_108/start_frame=0 +animation/clip_108/end_frame=0 +animation/clip_108/loops=false +animation/clip_109/name="" +animation/clip_109/start_frame=0 +animation/clip_109/end_frame=0 +animation/clip_109/loops=false +animation/clip_110/name="" +animation/clip_110/start_frame=0 +animation/clip_110/end_frame=0 +animation/clip_110/loops=false +animation/clip_111/name="" +animation/clip_111/start_frame=0 +animation/clip_111/end_frame=0 +animation/clip_111/loops=false +animation/clip_112/name="" +animation/clip_112/start_frame=0 +animation/clip_112/end_frame=0 +animation/clip_112/loops=false +animation/clip_113/name="" +animation/clip_113/start_frame=0 +animation/clip_113/end_frame=0 +animation/clip_113/loops=false +animation/clip_114/name="" +animation/clip_114/start_frame=0 +animation/clip_114/end_frame=0 +animation/clip_114/loops=false +animation/clip_115/name="" +animation/clip_115/start_frame=0 +animation/clip_115/end_frame=0 +animation/clip_115/loops=false +animation/clip_116/name="" +animation/clip_116/start_frame=0 +animation/clip_116/end_frame=0 +animation/clip_116/loops=false +animation/clip_117/name="" +animation/clip_117/start_frame=0 +animation/clip_117/end_frame=0 +animation/clip_117/loops=false +animation/clip_118/name="" +animation/clip_118/start_frame=0 +animation/clip_118/end_frame=0 +animation/clip_118/loops=false +animation/clip_119/name="" +animation/clip_119/start_frame=0 +animation/clip_119/end_frame=0 +animation/clip_119/loops=false +animation/clip_120/name="" +animation/clip_120/start_frame=0 +animation/clip_120/end_frame=0 +animation/clip_120/loops=false +animation/clip_121/name="" +animation/clip_121/start_frame=0 +animation/clip_121/end_frame=0 +animation/clip_121/loops=false +animation/clip_122/name="" +animation/clip_122/start_frame=0 +animation/clip_122/end_frame=0 +animation/clip_122/loops=false +animation/clip_123/name="" +animation/clip_123/start_frame=0 +animation/clip_123/end_frame=0 +animation/clip_123/loops=false +animation/clip_124/name="" +animation/clip_124/start_frame=0 +animation/clip_124/end_frame=0 +animation/clip_124/loops=false +animation/clip_125/name="" +animation/clip_125/start_frame=0 +animation/clip_125/end_frame=0 +animation/clip_125/loops=false +animation/clip_126/name="" +animation/clip_126/start_frame=0 +animation/clip_126/end_frame=0 +animation/clip_126/loops=false +animation/clip_127/name="" +animation/clip_127/start_frame=0 +animation/clip_127/end_frame=0 +animation/clip_127/loops=false +animation/clip_128/name="" +animation/clip_128/start_frame=0 +animation/clip_128/end_frame=0 +animation/clip_128/loops=false +animation/clip_129/name="" +animation/clip_129/start_frame=0 +animation/clip_129/end_frame=0 +animation/clip_129/loops=false +animation/clip_130/name="" +animation/clip_130/start_frame=0 +animation/clip_130/end_frame=0 +animation/clip_130/loops=false +animation/clip_131/name="" +animation/clip_131/start_frame=0 +animation/clip_131/end_frame=0 +animation/clip_131/loops=false +animation/clip_132/name="" +animation/clip_132/start_frame=0 +animation/clip_132/end_frame=0 +animation/clip_132/loops=false +animation/clip_133/name="" +animation/clip_133/start_frame=0 +animation/clip_133/end_frame=0 +animation/clip_133/loops=false +animation/clip_134/name="" +animation/clip_134/start_frame=0 +animation/clip_134/end_frame=0 +animation/clip_134/loops=false +animation/clip_135/name="" +animation/clip_135/start_frame=0 +animation/clip_135/end_frame=0 +animation/clip_135/loops=false +animation/clip_136/name="" +animation/clip_136/start_frame=0 +animation/clip_136/end_frame=0 +animation/clip_136/loops=false +animation/clip_137/name="" +animation/clip_137/start_frame=0 +animation/clip_137/end_frame=0 +animation/clip_137/loops=false +animation/clip_138/name="" +animation/clip_138/start_frame=0 +animation/clip_138/end_frame=0 +animation/clip_138/loops=false +animation/clip_139/name="" +animation/clip_139/start_frame=0 +animation/clip_139/end_frame=0 +animation/clip_139/loops=false +animation/clip_140/name="" +animation/clip_140/start_frame=0 +animation/clip_140/end_frame=0 +animation/clip_140/loops=false +animation/clip_141/name="" +animation/clip_141/start_frame=0 +animation/clip_141/end_frame=0 +animation/clip_141/loops=false +animation/clip_142/name="" +animation/clip_142/start_frame=0 +animation/clip_142/end_frame=0 +animation/clip_142/loops=false +animation/clip_143/name="" +animation/clip_143/start_frame=0 +animation/clip_143/end_frame=0 +animation/clip_143/loops=false +animation/clip_144/name="" +animation/clip_144/start_frame=0 +animation/clip_144/end_frame=0 +animation/clip_144/loops=false +animation/clip_145/name="" +animation/clip_145/start_frame=0 +animation/clip_145/end_frame=0 +animation/clip_145/loops=false +animation/clip_146/name="" +animation/clip_146/start_frame=0 +animation/clip_146/end_frame=0 +animation/clip_146/loops=false +animation/clip_147/name="" +animation/clip_147/start_frame=0 +animation/clip_147/end_frame=0 +animation/clip_147/loops=false +animation/clip_148/name="" +animation/clip_148/start_frame=0 +animation/clip_148/end_frame=0 +animation/clip_148/loops=false +animation/clip_149/name="" +animation/clip_149/start_frame=0 +animation/clip_149/end_frame=0 +animation/clip_149/loops=false +animation/clip_150/name="" +animation/clip_150/start_frame=0 +animation/clip_150/end_frame=0 +animation/clip_150/loops=false +animation/clip_151/name="" +animation/clip_151/start_frame=0 +animation/clip_151/end_frame=0 +animation/clip_151/loops=false +animation/clip_152/name="" +animation/clip_152/start_frame=0 +animation/clip_152/end_frame=0 +animation/clip_152/loops=false +animation/clip_153/name="" +animation/clip_153/start_frame=0 +animation/clip_153/end_frame=0 +animation/clip_153/loops=false +animation/clip_154/name="" +animation/clip_154/start_frame=0 +animation/clip_154/end_frame=0 +animation/clip_154/loops=false +animation/clip_155/name="" +animation/clip_155/start_frame=0 +animation/clip_155/end_frame=0 +animation/clip_155/loops=false +animation/clip_156/name="" +animation/clip_156/start_frame=0 +animation/clip_156/end_frame=0 +animation/clip_156/loops=false +animation/clip_157/name="" +animation/clip_157/start_frame=0 +animation/clip_157/end_frame=0 +animation/clip_157/loops=false +animation/clip_158/name="" +animation/clip_158/start_frame=0 +animation/clip_158/end_frame=0 +animation/clip_158/loops=false +animation/clip_159/name="" +animation/clip_159/start_frame=0 +animation/clip_159/end_frame=0 +animation/clip_159/loops=false +animation/clip_160/name="" +animation/clip_160/start_frame=0 +animation/clip_160/end_frame=0 +animation/clip_160/loops=false +animation/clip_161/name="" +animation/clip_161/start_frame=0 +animation/clip_161/end_frame=0 +animation/clip_161/loops=false +animation/clip_162/name="" +animation/clip_162/start_frame=0 +animation/clip_162/end_frame=0 +animation/clip_162/loops=false +animation/clip_163/name="" +animation/clip_163/start_frame=0 +animation/clip_163/end_frame=0 +animation/clip_163/loops=false +animation/clip_164/name="" +animation/clip_164/start_frame=0 +animation/clip_164/end_frame=0 +animation/clip_164/loops=false +animation/clip_165/name="" +animation/clip_165/start_frame=0 +animation/clip_165/end_frame=0 +animation/clip_165/loops=false +animation/clip_166/name="" +animation/clip_166/start_frame=0 +animation/clip_166/end_frame=0 +animation/clip_166/loops=false +animation/clip_167/name="" +animation/clip_167/start_frame=0 +animation/clip_167/end_frame=0 +animation/clip_167/loops=false +animation/clip_168/name="" +animation/clip_168/start_frame=0 +animation/clip_168/end_frame=0 +animation/clip_168/loops=false +animation/clip_169/name="" +animation/clip_169/start_frame=0 +animation/clip_169/end_frame=0 +animation/clip_169/loops=false +animation/clip_170/name="" +animation/clip_170/start_frame=0 +animation/clip_170/end_frame=0 +animation/clip_170/loops=false +animation/clip_171/name="" +animation/clip_171/start_frame=0 +animation/clip_171/end_frame=0 +animation/clip_171/loops=false +animation/clip_172/name="" +animation/clip_172/start_frame=0 +animation/clip_172/end_frame=0 +animation/clip_172/loops=false +animation/clip_173/name="" +animation/clip_173/start_frame=0 +animation/clip_173/end_frame=0 +animation/clip_173/loops=false +animation/clip_174/name="" +animation/clip_174/start_frame=0 +animation/clip_174/end_frame=0 +animation/clip_174/loops=false +animation/clip_175/name="" +animation/clip_175/start_frame=0 +animation/clip_175/end_frame=0 +animation/clip_175/loops=false +animation/clip_176/name="" +animation/clip_176/start_frame=0 +animation/clip_176/end_frame=0 +animation/clip_176/loops=false +animation/clip_177/name="" +animation/clip_177/start_frame=0 +animation/clip_177/end_frame=0 +animation/clip_177/loops=false +animation/clip_178/name="" +animation/clip_178/start_frame=0 +animation/clip_178/end_frame=0 +animation/clip_178/loops=false +animation/clip_179/name="" +animation/clip_179/start_frame=0 +animation/clip_179/end_frame=0 +animation/clip_179/loops=false +animation/clip_180/name="" +animation/clip_180/start_frame=0 +animation/clip_180/end_frame=0 +animation/clip_180/loops=false +animation/clip_181/name="" +animation/clip_181/start_frame=0 +animation/clip_181/end_frame=0 +animation/clip_181/loops=false +animation/clip_182/name="" +animation/clip_182/start_frame=0 +animation/clip_182/end_frame=0 +animation/clip_182/loops=false +animation/clip_183/name="" +animation/clip_183/start_frame=0 +animation/clip_183/end_frame=0 +animation/clip_183/loops=false +animation/clip_184/name="" +animation/clip_184/start_frame=0 +animation/clip_184/end_frame=0 +animation/clip_184/loops=false +animation/clip_185/name="" +animation/clip_185/start_frame=0 +animation/clip_185/end_frame=0 +animation/clip_185/loops=false +animation/clip_186/name="" +animation/clip_186/start_frame=0 +animation/clip_186/end_frame=0 +animation/clip_186/loops=false +animation/clip_187/name="" +animation/clip_187/start_frame=0 +animation/clip_187/end_frame=0 +animation/clip_187/loops=false +animation/clip_188/name="" +animation/clip_188/start_frame=0 +animation/clip_188/end_frame=0 +animation/clip_188/loops=false +animation/clip_189/name="" +animation/clip_189/start_frame=0 +animation/clip_189/end_frame=0 +animation/clip_189/loops=false +animation/clip_190/name="" +animation/clip_190/start_frame=0 +animation/clip_190/end_frame=0 +animation/clip_190/loops=false +animation/clip_191/name="" +animation/clip_191/start_frame=0 +animation/clip_191/end_frame=0 +animation/clip_191/loops=false +animation/clip_192/name="" +animation/clip_192/start_frame=0 +animation/clip_192/end_frame=0 +animation/clip_192/loops=false +animation/clip_193/name="" +animation/clip_193/start_frame=0 +animation/clip_193/end_frame=0 +animation/clip_193/loops=false +animation/clip_194/name="" +animation/clip_194/start_frame=0 +animation/clip_194/end_frame=0 +animation/clip_194/loops=false +animation/clip_195/name="" +animation/clip_195/start_frame=0 +animation/clip_195/end_frame=0 +animation/clip_195/loops=false +animation/clip_196/name="" +animation/clip_196/start_frame=0 +animation/clip_196/end_frame=0 +animation/clip_196/loops=false +animation/clip_197/name="" +animation/clip_197/start_frame=0 +animation/clip_197/end_frame=0 +animation/clip_197/loops=false +animation/clip_198/name="" +animation/clip_198/start_frame=0 +animation/clip_198/end_frame=0 +animation/clip_198/loops=false +animation/clip_199/name="" +animation/clip_199/start_frame=0 +animation/clip_199/end_frame=0 +animation/clip_199/loops=false +animation/clip_200/name="" +animation/clip_200/start_frame=0 +animation/clip_200/end_frame=0 +animation/clip_200/loops=false +animation/clip_201/name="" +animation/clip_201/start_frame=0 +animation/clip_201/end_frame=0 +animation/clip_201/loops=false +animation/clip_202/name="" +animation/clip_202/start_frame=0 +animation/clip_202/end_frame=0 +animation/clip_202/loops=false +animation/clip_203/name="" +animation/clip_203/start_frame=0 +animation/clip_203/end_frame=0 +animation/clip_203/loops=false +animation/clip_204/name="" +animation/clip_204/start_frame=0 +animation/clip_204/end_frame=0 +animation/clip_204/loops=false +animation/clip_205/name="" +animation/clip_205/start_frame=0 +animation/clip_205/end_frame=0 +animation/clip_205/loops=false +animation/clip_206/name="" +animation/clip_206/start_frame=0 +animation/clip_206/end_frame=0 +animation/clip_206/loops=false +animation/clip_207/name="" +animation/clip_207/start_frame=0 +animation/clip_207/end_frame=0 +animation/clip_207/loops=false +animation/clip_208/name="" +animation/clip_208/start_frame=0 +animation/clip_208/end_frame=0 +animation/clip_208/loops=false +animation/clip_209/name="" +animation/clip_209/start_frame=0 +animation/clip_209/end_frame=0 +animation/clip_209/loops=false +animation/clip_210/name="" +animation/clip_210/start_frame=0 +animation/clip_210/end_frame=0 +animation/clip_210/loops=false +animation/clip_211/name="" +animation/clip_211/start_frame=0 +animation/clip_211/end_frame=0 +animation/clip_211/loops=false +animation/clip_212/name="" +animation/clip_212/start_frame=0 +animation/clip_212/end_frame=0 +animation/clip_212/loops=false +animation/clip_213/name="" +animation/clip_213/start_frame=0 +animation/clip_213/end_frame=0 +animation/clip_213/loops=false +animation/clip_214/name="" +animation/clip_214/start_frame=0 +animation/clip_214/end_frame=0 +animation/clip_214/loops=false +animation/clip_215/name="" +animation/clip_215/start_frame=0 +animation/clip_215/end_frame=0 +animation/clip_215/loops=false +animation/clip_216/name="" +animation/clip_216/start_frame=0 +animation/clip_216/end_frame=0 +animation/clip_216/loops=false +animation/clip_217/name="" +animation/clip_217/start_frame=0 +animation/clip_217/end_frame=0 +animation/clip_217/loops=false +animation/clip_218/name="" +animation/clip_218/start_frame=0 +animation/clip_218/end_frame=0 +animation/clip_218/loops=false +animation/clip_219/name="" +animation/clip_219/start_frame=0 +animation/clip_219/end_frame=0 +animation/clip_219/loops=false +animation/clip_220/name="" +animation/clip_220/start_frame=0 +animation/clip_220/end_frame=0 +animation/clip_220/loops=false +animation/clip_221/name="" +animation/clip_221/start_frame=0 +animation/clip_221/end_frame=0 +animation/clip_221/loops=false +animation/clip_222/name="" +animation/clip_222/start_frame=0 +animation/clip_222/end_frame=0 +animation/clip_222/loops=false +animation/clip_223/name="" +animation/clip_223/start_frame=0 +animation/clip_223/end_frame=0 +animation/clip_223/loops=false +animation/clip_224/name="" +animation/clip_224/start_frame=0 +animation/clip_224/end_frame=0 +animation/clip_224/loops=false +animation/clip_225/name="" +animation/clip_225/start_frame=0 +animation/clip_225/end_frame=0 +animation/clip_225/loops=false +animation/clip_226/name="" +animation/clip_226/start_frame=0 +animation/clip_226/end_frame=0 +animation/clip_226/loops=false +animation/clip_227/name="" +animation/clip_227/start_frame=0 +animation/clip_227/end_frame=0 +animation/clip_227/loops=false +animation/clip_228/name="" +animation/clip_228/start_frame=0 +animation/clip_228/end_frame=0 +animation/clip_228/loops=false +animation/clip_229/name="" +animation/clip_229/start_frame=0 +animation/clip_229/end_frame=0 +animation/clip_229/loops=false +animation/clip_230/name="" +animation/clip_230/start_frame=0 +animation/clip_230/end_frame=0 +animation/clip_230/loops=false +animation/clip_231/name="" +animation/clip_231/start_frame=0 +animation/clip_231/end_frame=0 +animation/clip_231/loops=false +animation/clip_232/name="" +animation/clip_232/start_frame=0 +animation/clip_232/end_frame=0 +animation/clip_232/loops=false +animation/clip_233/name="" +animation/clip_233/start_frame=0 +animation/clip_233/end_frame=0 +animation/clip_233/loops=false +animation/clip_234/name="" +animation/clip_234/start_frame=0 +animation/clip_234/end_frame=0 +animation/clip_234/loops=false +animation/clip_235/name="" +animation/clip_235/start_frame=0 +animation/clip_235/end_frame=0 +animation/clip_235/loops=false +animation/clip_236/name="" +animation/clip_236/start_frame=0 +animation/clip_236/end_frame=0 +animation/clip_236/loops=false +animation/clip_237/name="" +animation/clip_237/start_frame=0 +animation/clip_237/end_frame=0 +animation/clip_237/loops=false +animation/clip_238/name="" +animation/clip_238/start_frame=0 +animation/clip_238/end_frame=0 +animation/clip_238/loops=false +animation/clip_239/name="" +animation/clip_239/start_frame=0 +animation/clip_239/end_frame=0 +animation/clip_239/loops=false +animation/clip_240/name="" +animation/clip_240/start_frame=0 +animation/clip_240/end_frame=0 +animation/clip_240/loops=false +animation/clip_241/name="" +animation/clip_241/start_frame=0 +animation/clip_241/end_frame=0 +animation/clip_241/loops=false +animation/clip_242/name="" +animation/clip_242/start_frame=0 +animation/clip_242/end_frame=0 +animation/clip_242/loops=false +animation/clip_243/name="" +animation/clip_243/start_frame=0 +animation/clip_243/end_frame=0 +animation/clip_243/loops=false +animation/clip_244/name="" +animation/clip_244/start_frame=0 +animation/clip_244/end_frame=0 +animation/clip_244/loops=false +animation/clip_245/name="" +animation/clip_245/start_frame=0 +animation/clip_245/end_frame=0 +animation/clip_245/loops=false +animation/clip_246/name="" +animation/clip_246/start_frame=0 +animation/clip_246/end_frame=0 +animation/clip_246/loops=false +animation/clip_247/name="" +animation/clip_247/start_frame=0 +animation/clip_247/end_frame=0 +animation/clip_247/loops=false +animation/clip_248/name="" +animation/clip_248/start_frame=0 +animation/clip_248/end_frame=0 +animation/clip_248/loops=false +animation/clip_249/name="" +animation/clip_249/start_frame=0 +animation/clip_249/end_frame=0 +animation/clip_249/loops=false +animation/clip_250/name="" +animation/clip_250/start_frame=0 +animation/clip_250/end_frame=0 +animation/clip_250/loops=false +animation/clip_251/name="" +animation/clip_251/start_frame=0 +animation/clip_251/end_frame=0 +animation/clip_251/loops=false +animation/clip_252/name="" +animation/clip_252/start_frame=0 +animation/clip_252/end_frame=0 +animation/clip_252/loops=false +animation/clip_253/name="" +animation/clip_253/start_frame=0 +animation/clip_253/end_frame=0 +animation/clip_253/loops=false +animation/clip_254/name="" +animation/clip_254/start_frame=0 +animation/clip_254/end_frame=0 +animation/clip_254/loops=false +animation/clip_255/name="" +animation/clip_255/start_frame=0 +animation/clip_255/end_frame=0 +animation/clip_255/loops=false +animation/clip_256/name="" +animation/clip_256/start_frame=0 +animation/clip_256/end_frame=0 +animation/clip_256/loops=false diff --git a/assets/levels/2.obj.import b/assets/levels/2.obj.import new file mode 100644 index 0000000..1efa28c --- /dev/null +++ b/assets/levels/2.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/2.obj-3a5433501168477746c24182726a90c2.mesh" + +[deps] + +files=[ "res://.import/2.obj-3a5433501168477746c24182726a90c2.mesh" ] + +source_file="res://assets/levels/2.obj" +source_md5="9c1795f0c017f636969954e503a75157" + +dest_files=[ "res://.import/2.obj-3a5433501168477746c24182726a90c2.mesh", "res://.import/2.obj-3a5433501168477746c24182726a90c2.mesh" ] +dest_md5="557048f3ebad19044a3c342d9c06e870" + +[params] + +generate_tangents=true diff --git a/assets/maze-high-obj.obj.import b/assets/maze-high-obj.obj.import new file mode 100644 index 0000000..dec7aba --- /dev/null +++ b/assets/maze-high-obj.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/maze-high-obj.obj-24db734e0c48b4dd09ff2d9426ff3915.mesh" + +[deps] + +files=[ "res://.import/maze-high-obj.obj-24db734e0c48b4dd09ff2d9426ff3915.mesh" ] + +source_file="res://assets/maze-high-obj.obj" +source_md5="6957a6487d30265864dc3d40baf411a2" + +dest_files=[ "res://.import/maze-high-obj.obj-24db734e0c48b4dd09ff2d9426ff3915.mesh", "res://.import/maze-high-obj.obj-24db734e0c48b4dd09ff2d9426ff3915.mesh" ] +dest_md5="ce1017fcf90646333644720dd66b599f" + +[params] + +generate_tangents=true diff --git a/assets/maze.obj.import b/assets/maze.obj.import new file mode 100644 index 0000000..d8bc021 --- /dev/null +++ b/assets/maze.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/maze.obj-70de96fca66f7b42f2e7948110e529ab.mesh" + +[deps] + +files=[ "res://.import/maze.obj-70de96fca66f7b42f2e7948110e529ab.mesh" ] + +source_file="res://assets/maze.obj" +source_md5="f35f5a0e67714a456ed725761a30cd8e" + +dest_files=[ "res://.import/maze.obj-70de96fca66f7b42f2e7948110e529ab.mesh", "res://.import/maze.obj-70de96fca66f7b42f2e7948110e529ab.mesh" ] +dest_md5="611ce2fc213387da9af0b853967a2f25" + +[params] + +generate_tangents=true diff --git a/assets/objective-left.png.import b/assets/objective-left.png.import new file mode 100644 index 0000000..6485018 --- /dev/null +++ b/assets/objective-left.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/objective-left.png-587402b851e8944e16eb289e1b058974.stex" + +[deps] + +source_file="res://assets/objective-left.png" +source_md5="c172ead10f0d4193e46622fe62668f31" + +dest_files=[ "res://.import/objective-left.png-587402b851e8944e16eb289e1b058974.stex" ] +dest_md5="09403856c115d79b27429585b5a7b0f5" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/assets/objective-right.png.import b/assets/objective-right.png.import new file mode 100644 index 0000000..bd48aba --- /dev/null +++ b/assets/objective-right.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/objective-right.png-d18195ff55e7aff72b594ff190053ce4.stex" + +[deps] + +source_file="res://assets/objective-right.png" +source_md5="2725f8f335a4f2ceb2562ef44343830d" + +dest_files=[ "res://.import/objective-right.png-d18195ff55e7aff72b594ff190053ce4.stex" ] +dest_md5="c3fa2e979e2fdea8132655a82686526d" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/assets/objective.obj.import b/assets/objective.obj.import new file mode 100644 index 0000000..440fb60 --- /dev/null +++ b/assets/objective.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/objective.obj-d3a42ffdae3ada4606dd452051061b51.mesh" + +[deps] + +files=[ "res://.import/objective.obj-d3a42ffdae3ada4606dd452051061b51.mesh" ] + +source_file="res://assets/objective.obj" +source_md5="a00bec3114f9259f2ae795c28f75e9c9" + +dest_files=[ "res://.import/objective.obj-d3a42ffdae3ada4606dd452051061b51.mesh", "res://.import/objective.obj-d3a42ffdae3ada4606dd452051061b51.mesh" ] +dest_md5="56ab97d8a864679c68c7c7d9c1d38dd8" + +[params] + +generate_tangents=true diff --git a/assets/player.obj.import b/assets/player.obj.import new file mode 100644 index 0000000..24579a1 --- /dev/null +++ b/assets/player.obj.import @@ -0,0 +1,19 @@ +[remap] + +importer="wavefront_obj" +type="Mesh" +path="res://.import/player.obj-9552f61e8059d9a4dd660ae96ad6a512.mesh" + +[deps] + +files=[ "res://.import/player.obj-9552f61e8059d9a4dd660ae96ad6a512.mesh" ] + +source_file="res://assets/player.obj" +source_md5="7074ae8221d3b083f4f95e70e1ee446f" + +dest_files=[ "res://.import/player.obj-9552f61e8059d9a4dd660ae96ad6a512.mesh", "res://.import/player.obj-9552f61e8059d9a4dd660ae96ad6a512.mesh" ] +dest_md5="0ca70d88338dbaa80a9676388d516d63" + +[params] + +generate_tangents=true diff --git a/docs/2018-02-14-heroes.png.import b/docs/2018-02-14-heroes.png.import new file mode 100644 index 0000000..83d92e3 --- /dev/null +++ b/docs/2018-02-14-heroes.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/2018-02-14-heroes.png-66ce877f0c90a512065fa1c503625ab1.stex" + +[deps] + +source_file="res://docs/2018-02-14-heroes.png" +source_md5="98144251e8505d9c53c0ba6cf451448e" + +dest_files=[ "res://.import/2018-02-14-heroes.png-66ce877f0c90a512065fa1c503625ab1.stex" ] +dest_md5="b9c1300d34876a596a8e284f821d7bc9" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..b330e51 --- /dev/null +++ b/icon.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" + +[deps] + +source_file="res://icon.png" +source_md5="7febcf604d750bd224f744362be04a8a" + +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] +dest_md5="e86d0a8edb5d32d9447a249948fdcf57" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 From 2685a8cb69319efc9d53f4e16e5c06d4964a31e8 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 16:04:43 -0400 Subject: [PATCH 19/72] Make changes that Silas needed to not crash --- scripts/heroes/5_portal.gd | 3 +++ scripts/player.gd | 1 + 2 files changed, 4 insertions(+) diff --git a/scripts/heroes/5_portal.gd b/scripts/heroes/5_portal.gd index 79e9d94..9b4f547 100644 --- a/scripts/heroes/5_portal.gd +++ b/scripts/heroes/5_portal.gd @@ -2,6 +2,7 @@ extends "res://scripts/placeable.gd" var portal_charge = -5 var other +var index var enemy_colors = [ Color("#d14013"), @@ -24,6 +25,8 @@ func _exit_tree(): other.queue_free() func init(maker): + + index = maker.placement.placed.size() # If index is odd, we're the second (1, 3...), if even, first (0, 4...) var second = index % 2 != 0 diff --git a/scripts/player.gd b/scripts/player.gd index 3208b4a..628a220 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -54,6 +54,7 @@ func _ready(): if is_network_master(): get_node("TPCamera/Camera/Ray").add_exception(self) get_node(tp_camera).set_enabled(true) + get_node(tp_camera).cam_view_sensitivity = 0.05 spawn() if "is_ai" in player_info and player_info.is_ai and not ai_instanced: add_child(preload("res://scenes/ai.tscn").instance()) From 0855689ae6b5ab6c7ad4832cd95409344db70154 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 28 Apr 2018 17:15:06 -0400 Subject: [PATCH 20/72] Add currently bound button to ability_icon --- scenes/ability_icon.tscn | 31 +++++++++++++++++++++++++++---- scenes/heroes/0.tscn | 1 + scenes/heroes/4.tscn | 1 + scenes/heroes/5.tscn | 1 + scripts/ability_icon.gd | 16 ++++++++++++++++ 5 files changed, 46 insertions(+), 4 deletions(-) diff --git a/scenes/ability_icon.tscn b/scenes/ability_icon.tscn index f1e4a25..3f2b208 100644 --- a/scenes/ability_icon.tscn +++ b/scenes/ability_icon.tscn @@ -77,6 +77,7 @@ script = ExtResource( 1 ) cost = 1 ability_name = "Ability" display_progress = true +action = "" [node name="Bar" type="ProgressBar" parent="." index="0"] @@ -127,10 +128,10 @@ anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 -margin_left = -65.0 -margin_top = 36.0 -margin_right = 77.0 -margin_bottom = 50.0 +margin_left = -68.0 +margin_top = -49.0 +margin_right = 74.0 +margin_bottom = -35.0 rect_pivot_offset = Vector2( 0, 0 ) mouse_filter = 2 mouse_default_cursor_shape = 0 @@ -143,4 +144,26 @@ percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 +[node name="Button" type="Label" parent="." index="3"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = -68.0 +margin_top = 38.0 +margin_right = 74.0 +margin_bottom = 52.0 +rect_pivot_offset = Vector2( 0, 0 ) +mouse_filter = 2 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 4 +custom_colors/font_color = Color( 0.00357056, 0.0703125, 0.04372, 1 ) +text = "