initial commit
This commit is contained in:
commit
35bb9bb38f
46 changed files with 1243 additions and 0 deletions
22
Bullet.tscn
Normal file
22
Bullet.tscn
Normal file
|
@ -0,0 +1,22 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/sprite-sheet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Bullet.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
radius = 2.11994
|
||||
|
||||
[node name="Bullet" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 64, 0, 16, 16 )
|
||||
|
||||
[node name="BulletArea" type="Area2D" parent="."]
|
||||
|
||||
[node name="BulletCollider" type="CollisionShape2D" parent="BulletArea"]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="body_entered" from="BulletArea" to="." method="_on_BulletArea_body_entered"]
|
Loading…
Add table
Add a link
Reference in a new issue