Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Area2D
- var move_up = Vector2(0,-4)
- func _ready():
- set_process(true)
- pass
- func _process(delta):
- set_pos(get_pos() + move_up)
- pass
- func _on_bullet_body_enter( body ):
- if body.has_method("mob_get_hit"):
- print("hit")
- pass # replace with function body
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement