can bullets have puppet strings?
This commit is contained in:
parent
5f732e1e6f
commit
6809a3733a
9 changed files with 55 additions and 8 deletions
|
|
@ -1,7 +1,9 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dxsp66qpvm65b"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dxsp66qpvm65b"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c50bfqprpitev" path="res://icon.svg" id="1_g7g4h"]
|
||||
[ext_resource type="PackedScene" uid="uid://c714s5d7d5765" path="res://objects/player/player.tscn" id="2_j8ivh"]
|
||||
[ext_resource type="Script" uid="uid://ntpaank0h0a0" path="res://systems/bullets/bullet.gd" id="3_hlyn7"]
|
||||
[ext_resource type="Texture2D" uid="uid://xe124f1kgf3x" path="res://graphics/bullets/normal_bullet/bullet_2.png" id="4_hlyn7"]
|
||||
|
||||
[node name="TestScene" type="Node"]
|
||||
|
||||
|
|
@ -11,3 +13,10 @@ texture = ExtResource("1_g7g4h")
|
|||
|
||||
[node name="Player" parent="." instance=ExtResource("2_j8ivh")]
|
||||
position = Vector2(100, 99)
|
||||
|
||||
[node name="Bullet" type="Area2D" parent="."]
|
||||
position = Vector2(169, 130)
|
||||
script = ExtResource("3_hlyn7")
|
||||
texture = ExtResource("4_hlyn7")
|
||||
hitbox_size = Vector2i(6, 6)
|
||||
metadata/_custom_type_script = "uid://ntpaank0h0a0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue