From 7ea3e8267afaf626256c84a9a3dc61e2954fc6a2 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 10 Apr 2014 00:18:27 -0300 Subject: -Fixed a few bugs in Viewport -Made a few demos using Viewport to show it's true power! -Fixed some start-up error messages. --- demos/viewport/2d_in_3d/pong.xml | 183 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 demos/viewport/2d_in_3d/pong.xml (limited to 'demos/viewport/2d_in_3d/pong.xml') diff --git a/demos/viewport/2d_in_3d/pong.xml b/demos/viewport/2d_in_3d/pong.xml new file mode 100644 index 0000000000..cf47a8db9f --- /dev/null +++ b/demos/viewport/2d_in_3d/pong.xml @@ -0,0 +1,183 @@ + + + + + + + + + + "names" + + "game" + "Node2D" + "visibility/visible" + "visibility/opacity" + "visibility/self_opacity" + "visibility/on_top" + "transform/pos" + "transform/rot" + "transform/scale" + "script/script" + "__meta__" + "left" + "Sprite" + "texture" + "centered" + "offset" + "flip_h" + "flip_v" + "vframes" + "hframes" + "frame" + "modulate" + "region" + "region_rect" + "right" + "separator" + "ball" + + "version" + 1 + "conn_count" + 0 + "node_count" + 5 + "variants" + + True + 1 + 0, 0 + 0 + 1, 1 + + + "__editor_plugin_states__" + + "Script" + + "current" + 0 + "sources" + + "res://pong.gd" + + + "2D" + + "pixel_snap" + True + "zoom" + 1.108033 + "ofs" + -54.59, -36.0052 + + "3D" + + "zfar" + 500 + "fov" + 45 + "viewports" + + + "distance" + 4 + "x_rot" + 0 + "y_rot" + 0 + "use_orthogonal" + False + "use_environment" + False + "pos" + 0, 0, 0 + + + "distance" + 4 + "x_rot" + 0 + "y_rot" + 0 + "use_orthogonal" + False + "use_environment" + False + "pos" + 0, 0, 0 + + + "distance" + 4 + "x_rot" + 0 + "y_rot" + 0 + "use_orthogonal" + False + "use_environment" + False + "pos" + 0, 0, 0 + + + "distance" + 4 + "x_rot" + 0 + "y_rot" + 0 + "use_orthogonal" + False + "use_environment" + False + "pos" + 0, 0, 0 + + + "viewport_mode" + 1 + "default_light" + True + "show_grid" + True + "show_origin" + True + "znear" + 0.1 + + + "__editor_run_settings__" + + "custom_args" + "-l $scene" + "run_mode" + 0 + + "__editor_plugin_screen__" + "Script" + + 67.6875, 183.208 + + False + 1 + 0 + 1, 1, 1, 1 + 0, 0, 0, 0 + 577, 187 + + 320, 200 + + 320.283, 188 + + + "nodes" + -1, -1, 1, 0, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 0, 0, 0, 12, 11, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 7, 7, 3, 8, 4, 13, 8, 14, 0, 15, 2, 16, 9, 17, 9, 18, 10, 19, 10, 20, 11, 21, 12, 22, 9, 23, 13, 0, 0, 0, 12, 24, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 14, 7, 3, 8, 4, 13, 15, 14, 0, 15, 2, 16, 9, 17, 9, 18, 10, 19, 10, 20, 11, 21, 12, 22, 9, 23, 13, 0, 0, 0, 12, 25, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 16, 7, 3, 8, 4, 13, 17, 14, 0, 15, 2, 16, 9, 17, 9, 18, 10, 19, 10, 20, 11, 21, 12, 22, 9, 23, 13, 0, 0, 0, 12, 26, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 18, 7, 3, 8, 4, 13, 19, 14, 0, 15, 2, 16, 9, 17, 9, 18, 10, 19, 10, 20, 11, 21, 12, 22, 9, 23, 13, 0 + "conns" + + + + + \ No newline at end of file -- cgit v1.2.3