forked from team-sg/hero-mark-2
fix crash when arrows collide with multiple things at once (fixes #50)
This commit is contained in:
parent
0ec9a3ec79
commit
c577f0a57c
2 changed files with 13 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=18 format=2]
|
||||
[gd_scene load_steps=19 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
|
||||
|
@ -16,6 +16,7 @@
|
|||
[ext_resource path="res://objects/environment/falling_block/falling_block.tscn" type="PackedScene" id=14]
|
||||
[ext_resource path="res://objects/environment/moving_platform/moving_platform.tscn" type="PackedScene" id=15]
|
||||
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=16]
|
||||
[ext_resource path="res://objects/player/arrow_projectile.tscn" type="PackedScene" id=17]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 16, 20 )
|
||||
|
@ -117,3 +118,10 @@ position = Vector2( 88, 160 )
|
|||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RespawnPoint"]
|
||||
position = Vector2( 0, -4 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="ArrowProjectile" parent="." instance=ExtResource( 17 )]
|
||||
position = Vector2( 128, 128 )
|
||||
|
||||
[node name="ArrowProjectile2" parent="." instance=ExtResource( 17 )]
|
||||
position = Vector2( 198, 130 )
|
||||
speed = 0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue