From 4639bb355caca2804910da2c4b266d27b8ac9125 Mon Sep 17 00:00:00 2001 From: John Breaux Date: Sun, 14 Nov 2021 02:12:31 -0600 Subject: [PATCH] Make ships real --- godot_ship/scenes/Game/Ship.tscn | 11 +++++++++++ godot_ship/script/game/Gameplay/Ship.gd | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 godot_ship/scenes/Game/Ship.tscn diff --git a/godot_ship/scenes/Game/Ship.tscn b/godot_ship/scenes/Game/Ship.tscn new file mode 100644 index 0000000..6b026e1 --- /dev/null +++ b/godot_ship/scenes/Game/Ship.tscn @@ -0,0 +1,11 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://script/game/Gameplay/Ship.gd" type="Script" id=1] + +[node name="Ship" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} diff --git a/godot_ship/script/game/Gameplay/Ship.gd b/godot_ship/script/game/Gameplay/Ship.gd index c934aa3..8301541 100644 --- a/godot_ship/script/game/Gameplay/Ship.gd +++ b/godot_ship/script/game/Gameplay/Ship.gd @@ -1,4 +1,4 @@ -extends Node +extends Control # This is the rendered element of a "ship", generated when the game transitions from the placing state to the gameplay state