diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-04-02 12:35:23 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-04-02 14:39:08 +0200 |
commit | 23cf6a85bdb904a1833c6015222d9ee69842c1ed (patch) | |
tree | f363b1cf1b6c9deb0549b071514dfc1ee7d5f093 /demos/2d/lookat | |
parent | 4eb49cc73241e0597174c4bfdfdddaf96dce86af (diff) |
Port 2D demos to TSCN/TRES formats
Part of #4196.
Diffstat (limited to 'demos/2d/lookat')
-rw-r--r-- | demos/2d/lookat/engine.cfg | 2 | ||||
-rw-r--r-- | demos/2d/lookat/lookat.scn | bin | 1640 -> 0 bytes | |||
-rw-r--r-- | demos/2d/lookat/lookat.tscn | 32 |
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 Binary files differdeleted file mode 100644 index 66be060c06..0000000000 --- a/demos/2d/lookat/lookat.scn +++ /dev/null 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 + + |