[gd_scene load_steps=12 format=2] [ext_resource path="res://screens/battle/mechanolith.ogg" type="AudioStream" id=1] [ext_resource path="res://theme/ui.tres" type="Theme" id=2] [ext_resource path="res://arenas/normal1.tscn" type="PackedScene" id=3] [ext_resource path="res://screens/battle/background.jpg" type="Texture" id=4] [ext_resource path="res://screens/battle/battle.gd" type="Script" id=5] [ext_resource path="res://screens/battle/hand.gd" type="Script" id=6] [ext_resource path="res://units/points.tscn" type="PackedScene" id=7] [ext_resource path="res://ai/dumb.gd" type="Script" id=8] [ext_resource path="res://decks/all.tscn" type="PackedScene" id=9] [ext_resource path="res://units/heroes/tomahawk.tscn" type="PackedScene" id=10] [ext_resource path="res://units/heroes/rhino.tscn" type="PackedScene" id=11] [node name="view" type="Panel"] anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 2 ) script = ExtResource( 5 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } deck_attack = ExtResource( 9 ) deck_defend = ExtResource( 9 ) hero_unit_attack = ExtResource( 10 ) hero_unit_defend = ExtResource( 11 ) defend_ai = ExtResource( 8 ) [node name="background" type="Sprite" parent="."] position = Vector2( 540, 970 ) rotation = -4.71238 texture = ExtResource( 4 ) __meta__ = { "_edit_lock_": true } [node name="arena" parent="." instance=ExtResource( 3 )] [node name="bgm" type="AudioStreamPlayer" parent="."] stream = ExtResource( 1 ) volume_db = -15.891 autoplay = true [node name="hand_attack" type="Control" parent="."] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = -328.0 script = ExtResource( 6 ) __meta__ = { "_edit_use_anchors_": false, "_editor_description_": "" } attack = true [node name="skip" type="Button" parent="hand_attack"] anchor_top = 1.0 anchor_bottom = 1.0 margin_left = 10.0 margin_top = -440.0 margin_right = 332.0 margin_bottom = -351.0 text = "Skip" __meta__ = { "_edit_use_anchors_": false } [node name="hand_defend" type="Control" parent="."] visible = false modulate = Color( 1, 1, 1, 0 ) margin_left = 1180.0 margin_top = 760.0 margin_right = 1990.0 margin_bottom = 1000.0 script = ExtResource( 6 ) __meta__ = { "_edit_use_anchors_": false } [node name="combat_info" type="Control" parent="."] anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="attacker_points" parent="combat_info" instance=ExtResource( 7 )] position = Vector2( 260, -167.5 ) [node name="defender_points" parent="combat_info" instance=ExtResource( 7 )] position = Vector2( 840, -167.5 ) [connection signal="unit_created" from="hand_attack" to="." method="_on_unit_created"] [connection signal="pressed" from="hand_attack/skip" to="hand_attack" method="emit_turn_end"] [connection signal="unit_created" from="hand_defend" to="." method="_on_unit_created"]