mirror of
https://github.com/kristoferssolo/FuncIt.git
synced 2026-03-22 00:26:23 +00:00
Added new bullet texture
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://source/assets/sprites/bullet/bullet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://source/assets/sprites/bullet/player_character_bullet.svg" type="Texture" id=1]
|
||||
[ext_resource path="res://source/assets/scripts/shooting/Line/Line_Bullet.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id=1]
|
||||
radius = 12.2565
|
||||
height = 48.3215
|
||||
|
||||
[node name="player_bullet" type="Sprite" groups=[
|
||||
[node name="player_character_bullet" type="Sprite" groups=[
|
||||
"Net",
|
||||
]]
|
||||
texture = ExtResource( 1 )
|
||||
@@ -16,7 +18,6 @@ script = ExtResource( 2 )
|
||||
]]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
|
||||
position = Vector2( -14.0379, 0.26487 )
|
||||
rotation = 1.5708
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="body_entered" from="hitbox" to="." method="_on_hitbox_body_entered"]
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://source/assets/sprites/bullet/bullet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://source/assets/scripts/player_handlers/player_bullet.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 22.0883, 10 )
|
||||
|
||||
[node name="player_bullet" type="Sprite" groups=[
|
||||
"Net",
|
||||
]]
|
||||
texture = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="hitbox" type="Area2D" parent="." groups=[
|
||||
"Player_damager",
|
||||
]]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="hitbox"]
|
||||
visible = false
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="destroy_timer" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
autostart = true
|
||||
|
||||
[connection signal="timeout" from="destroy_timer" to="." method="_on_destroy_timer_timeout"]
|
||||
Reference in New Issue
Block a user