34 lines
729 B
Plaintext
34 lines
729 B
Plaintext
|
[gd_scene load_steps=4 format=1]
|
||
|
|
||
|
[ext_resource path="res://Bullet.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://bullet.png" type="Texture" id=2]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=1]
|
||
|
|
||
|
custom_solver_bias = 0.0
|
||
|
radius = 7.81268
|
||
|
|
||
|
[node name="Bullet" type="Area2D"]
|
||
|
|
||
|
input/pickable = false
|
||
|
shapes/0/shape = SubResource( 1 )
|
||
|
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||
|
shapes/0/trigger = false
|
||
|
gravity_vec = Vector2( 0, 1 )
|
||
|
gravity = 98.0
|
||
|
linear_damp = 0.1
|
||
|
angular_damp = 1.0
|
||
|
script/script = ExtResource( 1 )
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="."]
|
||
|
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
||
|
shape = SubResource( 1 )
|
||
|
trigger = false
|
||
|
_update_shape_index = 0
|
||
|
|
||
|
|