Add title
This commit is contained in:
parent
f279ac3f54
commit
29529b56f8
11
TODO.md
11
TODO.md
|
@ -1,19 +1,18 @@
|
||||||
2. Visual polish
|
1. Visual polish
|
||||||
* a visual / title in the left sidebar
|
|
||||||
* multiple square tiles to add variation
|
* multiple square tiles to add variation
|
||||||
* make the help text indicate (flash, etc.)
|
* make the help text indicate (flash, etc.)
|
||||||
* visual indications when damage is done but a unit isn't killed
|
* visual indications when damage is done but a unit isn't killed
|
||||||
* visual indication when a unit is stronger (eg. a little skull or star or something)
|
* visual indication when a unit is stronger (eg. a little skull or star or something)
|
||||||
3. Sound effects
|
2. Sound effects
|
||||||
* on hit, especially when the unit isn't killed
|
* on hit, especially when the unit isn't killed
|
||||||
* if possible, a small bit of background music
|
* if possible, a small bit of background music
|
||||||
4. Gameplay additions:
|
3. Gameplay additions:
|
||||||
* powerups: change movement type, remove pawn's attack and movement restrictions
|
* powerups: change movement type, remove pawn's attack and movement restrictions
|
||||||
* new units
|
* new units
|
||||||
* choose difference board sizes
|
* choose difference board sizes
|
||||||
5. Further visual polish
|
4. Further visual polish
|
||||||
* animate the piece making the attack, and returning to it's spot
|
* animate the piece making the attack, and returning to it's spot
|
||||||
|
|
||||||
Bugs of note:
|
Bugs of note:
|
||||||
|
|
||||||
* n/a
|
* [low] the possible move squares don't change if you increase speed via the debug menu. work around: deselect and reselect the piece
|
||||||
|
|
|
@ -32,7 +32,8 @@ _global_script_class_icons={
|
||||||
|
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="Ld 50"
|
config/name="Échec x Chess"
|
||||||
|
config/description="Chess where you always lose. How far can you make it before the inevitable happens?"
|
||||||
run/main_scene="res://src/Game.tscn"
|
run/main_scene="res://src/Game.tscn"
|
||||||
config/icon="res://icon.png"
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
|
|
|
@ -53,11 +53,13 @@ custom_fonts/font = SubResource( 2 )
|
||||||
text = "Quit"
|
text = "Quit"
|
||||||
|
|
||||||
[node name="Fail Game" type="Button" parent="VBoxContainer"]
|
[node name="Fail Game" type="Button" parent="VBoxContainer"]
|
||||||
|
visible = false
|
||||||
margin_right = 12.0
|
margin_right = 12.0
|
||||||
margin_bottom = 20.0
|
margin_bottom = 20.0
|
||||||
text = "Fail Game"
|
text = "Fail Game"
|
||||||
|
|
||||||
[node name="Win Game" type="Button" parent="VBoxContainer"]
|
[node name="Win Game" type="Button" parent="VBoxContainer"]
|
||||||
|
visible = false
|
||||||
margin_right = 12.0
|
margin_right = 12.0
|
||||||
margin_bottom = 20.0
|
margin_bottom = 20.0
|
||||||
text = "Win Game"
|
text = "Win Game"
|
||||||
|
|
|
@ -770,7 +770,7 @@ func apply_powerup_to_piece(square):
|
||||||
square = self.board_squares[c]
|
square = self.board_squares[c]
|
||||||
if self.reinforcement_buff != null:
|
if self.reinforcement_buff != null:
|
||||||
square['piece'].damage += self.reinforcement_buff
|
square['piece'].damage += self.reinforcement_buff
|
||||||
square['piece'].movement += self.reinforcement_buff
|
square['piece'].speed += self.reinforcement_buff
|
||||||
square['piece'].health += self.reinforcement_buff
|
square['piece'].health += self.reinforcement_buff
|
||||||
if self.reinforcement_buff > 5:
|
if self.reinforcement_buff > 5:
|
||||||
square['piece'].jump = true
|
square['piece'].jump = true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=21 format=2]
|
[gd_scene load_steps=22 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://src/Game.gd" type="Script" id=1]
|
[ext_resource path="res://src/Game.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://src/Playfield.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://src/Playfield.tscn" type="PackedScene" id=2]
|
||||||
|
@ -26,6 +26,10 @@ font_data = ExtResource( 4 )
|
||||||
[sub_resource type="DynamicFont" id=2]
|
[sub_resource type="DynamicFont" id=2]
|
||||||
font_data = ExtResource( 4 )
|
font_data = ExtResource( 4 )
|
||||||
|
|
||||||
|
[sub_resource type="DynamicFont" id=3]
|
||||||
|
size = 64
|
||||||
|
font_data = ExtResource( 4 )
|
||||||
|
|
||||||
[node name="Game" type="Container"]
|
[node name="Game" type="Container"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
|
@ -116,7 +120,6 @@ valign = 1
|
||||||
|
|
||||||
[node name="EndSong" type="AudioStreamPlayer" parent="."]
|
[node name="EndSong" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource( 6 )
|
stream = ExtResource( 6 )
|
||||||
autoplay = true
|
|
||||||
|
|
||||||
[node name="Yammering" type="AudioStreamPlayer" parent="."]
|
[node name="Yammering" type="AudioStreamPlayer" parent="."]
|
||||||
stream = ExtResource( 9 )
|
stream = ExtResource( 9 )
|
||||||
|
@ -202,6 +205,35 @@ margin_bottom = 91.0
|
||||||
[node name="PanelLeft" type="Panel" parent="."]
|
[node name="PanelLeft" type="Panel" parent="."]
|
||||||
margin_right = 240.0
|
margin_right = 240.0
|
||||||
margin_bottom = 1024.0
|
margin_bottom = 1024.0
|
||||||
|
|
||||||
|
[node name="Title" type="Label" parent="PanelLeft"]
|
||||||
|
margin_left = 50.0
|
||||||
|
margin_right = 40.0
|
||||||
|
margin_bottom = 14.0
|
||||||
|
custom_fonts/font = SubResource( 3 )
|
||||||
|
text = "É
|
||||||
|
C
|
||||||
|
H
|
||||||
|
E
|
||||||
|
C
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
C
|
||||||
|
H
|
||||||
|
E
|
||||||
|
S
|
||||||
|
S"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="Subtitle" type="Label" parent="PanelLeft"]
|
||||||
|
margin_right = 40.0
|
||||||
|
margin_bottom = 14.0
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
||||||
[connection signal="finished" from="EndSong" to="." method="_on_EndSong_finished"]
|
[connection signal="finished" from="EndSong" to="." method="_on_EndSong_finished"]
|
||||||
[connection signal="finished" from="Yammering" to="." method="_on_Yammering_finished"]
|
[connection signal="finished" from="Yammering" to="." method="_on_Yammering_finished"]
|
||||||
[connection signal="finished" from="Dust" to="." method="_on_Dust_finished"]
|
[connection signal="finished" from="Dust" to="." method="_on_Dust_finished"]
|
||||||
|
|
|
@ -59,15 +59,16 @@ __meta__ = {
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="UpMovement" type="Button" parent="Vbox"]
|
[node name="UpMovement" type="Button" parent="Vbox"]
|
||||||
|
visible = false
|
||||||
margin_top = 151.0
|
margin_top = 151.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 171.0
|
margin_bottom = 171.0
|
||||||
text = "Increase Movement"
|
text = "Increase Movement"
|
||||||
|
|
||||||
[node name="Health" type="HBoxContainer" parent="Vbox"]
|
[node name="Health" type="HBoxContainer" parent="Vbox"]
|
||||||
margin_top = 175.0
|
margin_top = 151.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 239.0
|
margin_bottom = 215.0
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="Vbox/Health"]
|
[node name="TextureRect" type="TextureRect" parent="Vbox/Health"]
|
||||||
material = ExtResource( 3 )
|
material = ExtResource( 3 )
|
||||||
|
@ -84,15 +85,16 @@ custom_fonts/font = ExtResource( 1 )
|
||||||
text = "1 "
|
text = "1 "
|
||||||
|
|
||||||
[node name="UpHealth" type="Button" parent="Vbox"]
|
[node name="UpHealth" type="Button" parent="Vbox"]
|
||||||
margin_top = 243.0
|
visible = false
|
||||||
|
margin_top = 219.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 263.0
|
margin_bottom = 239.0
|
||||||
text = "Increase health"
|
text = "Increase health"
|
||||||
|
|
||||||
[node name="Damage" type="HBoxContainer" parent="Vbox"]
|
[node name="Damage" type="HBoxContainer" parent="Vbox"]
|
||||||
margin_top = 267.0
|
margin_top = 219.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 331.0
|
margin_bottom = 283.0
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="Vbox/Damage"]
|
[node name="TextureRect" type="TextureRect" parent="Vbox/Damage"]
|
||||||
material = ExtResource( 3 )
|
material = ExtResource( 3 )
|
||||||
|
@ -109,15 +111,16 @@ custom_fonts/font = ExtResource( 1 )
|
||||||
text = "1"
|
text = "1"
|
||||||
|
|
||||||
[node name="UpDamage" type="Button" parent="Vbox"]
|
[node name="UpDamage" type="Button" parent="Vbox"]
|
||||||
margin_top = 335.0
|
visible = false
|
||||||
|
margin_top = 287.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 355.0
|
margin_bottom = 307.0
|
||||||
text = "Increase damage"
|
text = "Increase damage"
|
||||||
|
|
||||||
[node name="Kills" type="HBoxContainer" parent="Vbox"]
|
[node name="Kills" type="HBoxContainer" parent="Vbox"]
|
||||||
margin_top = 359.0
|
margin_top = 287.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 423.0
|
margin_bottom = 351.0
|
||||||
|
|
||||||
[node name="TextureRect" type="TextureRect" parent="Vbox/Kills"]
|
[node name="TextureRect" type="TextureRect" parent="Vbox/Kills"]
|
||||||
material = ExtResource( 3 )
|
material = ExtResource( 3 )
|
||||||
|
@ -134,22 +137,24 @@ custom_fonts/font = ExtResource( 1 )
|
||||||
text = "1"
|
text = "1"
|
||||||
|
|
||||||
[node name="Jump" type="Label" parent="Vbox"]
|
[node name="Jump" type="Label" parent="Vbox"]
|
||||||
margin_top = 427.0
|
margin_top = 355.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 451.0
|
margin_bottom = 379.0
|
||||||
custom_fonts/font = SubResource( 1 )
|
custom_fonts/font = SubResource( 1 )
|
||||||
text = "Cannot jump"
|
text = "Cannot jump"
|
||||||
|
|
||||||
[node name="CheckButton" type="CheckButton" parent="Vbox"]
|
[node name="CheckButton" type="CheckButton" parent="Vbox"]
|
||||||
margin_top = 455.0
|
visible = false
|
||||||
|
margin_top = 383.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 495.0
|
margin_bottom = 423.0
|
||||||
text = "Jump"
|
text = "Jump"
|
||||||
|
|
||||||
[node name="Powerup" type="Button" parent="Vbox"]
|
[node name="Powerup" type="Button" parent="Vbox"]
|
||||||
margin_top = 499.0
|
visible = false
|
||||||
|
margin_top = 383.0
|
||||||
margin_right = 190.0
|
margin_right = 190.0
|
||||||
margin_bottom = 519.0
|
margin_bottom = 403.0
|
||||||
text = "Spawn powerup"
|
text = "Spawn powerup"
|
||||||
[connection signal="pressed" from="Vbox/UpMovement" to="." method="_on_UpMovement_pressed"]
|
[connection signal="pressed" from="Vbox/UpMovement" to="." method="_on_UpMovement_pressed"]
|
||||||
[connection signal="pressed" from="Vbox/UpHealth" to="." method="_on_UpHealth_pressed"]
|
[connection signal="pressed" from="Vbox/UpHealth" to="." method="_on_UpHealth_pressed"]
|
||||||
|
|
Loading…
Reference in New Issue