gay lover
This commit is contained in:
parent
4ff19610d3
commit
f44f38b58c
9 changed files with 154 additions and 96 deletions
|
|
@ -4,6 +4,7 @@ var speed = Vector2.ZERO
|
|||
var bullet_speed = 2
|
||||
var angle = randf_range(-360,360)
|
||||
var colors = [Color.RED,Color.BLUE,Color.GREEN,Color.YELLOW,]
|
||||
var grazed = false
|
||||
|
||||
func _ready() -> void:
|
||||
var color_choice = randi_range(0,colors.size() - 1)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,9 @@ animations = [{
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ic0v5"]
|
||||
size = Vector2(8, 8)
|
||||
|
||||
[node name="TestBullet" type="Node2D"]
|
||||
[node name="TestBullet" type="Area2D"]
|
||||
collision_layer = 8
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_nd7f1")
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite2D" parent="."]
|
||||
|
|
@ -66,11 +68,7 @@ frame_progress = 0.21053335
|
|||
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
||||
rect = Rect2(-4, -4, 8, 8)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
collision_layer = 8
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_ic0v5")
|
||||
|
||||
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue