diff --git a/2D Art/Cursor/Cursor.png b/2D Art/Cursor/Cursor.png old mode 100755 new mode 100644 index c564374..873ba78 Binary files a/2D Art/Cursor/Cursor.png and b/2D Art/Cursor/Cursor.png differ diff --git a/Levels/Level02.tscn b/Levels/Level02.tscn index 45d02e1..4246931 100644 --- a/Levels/Level02.tscn +++ b/Levels/Level02.tscn @@ -1,10 +1,12 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=9 format=2] [ext_resource path="res://Objects/Player-tank/player.tscn" type="PackedScene" id=1] [ext_resource path="res://Objects/Ai-tank/tank00.tscn" type="PackedScene" id=2] [ext_resource path="res://Objects/Level01/Level01.tscn" type="PackedScene" id=3] [ext_resource path="res://fonts/Born2bSportyV2.ttf" type="DynamicFontData" id=4] [ext_resource path="res://Levels/Score.gd" type="Script" id=5] +[ext_resource path="res://Audio/Music.gd" type="Script" id=6] +[ext_resource path="res://Audio/Epic Combat LOOP.wav" type="AudioStream" id=7] [sub_resource type="DynamicFont" id=1] size = 60 @@ -35,3 +37,35 @@ margin_right = 130.0 margin_bottom = 60.0 custom_fonts/font = SubResource( 1 ) text = "0" + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 7 ) +autoplay = true +script = ExtResource( 6 ) + +[node name="AITank01" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -12, 1.1, 125 ) + +[node name="AITank02" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -24.106, 1.1, 57.9 ) + +[node name="AITank03" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 112.451, 1.1, 3.674 ) + +[node name="AITank04" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 204.852, 1.1, 22.026 ) + +[node name="AITank05" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 217.781, 1.1, -52.154 ) + +[node name="AITank06" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 202.844, 1.1, -126.297 ) + +[node name="AITank07" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 222.818, 1.1, 44.722 ) + +[node name="AITank08" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 195.363, 1.1, 124.16 ) + +[node name="AITank09" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 100.246, 1.1, 128.309 ) diff --git a/Objects/Bullet/Bullet.gd b/Objects/Bullet/Bullet.gd index 8b155e7..22cd11c 100644 --- a/Objects/Bullet/Bullet.gd +++ b/Objects/Bullet/Bullet.gd @@ -28,6 +28,7 @@ func _physics_process(delta): Global.tankskilled = Global.tankskilled + 1 if (Global.tankskilled == 10): if (Global.firstlevelcompleted == 0): + Global.firstlevelcompleted = 1 get_tree().change_scene("res://Levels/Level02.tscn") else: if (Global.firstlevelcompleted == 1):