32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://mh40qx1bhgs5"]
|
|
|
|
[ext_resource type="Script" uid="uid://dtxvik61iarsj" path="res://Characters/pirate.gd" id="1_afkof"]
|
|
[ext_resource type="Texture2D" uid="uid://dani7ta4kpqva" path="res://Characters/Ships/pirate_ships.png" id="1_u2x3i"]
|
|
[ext_resource type="PackedScene" uid="uid://ngrscx1l0dn5" path="res://GPE/CannonBall/cannon_ball.tscn" id="2_gsuw1"]
|
|
[ext_resource type="Texture2D" uid="uid://bu2uf2i2gaybu" path="res://Characters/Ships/cannonLoose.png" id="2_h5orw"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_h5orw"]
|
|
radius = 39.0
|
|
height = 136.0
|
|
|
|
[node name="Pirate" type="RigidBody2D"]
|
|
gravity_scale = 0.0
|
|
linear_damp = 0.5
|
|
script = ExtResource("1_afkof")
|
|
bullet_scene = ExtResource("2_gsuw1")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
rotation = -1.5707964
|
|
shape = SubResource("CapsuleShape2D_h5orw")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
rotation = -1.5707964
|
|
texture = ExtResource("1_u2x3i")
|
|
|
|
[node name="Sprite2D2" type="Sprite2D" parent="Sprite2D"]
|
|
position = Vector2(0, 35)
|
|
rotation = 1.5707964
|
|
texture = ExtResource("2_h5orw")
|
|
|
|
[node name="ShootTimer" type="Timer" parent="."]
|