Initial commit (1/2)
This commit is contained in:
commit
3411c5796d
66 changed files with 2261 additions and 0 deletions
7
scripts/TurboParticles.gd
Normal file
7
scripts/TurboParticles.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends GPUParticles2D
|
||||
|
||||
@onready var MSEngine = $".."
|
||||
|
||||
func _process(_delta):
|
||||
var SpeedPercentage = MSEngine.Speed / MSEngine.MaxSpeed if MSEngine.Ship is MainShip else 0
|
||||
emitting = SpeedPercentage > 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue