Added new cursor

This commit is contained in:
Paul Black 2022-03-25 00:46:29 -06:00
parent 537628f2b7
commit ac19801e19
3 changed files with 36 additions and 1 deletions

BIN
2D Art/Cursor/Cursor.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -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 )

View file

@ -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):