summaryrefslogtreecommitdiff
path: root/demos/2d/lookat
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-04-02 12:35:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-04-02 14:39:08 +0200
commit23cf6a85bdb904a1833c6015222d9ee69842c1ed (patch)
treef363b1cf1b6c9deb0549b071514dfc1ee7d5f093 /demos/2d/lookat
parent4eb49cc73241e0597174c4bfdfdddaf96dce86af (diff)
Port 2D demos to TSCN/TRES formats
Part of #4196.
Diffstat (limited to 'demos/2d/lookat')
-rw-r--r--demos/2d/lookat/engine.cfg2
-rw-r--r--demos/2d/lookat/lookat.scnbin1640 -> 0 bytes
-rw-r--r--demos/2d/lookat/lookat.tscn32
3 files changed, 33 insertions, 1 deletions
diff --git a/demos/2d/lookat/engine.cfg b/demos/2d/lookat/engine.cfg
index 81df107f0e..c37f39386e 100644
--- a/demos/2d/lookat/engine.cfg
+++ b/demos/2d/lookat/engine.cfg
@@ -1,5 +1,5 @@
[application]
name="Look At Pointer"
-main_scene="res://lookat.scn"
+main_scene="res://lookat.tscn"
icon="res://icon.png"
diff --git a/demos/2d/lookat/lookat.scn b/demos/2d/lookat/lookat.scn
deleted file mode 100644
index 66be060c06..0000000000
--- a/demos/2d/lookat/lookat.scn
+++ /dev/null
Binary files differ
diff --git a/demos/2d/lookat/lookat.tscn b/demos/2d/lookat/lookat.tscn
new file mode 100644
index 0000000000..8505dcc972
--- /dev/null
+++ b/demos/2d/lookat/lookat.tscn
@@ -0,0 +1,32 @@
+[gd_scene load_steps=3 format=1]
+
+[ext_resource path="res://arrow.png" type="Texture" id=1]
+[ext_resource path="res://lookat.gd" type="Script" id=2]
+
+[node name="lookatscene" type="Node2D"]
+
+[node name="direct" type="Sprite" parent="."]
+
+transform/pos = Vector2( 132, 105 )
+texture = ExtResource( 1 )
+modulate = Color( 1, 0.799619, 0.734765, 1 )
+script/script = ExtResource( 2 )
+mode = 0
+
+[node name="constant" type="Sprite" parent="."]
+
+transform/pos = Vector2( 611, 216 )
+texture = ExtResource( 1 )
+modulate = Color( 0.751241, 0.662843, 1, 1 )
+script/script = ExtResource( 2 )
+mode = 1
+
+[node name="smooth" type="Sprite" parent="."]
+
+transform/pos = Vector2( 314, 457 )
+texture = ExtResource( 1 )
+modulate = Color( 0.749446, 1, 0.782884, 1 )
+script/script = ExtResource( 2 )
+mode = 2
+
+