add modding support

This commit is contained in:
2022-12-31 03:48:00 +01:00
parent d2ed1afdc7
commit 56255f5473
25 changed files with 82 additions and 1782 deletions

View File

@@ -1,5 +1,10 @@
extends Node
class_name Hitable
func Hit():
print("Got hit")
var health = 200
func Hit(dmg):
#var tween = create_tween()
health -= dmg
if(health <= 0):
queue_free()