Added Comet sizes

This commit is contained in:
2024-05-12 18:54:18 -04:00
parent 09c63cd432
commit fb60dfce61
6 changed files with 53 additions and 11 deletions

View File

@ -1,6 +1,6 @@
extends Area2D
# TODO: Tweak speed and LifeTimer values
# FIXME: Tweak speed and LifeTimer values
@export var speed := 1400.00
var direction := Vector2.UP

View File

@ -1,7 +1,8 @@
extends CharacterBody2D
# TODO: Add the ability to "warp"
# TODO: Tweak speed and shoot time values
# FIXME: Tweak speed and shoot time values
# FIXME: Tweak Ship's scale
const BULLET = preload("res://scenes/bullet.tscn")
@ -41,7 +42,7 @@ func fire_gun(pos : Vector2, rot : float) -> void:
bullet.position = pos
bullet.rotation = rot
$Projectiles.add_child(bullet)
$ShootSounds.play()
$ShootSound.play()
can_shoot = false
$ShotCooldown.start()