Player gun, bullet and its collisiions. Refactor.
This commit is contained in:
parent
0dd3f24030
commit
ffb7c8bf99
28 changed files with 562 additions and 131 deletions
|
@ -1,6 +1,7 @@
|
|||
extends Line2D
|
||||
|
||||
func _physics_process(delta):
|
||||
|
||||
func _physics_process(_delta):
|
||||
var parent = get_parent()
|
||||
$Motion.points[1].x = parent.motion.x/4
|
||||
$Motion.points[1].y = parent.motion.y/4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue