24 lines
		
	
	
		
			902 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			902 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[gd_scene load_steps=4 format=3 uid="uid://daa6idpu4gkat"]
 | 
						|
 | 
						|
[ext_resource type="Script" uid="uid://ock81bqismk0" path="res://scripts/bullet.gd" id="1_mkf8s"]
 | 
						|
[ext_resource type="Texture2D" uid="uid://db8y73is6w2g0" path="res://assets/graphics/projectiles/pixel_bullet (1).png" id="2_y25gk"]
 | 
						|
 | 
						|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
 | 
						|
size = Vector2(8, 6)
 | 
						|
 | 
						|
[node name="Bullet" type="Area2D"]
 | 
						|
script = ExtResource("1_mkf8s")
 | 
						|
 | 
						|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
 | 
						|
shape = SubResource("RectangleShape2D_h1aey")
 | 
						|
debug_color = Color(0.95943683, 0.18113726, 0.24279165, 0.41960785)
 | 
						|
 | 
						|
[node name="BulletGraphic" type="Sprite2D" parent="."]
 | 
						|
texture_filter = 1
 | 
						|
position = Vector2(-2, -2)
 | 
						|
rotation = 3.1415927
 | 
						|
scale = Vector2(0.07614212, 0.1079566)
 | 
						|
texture = ExtResource("2_y25gk")
 | 
						|
 | 
						|
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
 |