finished reowrking grid maps, polished astar pathfinding, started work on aiming functions --todo: change launch speed to constant, change aim function to take into account the angle it would need to launch at to hit mouse position like in peggle, add raycasting
This commit is contained in:
+7
-1
@@ -4,7 +4,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://32m5teus1cjj" path="res://Art/tower.png" id="1_vedim"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vedim"]
|
||||
size = Vector2(50, 99)
|
||||
size = Vector2(50, 100)
|
||||
|
||||
[node name="Tower" type="Sprite2D" unique_id=1315831332]
|
||||
self_modulate = Color(0, 0, 0, 1)
|
||||
@@ -18,5 +18,11 @@ position = Vector2(0, 0.5)
|
||||
shape = SubResource("RectangleShape2D_vedim")
|
||||
debug_color = Color(0.6411928, 0.52469516, 0, 0.41960785)
|
||||
|
||||
[node name="Offset" type="Marker2D" parent="." unique_id=2053853274]
|
||||
position = Vector2(25, -50)
|
||||
|
||||
[node name="AttackSpawn" type="Marker2D" parent="." unique_id=715904909]
|
||||
position = Vector2(0, 50)
|
||||
|
||||
[connection signal="mouse_entered" from="Area" to="." method="OnMouseEntered"]
|
||||
[connection signal="mouse_exited" from="Area" to="." method="OnMouseExited"]
|
||||
|
||||
Reference in New Issue
Block a user