Player gun, bullet and its collisiions. Refactor.

This commit is contained in:
Felipe M 2021-01-30 20:57:48 +01:00
parent 0dd3f24030
commit ffb7c8bf99
Signed by: fmartingr
GPG key ID: 716BC147715E716F
28 changed files with 562 additions and 131 deletions

View file

@ -0,0 +1,9 @@
extends KinematicBody2D
export (int) var MAX_SPEED = 15
var motion = Vector2.ZERO
func _on_Hurtbox_hit(_damage):
queue_free()