LD56 is over. This is the game.

This commit is contained in:
Douwe Ravers
2024-10-07 02:28:14 +02:00
parent 4c0c57d5ba
commit af7a46cd23
183 changed files with 20357 additions and 442 deletions

View File

@@ -0,0 +1,16 @@
class_name Indicator extends Node3D
enum IndicatorType {
ANT_WORKER, ANT_SOLDIER, BUILDING_BALISTA,
OTHER
}
@export var type:IndicatorType
func _process(_delta: float) -> void:
var raycast := Player.instance.raycast
if raycast.get_collider() is Terrain:
visible = true
global_position = raycast.get_collision_point()
else:
visible = false