Sfoglia il codice sorgente

Export bullet speed in godot editor

DricomDragon 3 anni fa
parent
commit
31cac6895e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      godot/scripts/Launcher.gd

+ 1 - 1
godot/scripts/Launcher.gd

@@ -9,7 +9,7 @@ enum State {
 	WAITING,
 }
 
-const BULLET_SPEED = 500.0
+export var BULLET_SPEED = 500.0
 
 var _ballScene = preload("res://scenes/Ball.tscn")