made the game real
This commit is contained in:
parent
dccc27dd72
commit
e2ddd9cefe
15 changed files with 211 additions and 10 deletions
6
objects/player/bullet.gd
Normal file
6
objects/player/bullet.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends Node2D
|
||||
|
||||
@export var speed: Vector2
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
position -= speed * delta
|
||||
Loading…
Add table
Add a link
Reference in a new issue