mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Improve menuing, and convert ships to RigidBody2D for accurate positioning.
This commit is contained in:
18
godot_ship/scenes/ships/3shipA.tscn
Normal file
18
godot_ship/scenes/ships/3shipA.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://script/game/moveShip.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/game/3longShipAS.png" type="Texture" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 16, 48 )
|
||||
|
||||
[node name="3ShipA" type="RigidBody2D"]
|
||||
input_pickable = true
|
||||
custom_integrator = true
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[node name="3longShipAS" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
Reference in New Issue
Block a user