Skip to content
Permalink
starting-point
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
9 lines (7 sloc) 231 Bytes
extends Node2D
func _on_Area2D_area_entered(area):
if(area.get_collision_layer_bit(2)):
queue_free()
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
move_local_x(delta * 400)