From 323dde7f3164477b3d51fda8352d8b37a19f7f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 21 Nov 2015 16:12:54 +0100 Subject: Update 2D demos scenes for 2.0 format --- demos/2d/area_input/input.scn | Bin 2886 -> 3118 bytes demos/2d/dynamic_collision_shapes/ball.scn | Bin 1898 -> 1857 bytes .../dynamic_collision_shapes/dynamic_colobjs.scn | Bin 4348 -> 4399 bytes demos/2d/fog_of_war/fog.scn | Bin 3714 -> 4159 bytes demos/2d/fog_of_war/tile_edit.scn | Bin 1443 -> 1570 bytes demos/2d/fog_of_war/troll.scn | Bin 1839 -> 1979 bytes demos/2d/hdr/beach_cave.scn | Bin 2972 -> 4834 bytes demos/2d/hexamap/map.scn | Bin 2644 -> 3517 bytes demos/2d/hexamap/tiles.scn | Bin 2091 -> 2217 bytes demos/2d/hexamap/troll.scn | Bin 1839 -> 1983 bytes demos/2d/isometric/dungeon.scn | Bin 8743 -> 4708 bytes demos/2d/isometric/tileset.scn | Bin 2565 -> 4476 bytes demos/2d/isometric/troll.scn | Bin 2100 -> 2116 bytes demos/2d/isometric_light/column.scn | Bin 1909 -> 2026 bytes demos/2d/isometric_light/cubio.scn | Bin 7006 -> 6952 bytes demos/2d/isometric_light/map.scn | Bin 8661 -> 9352 bytes demos/2d/isometric_light/shoot.scn | Bin 4561 -> 4111 bytes demos/2d/isometric_light/tileset_scene.scn | Bin 4812 -> 5339 bytes demos/2d/isometric_light/torch.scn | Bin 4416 -> 3861 bytes demos/2d/kinematic_char/colworld.scn | Bin 7459 -> 7366 bytes demos/2d/kinematic_char/player.scn | Bin 1728 -> 1703 bytes demos/2d/kinematic_col/colworld.scn | Bin 2941 -> 4073 bytes demos/2d/kinematic_col/player.scn | Bin 1495 -> 1625 bytes demos/2d/light_mask/lightmask.scn | Bin 2916 -> 3829 bytes demos/2d/lights_shadows/light_shadows.scn | Bin 7181 -> 4978 bytes demos/2d/lookat/lookat.scn | Bin 1622 -> 1640 bytes demos/2d/motion/motion.scn | Bin 2845 -> 2738 bytes demos/2d/navpoly/navigation.scn | Bin 3456 -> 5128 bytes demos/2d/navpoly/navigation2.scn | Bin 3564 -> 0 bytes demos/2d/normalmaps/normalmap.scn | Bin 2450 -> 3168 bytes demos/2d/particles/particles.xml | 265 ++++--- demos/2d/platformer/bullet.xml | 273 ++++--- demos/2d/platformer/coin.xml | 293 ++++--- demos/2d/platformer/enemy.xml | 98 +-- demos/2d/platformer/moving_platform.xml | 214 +++--- demos/2d/platformer/one_way_platform.xml | 67 +- demos/2d/platformer/parallax_bg.xml | 258 ++++--- demos/2d/platformer/player.xml | 202 ++--- demos/2d/platformer/seesaw.xml | 207 ++--- demos/2d/platformer/stage.xml | 843 ++------------------- demos/2d/platformer/tileset_edit.xml | 213 +++--- demos/2d/pong/pong.xml | 206 ++--- demos/2d/rubegoldberg/ball.xml | 210 ++--- demos/2d/rubegoldberg/box.xml | 242 +++--- demos/2d/rubegoldberg/domino.xml | 244 +++--- demos/2d/rubegoldberg/pendulum.xml | 210 ++--- demos/2d/rubegoldberg/platform.xml | 188 +++-- demos/2d/rubegoldberg/rubegoldberg.xml | 181 +++-- demos/2d/rubegoldberg/seesaw.xml | 266 ++++--- demos/2d/screen_space_shaders/screen_shaders.scn | Bin 5936 -> 7562 bytes demos/2d/sdf_font/sdf.scn | Bin 2415 -> 2820 bytes demos/2d/shower_of_bullets/shower.scn | Bin 1836 -> 1909 bytes demos/2d/space_shooter/asteroid.scn | Bin 4516 -> 3548 bytes demos/2d/space_shooter/enemy1.scn | Bin 3759 -> 3369 bytes demos/2d/space_shooter/enemy2.scn | Bin 3801 -> 3253 bytes demos/2d/space_shooter/enemy_shot.scn | Bin 3944 -> 3218 bytes demos/2d/space_shooter/explosion.scn | Bin 1497 -> 1756 bytes demos/2d/space_shooter/level.scn | Bin 9185 -> 6496 bytes demos/2d/space_shooter/level_tiles.scn | Bin 2168 -> 1825 bytes demos/2d/space_shooter/main_menu.scn | Bin 2402 -> 1903 bytes demos/2d/space_shooter/parallax.scn | Bin 3307 -> 2814 bytes demos/2d/space_shooter/ship.scn | Bin 6752 -> 4965 bytes demos/2d/space_shooter/shot.scn | Bin 4079 -> 3315 bytes demos/2d/splash/splash.xml | 338 +++++---- demos/2d/sprite_shaders/sprite_shaders.scn | Bin 4079 -> 5477 bytes demos/2d/tetris/grid.xml | 252 +++--- demos/2d/tetris/tetris.xml | 252 +++--- demos/2d/texscreen/bubbles.scn | Bin 1551 -> 2626 bytes demos/2d/texscreen/lens.scn | Bin 1805 -> 1850 bytes 69 files changed, 2683 insertions(+), 2839 deletions(-) delete mode 100644 demos/2d/navpoly/navigation2.scn diff --git a/demos/2d/area_input/input.scn b/demos/2d/area_input/input.scn index 1a2dcbc5f4..f3a19f64da 100644 Binary files a/demos/2d/area_input/input.scn and b/demos/2d/area_input/input.scn differ diff --git a/demos/2d/dynamic_collision_shapes/ball.scn b/demos/2d/dynamic_collision_shapes/ball.scn index e332de276d..51a91d5bc0 100644 Binary files a/demos/2d/dynamic_collision_shapes/ball.scn and b/demos/2d/dynamic_collision_shapes/ball.scn differ diff --git a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn index e6d1ebf9cf..6d17e2209f 100644 Binary files a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn and b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn differ diff --git a/demos/2d/fog_of_war/fog.scn b/demos/2d/fog_of_war/fog.scn index 4987f1ead5..cf19601567 100644 Binary files a/demos/2d/fog_of_war/fog.scn and b/demos/2d/fog_of_war/fog.scn differ diff --git a/demos/2d/fog_of_war/tile_edit.scn b/demos/2d/fog_of_war/tile_edit.scn index aaca19d370..3eddf38e48 100644 Binary files a/demos/2d/fog_of_war/tile_edit.scn and b/demos/2d/fog_of_war/tile_edit.scn differ diff --git a/demos/2d/fog_of_war/troll.scn b/demos/2d/fog_of_war/troll.scn index f5d87c3631..ab9af17221 100644 Binary files a/demos/2d/fog_of_war/troll.scn and b/demos/2d/fog_of_war/troll.scn differ diff --git a/demos/2d/hdr/beach_cave.scn b/demos/2d/hdr/beach_cave.scn index 4147a130ad..6a4108e7a5 100644 Binary files a/demos/2d/hdr/beach_cave.scn and b/demos/2d/hdr/beach_cave.scn differ diff --git a/demos/2d/hexamap/map.scn b/demos/2d/hexamap/map.scn index 5798aab850..de49527003 100644 Binary files a/demos/2d/hexamap/map.scn and b/demos/2d/hexamap/map.scn differ diff --git a/demos/2d/hexamap/tiles.scn b/demos/2d/hexamap/tiles.scn index 265aedac2b..a019bbb92d 100644 Binary files a/demos/2d/hexamap/tiles.scn and b/demos/2d/hexamap/tiles.scn differ diff --git a/demos/2d/hexamap/troll.scn b/demos/2d/hexamap/troll.scn index f5d87c3631..1f33dabf8e 100644 Binary files a/demos/2d/hexamap/troll.scn and b/demos/2d/hexamap/troll.scn differ diff --git a/demos/2d/isometric/dungeon.scn b/demos/2d/isometric/dungeon.scn index e03a3bd3dd..8f0f316d73 100644 Binary files a/demos/2d/isometric/dungeon.scn and b/demos/2d/isometric/dungeon.scn differ diff --git a/demos/2d/isometric/tileset.scn b/demos/2d/isometric/tileset.scn index c04ea5382c..e487285f83 100644 Binary files a/demos/2d/isometric/tileset.scn and b/demos/2d/isometric/tileset.scn differ diff --git a/demos/2d/isometric/troll.scn b/demos/2d/isometric/troll.scn index 19b566fe05..d53aac4fbf 100644 Binary files a/demos/2d/isometric/troll.scn and b/demos/2d/isometric/troll.scn differ diff --git a/demos/2d/isometric_light/column.scn b/demos/2d/isometric_light/column.scn index f0b7683885..03f3c2c976 100644 Binary files a/demos/2d/isometric_light/column.scn and b/demos/2d/isometric_light/column.scn differ diff --git a/demos/2d/isometric_light/cubio.scn b/demos/2d/isometric_light/cubio.scn index fc931b0c8d..55e2185247 100644 Binary files a/demos/2d/isometric_light/cubio.scn and b/demos/2d/isometric_light/cubio.scn differ diff --git a/demos/2d/isometric_light/map.scn b/demos/2d/isometric_light/map.scn index 89002f991f..da3fc5654f 100644 Binary files a/demos/2d/isometric_light/map.scn and b/demos/2d/isometric_light/map.scn differ diff --git a/demos/2d/isometric_light/shoot.scn b/demos/2d/isometric_light/shoot.scn index 672608810f..6909ae0c71 100644 Binary files a/demos/2d/isometric_light/shoot.scn and b/demos/2d/isometric_light/shoot.scn differ diff --git a/demos/2d/isometric_light/tileset_scene.scn b/demos/2d/isometric_light/tileset_scene.scn index 3d0773c9c5..4841cc18a7 100644 Binary files a/demos/2d/isometric_light/tileset_scene.scn and b/demos/2d/isometric_light/tileset_scene.scn differ diff --git a/demos/2d/isometric_light/torch.scn b/demos/2d/isometric_light/torch.scn index 3f08b33311..9d6a8e2eae 100644 Binary files a/demos/2d/isometric_light/torch.scn and b/demos/2d/isometric_light/torch.scn differ diff --git a/demos/2d/kinematic_char/colworld.scn b/demos/2d/kinematic_char/colworld.scn index e66705368d..ff10826563 100644 Binary files a/demos/2d/kinematic_char/colworld.scn and b/demos/2d/kinematic_char/colworld.scn differ diff --git a/demos/2d/kinematic_char/player.scn b/demos/2d/kinematic_char/player.scn index 5809c0e98a..5ee86ce85d 100644 Binary files a/demos/2d/kinematic_char/player.scn and b/demos/2d/kinematic_char/player.scn differ diff --git a/demos/2d/kinematic_col/colworld.scn b/demos/2d/kinematic_col/colworld.scn index 064ff12075..06607b7efd 100644 Binary files a/demos/2d/kinematic_col/colworld.scn and b/demos/2d/kinematic_col/colworld.scn differ diff --git a/demos/2d/kinematic_col/player.scn b/demos/2d/kinematic_col/player.scn index e558bffe8e..28ad204472 100644 Binary files a/demos/2d/kinematic_col/player.scn and b/demos/2d/kinematic_col/player.scn differ diff --git a/demos/2d/light_mask/lightmask.scn b/demos/2d/light_mask/lightmask.scn index 08805f44c6..fcf56b5b84 100644 Binary files a/demos/2d/light_mask/lightmask.scn and b/demos/2d/light_mask/lightmask.scn differ diff --git a/demos/2d/lights_shadows/light_shadows.scn b/demos/2d/lights_shadows/light_shadows.scn index 152f68a407..24ccd1e0be 100644 Binary files a/demos/2d/lights_shadows/light_shadows.scn and b/demos/2d/lights_shadows/light_shadows.scn differ diff --git a/demos/2d/lookat/lookat.scn b/demos/2d/lookat/lookat.scn index 880070b4c7..66be060c06 100644 Binary files a/demos/2d/lookat/lookat.scn and b/demos/2d/lookat/lookat.scn differ diff --git a/demos/2d/motion/motion.scn b/demos/2d/motion/motion.scn index 6c5b5307ac..6e19356674 100644 Binary files a/demos/2d/motion/motion.scn and b/demos/2d/motion/motion.scn differ diff --git a/demos/2d/navpoly/navigation.scn b/demos/2d/navpoly/navigation.scn index 1bb7de391b..c56270bfd3 100644 Binary files a/demos/2d/navpoly/navigation.scn and b/demos/2d/navpoly/navigation.scn differ diff --git a/demos/2d/navpoly/navigation2.scn b/demos/2d/navpoly/navigation2.scn deleted file mode 100644 index 224aed73f5..0000000000 Binary files a/demos/2d/navpoly/navigation2.scn and /dev/null differ diff --git a/demos/2d/normalmaps/normalmap.scn b/demos/2d/normalmaps/normalmap.scn index ab737e83f3..cf5fc05ce1 100644 Binary files a/demos/2d/normalmaps/normalmap.scn and b/demos/2d/normalmaps/normalmap.scn differ diff --git a/demos/2d/particles/particles.xml b/demos/2d/particles/particles.xml index c8f7596b86..c21ccb1f55 100644 --- a/demos/2d/particles/particles.xml +++ b/demos/2d/particles/particles.xml @@ -1,37 +1,49 @@ - - - - + + + + + + 0, 0.1, 1 + 1, 1, 1, 0, 0.886275, 0.371681, 0, 1, 1, 0.99115, 1, 0 + + + + 0, 0.2, 1 + 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0 + + + + 0, 0.1, 0.5, 1 + 1, 1, 1, 0.870518, 1, 0.47451, 0.6, 1, 0.529412, 0.74902, 1, 1, 0, 1, 0.698039, 0 + + + + 0, 0.1, 0.7, 1 + 1, 1, 1, 0, 0.886275, 0.401015, 0, 1, 1, 0.679866, 0.432123, 0.12654, 0, 0, 0, 0 + + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "Node" - "_import_path" "__meta__" "Fire" - "Particles2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/behind_parent" "visibility/blend_mode" "transform/pos" "transform/rot" - "transform/scale" "config/amount" "config/lifetime" - "config/time_scale" - "config/preprocess" - "config/emit_timeout" - "config/emitting" - "config/offset" "config/half_extents" "config/local_space" - "config/explosiveness" - "config/flip_h" - "config/flip_v" "config/texture" "params/direction" "params/spread" @@ -47,136 +59,159 @@ "params/initial_size" "params/final_size" "params/hue_variation" - "randomness/direction" - "randomness/spread" - "randomness/linear_velocity" - "randomness/spin_velocity" - "randomness/orbit_velocity" - "randomness/gravity_direction" - "randomness/gravity_strength" - "randomness/radial_accel" - "randomness/tangential_accel" - "randomness/damping" + "params/anim_speed_scale" + "params/anim_initial_pos" "randomness/initial_angle" - "randomness/initial_size" - "randomness/final_size" - "randomness/hue_variation" - "color_phases/count" - "phase_0/pos" - "phase_0/color" - "phase_1/pos" - "phase_1/color" - "phase_2/pos" - "phase_2/color" - "phase_3/pos" - "phase_3/color" - "emission_points" + "color/color_ramp" + "Particles2D" "Smoke" + "randomness/spin_velocity" "Magic" + "randomness/orbit_velocity" "Explosion" + "visibility/behind_parent" + "config/time_scale" + "config/explosiveness" "Mask" + "color/color" + "emission_points" - "version" - 1 - "conn_count" - 0 "node_count" 6 + "node_paths" + + + "nodes" + -1, -1, 0, 0, -1, 1, 1, 0, 0, 0, 0, 29, 2, -1, 26, 3, 1, 4, 2, 5, 3, 6, 4, 7, 5, 8, 6, 9, 7, 10, 8, 11, 9, 12, 9, 13, 10, 14, 9, 15, 9, 16, 11, 17, 12, 18, 9, 19, 9, 20, 9, 21, 11, 22, 13, 23, 14, 24, 9, 25, 5, 26, 9, 27, 15, 28, 16, 0, 0, 0, 29, 30, -1, 25, 4, 17, 5, 18, 6, 4, 7, 19, 9, 7, 10, 20, 11, 9, 12, 21, 13, 22, 14, 5, 15, 9, 16, 9, 17, 9, 18, 9, 19, 9, 20, 9, 21, 11, 22, 5, 23, 23, 24, 9, 25, 5, 26, 9, 31, 5, 27, 5, 28, 24, 0, 0, 0, 29, 32, -1, 26, 4, 25, 6, 4, 7, 15, 8, 26, 9, 7, 10, 27, 11, 9, 12, 11, 13, 10, 14, 14, 15, 28, 16, 9, 17, 29, 18, 9, 19, 30, 20, 9, 21, 31, 22, 23, 23, 5, 24, 9, 25, 5, 26, 9, 31, 5, 33, 32, 27, 5, 28, 33, 0, 0, 0, 29, 34, -1, 28, 35, 34, 3, 1, 4, 35, 5, 3, 6, 4, 7, 15, 36, 15, 8, 6, 9, 7, 37, 36, 10, 20, 11, 9, 12, 11, 13, 37, 14, 9, 15, 9, 16, 11, 17, 12, 18, 9, 19, 9, 20, 38, 21, 5, 22, 13, 23, 23, 24, 9, 25, 5, 26, 9, 28, 39, 0, 0, 0, 29, 38, -1, 25, 4, 40, 6, 41, 7, 42, 8, 43, 9, 7, 10, 27, 11, 9, 12, 11, 13, 9, 14, 15, 15, 9, 16, 9, 17, 9, 18, 9, 19, 9, 20, 9, 21, 5, 22, 5, 23, 5, 24, 9, 25, 5, 26, 9, 31, 5, 39, 44, 40, 45, 0 "variants" - - "" + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "pixel_snap" + "ofs" + -193.367, -465.428 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 0.440127 - "use_snap" - False - "ofs" - -193.367, -173.288 - "snap" - 10 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -185,77 +220,55 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - True - 1 - False 1 165.787, 527.801 -179.790649 - 1, 1 32 - 0 - 0, 0 + 1 15, 15 - + False + + 0 20 180 80 0.7 0.3 2 - 3 - 1, 1, 1, 0 - 0.1 - 0.886275, 0.371681, 0, 1 - 1, 0.99115, 1, 0 - 0, 0, 0, 1 - + 377.396, 543.147 176.575912 4 - + 20.907272 47.151516 3 - 0.2 - 1, 1, 1, 1 - 0, 0, 0, 0 + 593.848, 531.064 40, 40 - + 0.01 9.8 15.515152 45 100 - 4 - 1, 1, 1, 0.870518 - 1, 0.47451, 0.6, 1 - 0.5 - 0.529412, 0.74902, 1, 1 - 0, 1, 0.698039, 0 + + True 613.467, 182.62 0.05 184.546997 366.300415 - 0.886275, 0.401015, 0, 1 - 1, 0.679866, 0.432123, 0.12654 + 192.975, 141.598 170 + 0.1 128, 128 - 0 1, 0.477876, 0.60177, 1 - 0.533333, 0.752212, 1, 1 - 0, 1, 0.699115, 0 -0.125, -0.03125, 0.65625, -0.148438, 0.609375, 0.0234375, -0.757812, 0.375, 0.265625, 0.078125, 0.632812, 0.382812, 0.671875, 0.414062, 0.367188, -0.226562, 0.75, -0.125, 0.4375, 0.421875, 0.335938, -0.148438, -0.125, 0.257812, -0.171875, 0.359375, -0.601562, -0.265625, 0.375, 0.382812, -0.296875, 0.09375, -0.664062, -0.21875, -0.554688, -0.226562, -0.320312, 0.367188, -0.320312, -0.257812, 0, -0.257812, 0.578125, -0.25, -0.164062, 0.109375, -0.578125, -0.015625, -0.445312, 0, 0.273438, 0.101562, 0.320312, 0.03125, -0.125, 0.0703125, -0.570312, 0.289062, 0.257812, -0.09375, -0.585938, 0.179688, -0.664062, 0.0234375, -0.25, -0.0859375, 0.6875, -0.109375, 0.234375, 0, -0.5, -0.265625, 0.710938, 0.335938, 0.609375, -0.046875, 0.664062, -0.210938, -0.242188, -0.21875, -0.484375, -0.257812, -0.453125, 0.414062, 0.609375, -0.203125, 0.289062, 0.132812, -0.03125, -0.257812, -0.492188, -0.1875, 0.5625, -0.140625, -0.5625, 0.148438, -0.257812, -0.234375, -0.140625, 0.15625, -0.5625, 0.109375, 0.132812, 0.398438, -0.640625, -0.25, -0.585938, 0.304688, -0.328125, -0.257812, 0.226562, 0.148438, -0.546875, 0.210938, 0.625, 0.179688, 0.648438, -0.0078125, 0.367188, 0.328125, 0.265625, 0.0546875, -0.59375, -0.273438, -0.203125, 0.21875, 0.570312, -0.21875, -0.695312, 0.078125, -0.375, 0.03125, -0.164062, 0.0390625, 0.265625, 0.226562, -0.625, -0.109375, 0.203125, -0.132812, -0.671875, 0.328125, 0.625, -0.179688, -0.640625, 0.0859375, 0.65625, 0, -0.242188, 0.414062, 0.242188, 0.25, -0.148438, -0.0625, 0.390625, -0.25, 0.664062, 0.351562, 0.320312, 0.203125, -0.546875, 0.335938, 0.328125, -0.148438, 0.609375, -0.0625, -0.171875, 0.046875, -0.578125, 0.0546875, -0.304688, -0.28125, 0.734375, -0.0546875, 0.679688, 0.390625, -0.460938, 0.0859375, -0.703125, 0.101562, -0.140625, 0.234375, -0.507812, 0.078125, -0.25, 0.304688, -0.046875, 0.359375, 0.1875, 0.0703125, -0.570312, 0.242188, 0.65625, 0.0859375, -0.203125, -0.265625, -0.164062, -0.179688, 0.367188, -0.1875, -0.601562, -0.101562, -0.117188, -0.210938, -0.546875, 0.109375, -0.585938, -0.28125, -0.59375, -0.03125, 0.3125, -0.179688, 0.414062, 0.429688, -0.476562, -0.195312, -0.0703125, -0.21875, -0.5625, 0.304688, -0.609375, 0.226562, 0.429688, 0.429688, 0.203125, 0.242188, 0.078125, 0.367188, 0.242188, 0.03125, 0.601562, -0.0390625, 0.328125, 0.03125, -0.53125, -0.195312, -0.53125, -0.210938, 0.3125, -0.257812, 0.445312, -0.273438, 0.273438, -0.273438, -0.695312, -0.179688, 0.234375, -0.15625, -0.546875, -0.242188, -0.234375, -0.125, 0.734375, -0.226562, 0.367188, -0.234375, -0.15625, 0.046875, -0.445312, -0.226562, 0.625, 0.03125, -0.0859375, 0.210938, -0.648438, 0.296875, 0.335938, -0.109375, 0.625, -0.078125, 0.601562, 0.351562, 0.242188, 0.140625, 0.0234375, -0.273438, -0.679688, -0.109375, 0.640625, 0.15625, 0.171875, 0.0859375, -0.273438, -0.273438, -0.242188, 0.34375, 0.179688, 0.15625, -0.179688, -0.117188, 0.671875, 0.03125, -0.640625, 0.304688, 0.109375, -0.242188, -0.210938, 0.382812, -0.0859375, 0.0078125, -0.695312, 0.078125, 0.296875, 0.320312, 0.304688, -0.226562, 0.257812, -0.0234375, -0.203125, -0.015625, -0.648438, 0.335938, -0.703125, -0.132812, -0.273438, -0.210938, -0.15625, -0.273438, -0.0390625, 0.335938, 0.617188, 0.179688, 0.34375, 0.390625, -0.210938, -0.132812, -0.226562, -0.117188, 0.617188, -0.289062, 0.125, -0.21875, 0.71875, -0.164062, -0.570312, 0.1875, -0.1875, 0.382812, 0.640625, -0.296875, -0.125, 0.109375, 0.671875, 0.289062, -0.515625, 0.382812, 0.359375, -0.179688, 0.726562, -0.226562, 0.25, 0.320312, -0.328125, 0, -0.117188, -0.234375, -0.210938, -0.148438, -0.546875, -0.117188, 0.359375, 0.429688, -0.15625, -0.226562, 0.632812, -0.257812, -0.28125, -0.273438, 0.265625, 0.015625, -0.765625, 0.351562, 0.703125, 0.421875, -0.585938, 0.0078125, 0.28125, 0.109375, 0.304688, 0.171875, 0.65625, 0.421875, 0.078125, 0.382812, 0.179688, 0.25, -0.382812, 0.0703125, 0.585938, -0.140625, -0.109375, 0.382812, -0.59375, -0.09375, 0.4375, 0.398438, -0.132812, 0.0234375, -0.625, 0.0078125, -0.210938, -0.21875, -0.25, 0.257812, 0.257812, 0.398438, 0.625, 0.195312, 0.148438, -0.234375, -0.476562, 0.398438, -0.210938, 0.046875, 0.695312, -0.101562, 0.695312, 0.140625, -0.492188, -0.1875, 0.25, -0.09375, -0.195312, -0.195312, -0.328125, 0.0703125, -0.242188, -0.0625, 0.296875, 0.34375, -0.632812, 0.0078125, -0.265625, 0.09375, 0.421875, -0.203125, 0.171875, 0.03125, -0.09375, -0.0703125, 0.289062, 0.0859375, -0.609375, 0.390625, -0.554688, 0.257812, -0.6875, 0.0078125, 0.304688, 0.414062, 0.226562, 0.390625, -0.21875, -0.28125, 0.265625, 0.320312, -0.671875, 0.234375, -0.210938, 0.03125, 0.679688, -0.0234375, 0.359375, -0.203125, 0.3125, 0.289062, 0.671875, 0.140625, -0.78125, 0.414062, -0.546875, 0.40625, 0.625, 0.367188, 0.0859375, 0.421875, 0.1875, -0.09375, 0.617188, 0.40625, -0.078125, -0.0390625, 0.695312, 0.0859375, -0.6875, -0.265625, 0.421875, -0.265625, 0.601562, -0.0234375, -0.3125, -0.265625, -0.078125, 0.046875, 0.617188, 0.164062, 0.273438, -0.03125, -0.695312, -0.015625, -0.5625, 0.164062, -0.578125, 0.265625, -0.726562, 0.421875, -0.078125, -0.25, -0.171875, 0.171875, -0.234375, -0.0390625, 0.257812, 0.429688, -0.179688, -0.117188, 0.351562, -0.03125, -0.78125, -0.234375, -0.546875, -0.171875, -0.460938, -0.234375, -0.164062, 0.09375, -0.65625, 0.398438, -0.445312, 0.0859375, -0.71875, -0.226562, 0.671875, 0.101562, -0.46875, -0.195312, -0.71875, -0.265625, 0.617188, 0.125, -0.78125, -0.21875, -0.226562, -0.15625, 0.21875, 0.0234375, 0.289062, 0.101562, 0.648438, -0.171875, 0.390625, -0.273438, -0.257812, 0.078125, -0.21875, 0, 0.65625, -0.203125, -0.679688, 0.171875, -0.1875, 0.328125, -0.46875, -0.28125, 0.273438, 0, 0.664062, 0.296875, -0.140625, 0.335938, -0.625, 0.382812, -0.34375, -0.21875, -0.171875, -0.25, -0.546875, -0.117188, -0.117188, -0.203125, -0.1875, 0.351562, -0.585938, -0.109375, -0.203125, -0.0625, -0.570312, 0.03125, -0.5625, -0.109375, 0.601562, -0.195312, 0.3125, 0.140625, -0.101562, 0.25, 0.25, 0.3125, 0.125, -0.203125, -0.09375, -0.140625, -0.242188, 0.414062, 0.664062, -0.0625, -0.21875, -0.078125, 0.6875, -0.210938, -0.140625, 0.015625, -0.632812, -0.25, -0.109375, 0.234375, -0.695312, 0.015625, -0.3125, -0.28125, 0.296875, -0.0234375, 0.296875, 0.203125, -0.125, 0.234375, 0.570312, 0.390625, -0.554688, 0.203125, -0.5625, 0.351562, -0.15625, 0.21875, -0.375, 0.0390625, -0.226562, -0.140625, 0.695312, 0.164062, 0.632812, 0.367188, -0.328125, -0.210938, -0.59375, 0.34375, 0.304688, -0.242188, -0.34375, 0.0703125, -0.679688, -0.179688, 0.664062, 0.101562, 0.34375, 0.171875, -0.695312, -0.078125, -0.242188, -0.0546875, 0.304688, -0.234375, -0.0078125, -0.21875, -0.632812, 0.203125, 0.625, 0.03125, -0.414062, 0.015625, 0.273438, -0.078125, 0.695312, 0.28125, 0.34375, 0.101562, -0.164062, 0.289062, -0.1875, 0.273438, -0.203125, 0.0703125, 0.734375, -0.171875, -0.59375, 0.34375, -0.15625, 0.210938, 0.429688, 0.375, -0.234375, 0.34375, 0.617188, 0.101562, 0.703125, 0, -0.578125, 0.148438, 0.21875, -0.171875, -0.304688, 0.375, -0.65625, -0.09375, -0.101562, 0.25, -0.4375, 0.03125, -0.242188, 0.421875, -0.546875, 0.0625, -0.632812, -0.148438, -0.125, 0.179688, 0.179688, 0.304688, -0.265625, 0.078125, -0.289062, 0.421875, -0.585938, 0.1875, -0.289062, 0.34375, 0.273438, 0.367188, -0.109375, 0.117188, 0.34375, 0.046875, -0.0625, 0.320312, 0.6875, -0.234375, -0.523438, 0.320312, -0.09375, -0.242188, -0.65625, 0.25, -0.609375, -0.117188, -0.140625, 0.140625, 0.28125, -0.09375, -0.625, -0.28125, 0.34375, 0.328125, 0.265625, 0.109375, -0.609375, 0.0078125, -0.078125, -0.234375, -0.289062, -0.203125, 0.289062, 0.289062, -0.0859375, 0.0078125, -0.101562, -0.28125, -0.625, -0.101562, -0.546875, 0.382812, -0.539062, -0.195312, -0.210938, 0.046875, -0.492188, 0.390625, -0.664062, -0.0703125, 0.71875, -0.101562, -0.140625, -0.046875, 0.695312, 0.289062, -0.710938, 0.429688, -0.703125, 0.3125, -0.203125, 0.109375, 0.421875, -0.273438, 0.304688, 0.21875, 0.328125, 0.257812, -0.632812, -0.0703125, 0.320312, -0.140625, 0.265625, -0.203125, -0.109375, -0.179688, 0.25, -0.210938, 0.65625, 0.109375, -0.648438, -0.0625, -0.0859375, 0.375, -0.429688, 0.398438, 0.320312, 0.3125, -0.0703125, 0.265625, 0.648438, 0.0078125, 0.320312, 0.335938, 0.398438, 0.421875, -0.101562, -0.0625, -0.296875, 0.40625, 0.695312, -0.0390625, 0.335938, 0.21875, -0.546875, 0.117188, -0.476562, 0.390625, -0.648438, 0.117188, -0.078125, -0.28125, 0.328125, 0.289062, -0.226562, 0.179688, 0.226562, 0.375, -0.429688, 0.382812, -0.0546875, 0.34375, 0.59375, -0.125, 0.632812, 0.265625, 0.226562, 0.3125, -0.523438, -0.140625, -0.546875, 0.046875, 0.242188, -0.148438, -0.648438, 0.0234375, -0.289062, 0, -0.546875, 0.101562, -0.125, -0.0625, -0.492188, 0.367188, 0.328125, 0.15625, -0.351562, 0.0546875, -0.609375, 0.414062, -0.296875, 0.09375, 0.671875, -0.203125, -0.257812, -0.273438, -0.335938, 0.414062, 0.65625, -0.195312, -0.601562, -0.101562, -0.203125, -0.078125, 0.210938, 0.242188, 0.296875, 0.335938, -0.578125, 0.40625, -0.664062, -0.078125, -0.0859375, 0.390625, 0.171875, 0.304688, -0.6875, 0.390625, -0.554688, 0.0078125, -0.570312, -0.179688, -0.210938, -0.09375, 0.726562, -0.03125, -0.546875, -0.0859375, -0.265625, -0.171875, -0.65625, 0.179688, -0.171875, 0.257812, -0.164062, -0.171875, 0.203125, 0.335938, -0.640625, 0.21875, 0.390625, 0.375, 0.6875, -0.234375, 0.742188, 0.34375, -0.0546875, 0.351562, -0.632812, 0.195312, 0.671875, -0.21875, 0.195312, 0.015625, 0.226562, 0.117188, -0.507812, 0.078125, -0.140625, -0.15625, 0.703125, -0.28125, 0.226562, -0.140625, 0.328125, 0.421875, 0.3125, 0.1875, 0.703125, 0.078125, 0.351562, 0.289062, 0.21875, -0.242188, -0.328125, 0, 0.171875, 0.101562, -0.304688, -0.242188, -0.210938, 0.078125, 0.625, -0.0078125, 0.25, 0.242188, -0.664062, 0.117188, 0.203125, -0.140625, 0.226562, 0.429688, 0.328125, -0.203125, -0.679688, 0.0703125, -0.195312, -0.148438, -0.523438, 0.328125, 0.382812, -0.257812, 0.578125, -0.171875, 0.65625, 0.320312, -0.632812, -0.148438, 0.703125, 0.0703125, -0.53125, 0.398438, -0.414062, 0.03125, -0.0859375, 0.0546875, -0.53125, 0.335938, 0.304688, 0.429688, -0.234375, -0.148438, -0.375, 0.046875, -0.148438, 0.289062, -0.0390625, 0.421875, 0.226562, -0.125, -0.570312, 0.398438, -0.0703125, -0.0234375, 0.257812, -0.132812 - "nodes" - -1, -1, 0, 0, -1, 2, 1, 0, 2, 1, 0, 0, 0, 4, 3, -1, 60, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 8, 13, 9, 14, 3, 15, 3, 16, 10, 17, 10, 18, 2, 19, 11, 20, 12, 21, 4, 22, 3, 23, 4, 24, 4, 25, 13, 26, 10, 27, 10, 28, 14, 29, 10, 30, 10, 31, 15, 32, 16, 33, 10, 34, 10, 35, 10, 36, 15, 37, 17, 38, 18, 39, 10, 40, 10, 41, 10, 42, 10, 43, 10, 44, 10, 45, 10, 46, 10, 47, 10, 48, 10, 49, 10, 50, 19, 51, 10, 52, 10, 53, 10, 54, 20, 55, 10, 56, 21, 57, 22, 58, 23, 59, 3, 60, 24, 61, 3, 62, 25, 63, 26, 0, 0, 0, 4, 64, -1, 59, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 10, 27, 11, 28, 12, 8, 13, 9, 14, 29, 15, 3, 16, 10, 17, 10, 18, 2, 19, 11, 20, 11, 21, 4, 22, 3, 23, 4, 24, 4, 25, 30, 26, 10, 27, 31, 28, 32, 29, 3, 30, 10, 31, 10, 32, 10, 33, 10, 34, 10, 35, 10, 36, 15, 37, 3, 38, 33, 39, 10, 40, 10, 41, 10, 42, 10, 43, 3, 44, 10, 45, 10, 46, 10, 47, 10, 48, 10, 49, 10, 50, 3, 51, 10, 52, 10, 53, 10, 54, 20, 55, 10, 56, 21, 57, 34, 58, 35, 59, 3, 60, 36, 61, 3, 62, 25, 63, 26, 0, 0, 0, 4, 65, -1, 59, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 10, 37, 11, 10, 12, 8, 13, 9, 14, 19, 15, 3, 16, 10, 17, 10, 18, 2, 19, 11, 20, 38, 21, 4, 22, 3, 23, 4, 24, 4, 25, 39, 26, 10, 27, 15, 28, 14, 29, 18, 30, 40, 31, 10, 32, 41, 33, 10, 34, 42, 35, 10, 36, 43, 37, 33, 38, 3, 39, 10, 40, 10, 41, 10, 42, 10, 43, 3, 44, 44, 45, 10, 46, 10, 47, 10, 48, 10, 49, 10, 50, 3, 51, 10, 52, 10, 53, 10, 54, 45, 55, 10, 56, 46, 57, 22, 58, 47, 59, 48, 60, 49, 61, 3, 62, 50, 63, 26, 0, 0, 0, 4, 66, -1, 60, 1, 0, 5, 2, 6, 3, 7, 3, 8, 2, 9, 5, 10, 51, 11, 7, 12, 8, 13, 9, 14, 19, 15, 19, 16, 10, 17, 10, 18, 2, 19, 11, 20, 12, 21, 4, 22, 52, 23, 4, 24, 4, 25, 30, 26, 10, 27, 15, 28, 53, 29, 10, 30, 10, 31, 15, 32, 16, 33, 10, 34, 10, 35, 54, 36, 3, 37, 17, 38, 33, 39, 10, 40, 10, 41, 10, 42, 10, 43, 10, 44, 10, 45, 10, 46, 10, 47, 10, 48, 10, 49, 10, 50, 10, 51, 10, 52, 10, 53, 10, 54, 45, 55, 10, 56, 21, 57, 22, 58, 55, 59, 17, 60, 56, 61, 3, 62, 36, 63, 26, 0, 0, 0, 4, 67, -1, 59, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 10, 57, 11, 10, 12, 8, 13, 58, 14, 22, 15, 3, 16, 10, 17, 10, 18, 2, 19, 11, 20, 59, 21, 4, 22, 3, 23, 4, 24, 4, 25, 39, 26, 10, 27, 15, 28, 10, 29, 19, 30, 10, 31, 10, 32, 10, 33, 10, 34, 10, 35, 10, 36, 3, 37, 3, 38, 3, 39, 10, 40, 10, 41, 10, 42, 10, 43, 3, 44, 10, 45, 10, 46, 10, 47, 10, 48, 10, 49, 10, 50, 10, 51, 10, 52, 10, 53, 10, 54, 60, 55, 10, 56, 61, 57, 48, 58, 62, 59, 3, 60, 63, 61, 3, 62, 25, 63, 64, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/platformer/bullet.xml b/demos/2d/platformer/bullet.xml index 84c903803f..63938581ad 100644 --- a/demos/2d/platformer/bullet.xml +++ b/demos/2d/platformer/bullet.xml @@ -1,11 +1,16 @@ - - - + + + 0 10 + + + 0, 1 + 1, 1, 1, 1, 1, 0, 0, 0 + "shutdown" @@ -18,14 +23,14 @@ "cont" False + "times" + 0 "transitions" 1 "values" False - "times" - 0 "value" "sprite:visibility/self_opacity" @@ -33,6 +38,8 @@ "cont" True + "times" + 0, 1.00394 "transitions" 1, 1 "values" @@ -40,13 +47,13 @@ 1 0 - "times" - 0, 1.00394 "method" "." 1 + "times" + 1.31 "transitions" 1 "values" @@ -59,57 +66,51 @@ "queue_free" - "times" - 1.31 + "conn_count" + 1 + "conns" + 4, 0, 73, 72, 2, 0 + "editable_instances" + + "names" - + "bullet" - "RigidBody2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" + "damp_override/linear" + "damp_override/angular" "script/script" "__meta__" + "RigidBody2D" "particles" - "Particles2D" + "visibility/opacity" "visibility/blend_mode" "config/amount" "config/lifetime" - "config/time_scale" - "config/preprocess" - "config/emit_timeout" - "config/emitting" - "config/offset" - "config/half_extents" "config/local_space" - "config/explosiveness" - "config/flip_h" - "config/flip_v" "config/texture" "params/direction" "params/spread" @@ -121,54 +122,27 @@ "params/radial_accel" "params/tangential_accel" "params/damping" + "params/initial_angle" "params/initial_size" "params/final_size" "params/hue_variation" - "randomness/direction" - "randomness/spread" - "randomness/linear_velocity" - "randomness/spin_velocity" - "randomness/orbit_velocity" - "randomness/gravity_direction" - "randomness/gravity_strength" - "randomness/radial_accel" - "randomness/tangential_accel" - "randomness/damping" - "randomness/initial_size" - "randomness/final_size" - "randomness/hue_variation" - "color_phases/count" - "phase_0/pos" - "phase_0/color" - "phase_1/pos" - "phase_1/color" - "phase_2/pos" - "phase_2/color" - "phase_3/pos" - "phase_3/color" - "emission_points" + "params/anim_speed_scale" + "params/anim_initial_pos" + "color/color_ramp" + "Particles2D" "sprite" - "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" + "Sprite" "CollisionShape2D" "shape" "trigger" + "_update_shape_index" "Timer" + "process_mode" "wait_time" "one_shot" "autostart" "anim" - "AnimationPlayer" "playback/process_mode" "playback/default_blend_time" "root/root" @@ -177,128 +151,158 @@ "playback/speed" "blend_times" "autoplay" + "AnimationPlayer" "disable" "timeout" - "version" - 1 - "conn_count" - 1 "node_count" 6 + "node_paths" + + + "nodes" + -1, -1, 24, 0, -1, 23, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 5, 10, 6, 11, 5, 12, 0, 13, 7, 14, 4, 15, 0, 16, 0, 17, 8, 18, 9, 19, 6, 20, 10, 21, 10, 22, 11, 23, 12, 0, 0, 0, 49, 25, -1, 23, 26, 13, 27, 3, 28, 14, 29, 15, 30, 0, 31, 16, 32, 6, 33, 17, 34, 6, 35, 6, 36, 6, 37, 6, 38, 6, 39, 6, 40, 6, 41, 6, 42, 6, 43, 5, 44, 6, 45, 6, 46, 5, 47, 6, 48, 18, 0, 0, 0, 52, 50, -1, 1, 51, 16, 0, 0, 0, 53, 53, -1, 3, 54, 1, 55, 0, 56, 19, 0, 0, 0, 57, 57, -1, 4, 58, 3, 59, 5, 60, 8, 61, 0, 0, 0, 0, 71, 62, -1, 8, 63, 3, 64, 6, 65, 20, 66, 21, 67, 8, 68, 5, 69, 22, 70, 23, 0 "variants" - - True - 1 - 0, 0 - 0 - 1, 1 - 1 + + False 1, 0, 0, 1, 0, 0 - False + 1 0 + 1 + 0 2 - + True + 0, 0 + -1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - "Script" - - "current" - 2 - "sources" - - "res://enemy.gd" - "res://player.gd" - "res://bullet.gd" - - "2D" - "pixel_snap" + "ofs" + -74.7573, -35.9676 + "snap_grid" False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 3.424785 - "ofs" - -74.7573, -35.9676 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -307,29 +311,22 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" 0.559322 24 0.1 - + 10 - 1, 1, 1, 1 - 1, 0, 0, 0 - 0, 0, 0, 1 - - 0, 0, 0, 0 + + -1 ".." "" - "nodes" - -1, -1, 1, 0, -1, 25, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 8, 13, 9, 14, 1, 15, 1, 16, 3, 17, 8, 18, 10, 19, 9, 20, 8, 21, 0, 22, 0, 23, 2, 24, 3, 25, 11, 26, 12, 0, 0, 0, 28, 27, -1, 57, 2, 0, 3, 13, 4, 1, 5, 0, 29, 5, 6, 2, 7, 3, 8, 4, 30, 14, 31, 15, 32, 1, 33, 3, 34, 3, 35, 0, 36, 2, 37, 2, 38, 8, 39, 1, 40, 8, 41, 8, 42, 16, 43, 3, 44, 17, 45, 3, 46, 3, 47, 3, 48, 3, 49, 3, 50, 3, 51, 3, 52, 3, 53, 1, 54, 3, 55, 3, 56, 3, 57, 3, 58, 3, 59, 3, 60, 3, 61, 3, 62, 3, 63, 3, 64, 3, 65, 3, 66, 3, 67, 3, 68, 3, 69, 10, 70, 3, 71, 18, 72, 1, 73, 19, 74, 1, 75, 20, 76, 1, 77, 20, 78, 21, 0, 0, 0, 80, 79, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 81, 16, 82, 0, 83, 2, 84, 8, 85, 8, 86, 5, 87, 5, 88, 9, 89, 18, 90, 8, 91, 22, 0, 0, 0, 92, 92, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 93, 6, 94, 8, 0, 0, 0, 95, 95, -1, 3, 96, 1, 97, 0, 98, 8, 0, 0, 0, 100, 99, -1, 8, 101, 5, 102, 3, 103, 23, 104, 24, 105, 0, 106, 1, 107, 25, 108, 26, 0 - "conns" - 4, 0, 110, 109, 2, 0 + "version" + 2 diff --git a/demos/2d/platformer/coin.xml b/demos/2d/platformer/coin.xml index 194ea711b0..f33a63bd57 100644 --- a/demos/2d/platformer/coin.xml +++ b/demos/2d/platformer/coin.xml @@ -1,9 +1,9 @@ - - - - - + + + + + 0 10 @@ -20,14 +20,14 @@ "cont" True + "times" + 0 "transitions" 1 "values" 0 - "times" - 0 "value" "sound:play/play" @@ -35,14 +35,14 @@ "cont" False + "times" + 0 "transitions" 1 "values" "coin" - "times" - 0 "value" "particles:visibility/self_opacity" @@ -50,6 +50,8 @@ "cont" True + "times" + 0, 1.66 "transitions" 1, 1 "values" @@ -57,8 +59,6 @@ 1 0 - "times" - 0, 1.66 "value" "sprite:visibility/self_opacity" @@ -66,6 +66,8 @@ "cont" True + "times" + 0, 0.4 "transitions" 1, 1 "values" @@ -73,8 +75,6 @@ 1 0 - "times" - 0, 0.4 "value" "particles:config/emitting" @@ -82,19 +82,21 @@ "cont" False + "times" + 0 "transitions" 1 "values" True - "times" - 0 "method" "." 1 + "times" + 2.7 "transitions" 1 "values" @@ -107,8 +109,6 @@ "queue_free" - "times" - 2.7 @@ -123,6 +123,8 @@ "cont" False + "times" + 0, 0.25, 0.5, 0.75, 1, 1.25, 1.5 "transitions" 1, 1, 1, 1, 1, 1, 1 "values" @@ -135,8 +137,6 @@ 1 0 - "times" - 0, 0.25, 0.5, 0.75, 1, 1.25, 1.5 @@ -147,49 +147,43 @@ "pitch" 1 "sample" - + + + + 0, 1 + 1, 1, 1, 1, 0, 0, 0, 1 + + "conn_count" + 1 + "conns" + 0, 0, 76, 75, 2, 0 + "editable_instances" + + "names" - + "coin" - "Area2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" - "gravity_point" "gravity_vec" "gravity" - "density" - "monitoring" + "linear_damp" + "angular_damp" "script/script" "__meta__" + "Area2D" "sprite" - "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" "hframes" - "frame" - "modulate" - "region" - "region_rect" + "Sprite" "anim" - "AnimationPlayer" "playback/process_mode" "playback/default_blend_time" "root/root" @@ -199,12 +193,13 @@ "playback/speed" "blend_times" "autoplay" + "AnimationPlayer" "collision" - "CollisionShape2D" "shape" "trigger" + "_update_shape_index" + "CollisionShape2D" "sound" - "SamplePlayer2D" "params/volume_db" "params/pitch_scale" "params/attenuation/min_distance" @@ -213,19 +208,13 @@ "config/polyphony" "config/samples" "config/pitch_random" + "SamplePlayer2D" "particles" - "Particles2D" "visibility/blend_mode" "config/amount" "config/lifetime" - "config/time_scale" - "config/preprocess" - "config/emit_timeout" "config/emitting" - "config/offset" "config/half_extents" - "config/local_space" - "config/explosiveness" "config/texture" "params/direction" "params/spread" @@ -237,160 +226,170 @@ "params/radial_accel" "params/tangential_accel" "params/damping" + "params/initial_angle" "params/initial_size" "params/final_size" "params/hue_variation" - "randomness/direction" - "randomness/spread" - "randomness/linear_velocity" - "randomness/spin_velocity" - "randomness/orbit_velocity" - "randomness/gravity_direction" - "randomness/gravity_strength" - "randomness/radial_accel" - "randomness/tangential_accel" - "randomness/damping" - "randomness/initial_size" - "randomness/final_size" - "randomness/hue_variation" - "color_phases/count" - "phase_0/pos" - "phase_0/color" - "phase_1/pos" - "phase_1/color" - "phase_2/pos" - "phase_2/color" - "phase_3/pos" - "phase_3/color" - "emission_points" + "params/anim_speed_scale" + "params/anim_initial_pos" + "color/color_ramp" + "Particles2D" "enabler" - "VisibilityEnabler2D" "rect" "enabler/pause_animations" "enabler/freeze_bodies" + "enabler/pause_particles" + "enabler/process_parent" + "enabler/fixed_process_parent" + "VisibilityEnabler2D" "_on_body_enter" "body_enter" - "version" - 1 - "conn_count" - 1 "node_count" 7 + "node_paths" + + + "nodes" + -1, -1, 11, 0, -1, 10, 1, 0, 2, 1, 3, 2, 4, 3, 5, 4, 6, 5, 7, 6, 8, 7, 9, 8, 10, 9, 0, 0, 0, 15, 12, -1, 2, 13, 10, 14, 11, 0, 0, 0, 26, 16, -1, 9, 17, 12, 18, 13, 19, 14, 20, 15, 21, 16, 22, 0, 23, 17, 24, 18, 25, 19, 0, 0, 0, 31, 27, -1, 3, 28, 1, 29, 3, 30, 20, 0, 0, 0, 41, 32, -1, 8, 33, 13, 34, 7, 35, 7, 36, 21, 37, 7, 38, 12, 39, 22, 40, 13, 0, 0, 0, 66, 42, -1, 23, 43, 12, 44, 23, 45, 24, 46, 3, 47, 25, 48, 26, 49, 13, 50, 27, 51, 13, 52, 13, 53, 13, 54, 13, 55, 13, 56, 13, 57, 13, 58, 13, 59, 13, 60, 28, 61, 28, 62, 13, 63, 7, 64, 13, 65, 29, 0, 0, 0, 74, 67, -1, 6, 68, 30, 69, 0, 70, 0, 71, 0, 72, 3, 73, 3, 0 "variants" - + True - 1 - 0, 0 - 0 - 1, 1 - 1 1, 0, 0, 1, 0, 0 False 0, 1 98 0.1 - + 1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - "Script" - - "current" - 2 - "sources" - - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - "2D" - "pixel_snap" + "ofs" + -34.3697, -21.6562 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" False + "snap_step" + 10, 10 "zoom" 3.794776 - "ofs" - -34.3697, -21.6562 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -399,14 +398,11 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - + 4 - 0 - 1, 1, 1, 1 - 0, 0, 0, 0 + 1 + 0 ".." @@ -414,23 +410,20 @@ "spin" + -1 2048 8 0.4 5, 5 - + 10 0.2 - 2 - 0, 0, 0, 1 - + -10, -10, 20, 20 - "nodes" - -1, -1, 1, 0, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 8, 13, 8, 14, 9, 15, 10, 16, 11, 17, 0, 18, 12, 19, 13, 0, 0, 0, 21, 20, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 22, 14, 23, 0, 24, 2, 25, 8, 26, 8, 27, 5, 28, 15, 29, 16, 30, 17, 31, 8, 32, 18, 0, 0, 0, 34, 33, -1, 9, 35, 5, 36, 3, 37, 19, 38, 20, 39, 21, 40, 0, 41, 22, 42, 23, 43, 24, 0, 0, 0, 45, 44, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 46, 6, 47, 8, 0, 0, 0, 49, 48, -1, 15, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 50, 3, 51, 1, 52, 1, 53, 25, 54, 1, 55, 5, 56, 26, 57, 3, 0, 0, 0, 59, 58, -1, 55, 2, 0, 3, 1, 4, 1, 5, 0, 60, 5, 6, 2, 7, 3, 8, 4, 61, 27, 62, 28, 63, 1, 64, 3, 65, 3, 66, 8, 67, 2, 68, 29, 69, 0, 70, 1, 71, 30, 72, 3, 73, 31, 74, 3, 75, 3, 76, 3, 77, 3, 78, 3, 79, 3, 80, 3, 81, 3, 82, 32, 83, 32, 84, 3, 85, 3, 86, 3, 87, 3, 88, 3, 89, 3, 90, 3, 91, 3, 92, 3, 93, 3, 94, 3, 95, 3, 96, 3, 97, 3, 98, 33, 99, 3, 100, 17, 101, 1, 102, 34, 103, 1, 104, 34, 105, 1, 106, 34, 107, 35, 0, 0, 0, 109, 108, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 110, 36, 111, 0, 112, 0, 0 - "conns" - 0, 0, 114, 113, 2, 0 + "version" + 2 diff --git a/demos/2d/platformer/enemy.xml b/demos/2d/platformer/enemy.xml index ad3a70931d..72d2ff068e 100644 --- a/demos/2d/platformer/enemy.xml +++ b/demos/2d/platformer/enemy.xml @@ -2,9 +2,9 @@ - - + + 0 14 @@ -40,33 +40,6 @@ - - - "walk" - 1.25 - True - 0.25 - "value" - "sprite:frame" - 1 - - "cont" - False - "times" - 0, 0.25, 0.5, 0.75, 1, 1.25 - "transitions" - 1, 1, 1, 1, 1, 1 - "values" - - 0 - 1 - 2 - 3 - 4 - 0 - - - "explode" @@ -146,6 +119,33 @@ + + + "walk" + 1.25 + True + 0.25 + "value" + "sprite:frame" + 1 + + "cont" + False + "times" + 0, 0.25, 0.5, 0.75, 1, 1.25 + "transitions" + 1, 1, 1, 1, 1, 1 + "values" + + 0 + 1 + 2 + 3 + 4 + 0 + + + 0, 1 @@ -153,21 +153,21 @@ - + "db" 0 "pitch" 1 "sample" - + - + "db" 0 "pitch" 1 "sample" - + @@ -177,10 +177,12 @@ 0 "conns" + "editable_instances" + + "names" - + "enemy" - "RigidBody2D" "input/pickable" "shapes/0/shape" "shapes/0/transform" @@ -210,8 +212,8 @@ "damp_override/angular" "script/script" "__meta__" + "RigidBody2D" "enabler" - "VisibilityEnabler2D" "transform/pos" "transform/scale" "rect" @@ -220,23 +222,24 @@ "enabler/pause_particles" "enabler/process_parent" "enabler/fixed_process_parent" + "VisibilityEnabler2D" "anim" - "AnimationPlayer" "playback/process_mode" "playback/default_blend_time" "root/root" "anims/idle" - "anims/walk" "anims/explode" + "anims/walk" "playback/active" "playback/speed" "blend_times" "autoplay" + "AnimationPlayer" "sprite" - "Sprite" "texture" "hframes" "frame" + "Sprite" "CollisionShape2D" "shape" "trigger" @@ -244,10 +247,11 @@ "CollisionShape2D 2" "CollisionShape2D 3" "raycast_left" - "RayCast2D" "enabled" "cast_to" "layer_mask" + "type_mask" + "RayCast2D" "raycast_right" "Particles2D" "visibility/self_opacity" @@ -277,7 +281,6 @@ "randomness/spin_velocity" "color/color_ramp" "sound" - "SamplePlayer2D" "params/volume_db" "params/pitch_scale" "params/attenuation/min_distance" @@ -286,13 +289,17 @@ "config/polyphony" "config/samples" "config/pitch_random" + "SamplePlayer2D" "node_count" 11 + "node_paths" + + "nodes" - -1, -1, 1, 0, -1, 29, 2, 0, 3, 1, 4, 2, 5, 0, 6, 1, 7, 3, 8, 0, 9, 1, 10, 4, 11, 0, 12, 5, 13, 5, 14, 6, 15, 7, 16, 8, 17, 8, 18, 7, 19, 0, 20, 9, 21, 10, 22, 0, 23, 0, 24, 11, 25, 12, 26, 8, 27, 13, 28, 13, 29, 14, 30, 15, 0, 0, 0, 32, 31, -1, 8, 33, 16, 34, 17, 35, 18, 36, 11, 37, 11, 38, 11, 39, 0, 40, 0, 0, 0, 0, 42, 41, -1, 10, 43, 5, 44, 8, 45, 19, 46, 20, 47, 21, 48, 22, 49, 11, 50, 23, 51, 24, 52, 25, 0, 0, 0, 54, 53, -1, 3, 55, 26, 56, 27, 57, 10, 0, 0, 0, 58, 58, -1, 4, 33, 28, 59, 1, 60, 0, 61, 29, 0, 0, 0, 58, 62, -1, 4, 33, 30, 59, 1, 60, 0, 61, 29, 0, 0, 0, 58, 63, -1, 4, 33, 31, 59, 1, 60, 0, 61, 29, 0, 0, 0, 65, 64, -1, 4, 33, 32, 66, 11, 67, 33, 68, 5, 0, 0, 0, 65, 69, -1, 4, 33, 34, 66, 11, 67, 33, 68, 5, 0, 0, 0, 70, 70, -1, 26, 71, 35, 72, 5, 73, 36, 74, 37, 75, 37, 76, 0, 77, 38, 78, 39, 79, 8, 80, 40, 81, 41, 82, 42, 83, 8, 84, 8, 85, 43, 86, 8, 87, 8, 88, 8, 89, 8, 90, 42, 91, 23, 92, 8, 93, 7, 94, 8, 95, 7, 96, 44, 0, 0, 0, 98, 97, -1, 8, 99, 8, 100, 7, 101, 7, 102, 45, 103, 7, 104, 46, 105, 47, 106, 8, 0 + -1, -1, 30, 0, -1, 29, 1, 0, 2, 1, 3, 2, 4, 0, 5, 1, 6, 3, 7, 0, 8, 1, 9, 4, 10, 0, 11, 5, 12, 5, 13, 6, 14, 7, 15, 8, 16, 8, 17, 7, 18, 0, 19, 9, 20, 10, 21, 0, 22, 0, 23, 11, 24, 12, 25, 8, 26, 13, 27, 13, 28, 14, 29, 15, 0, 0, 0, 40, 31, -1, 8, 32, 16, 33, 17, 34, 18, 35, 11, 36, 11, 37, 11, 38, 0, 39, 0, 0, 0, 0, 52, 41, -1, 10, 42, 5, 43, 8, 44, 19, 45, 20, 46, 21, 47, 22, 48, 11, 49, 23, 50, 24, 51, 25, 0, 0, 0, 57, 53, -1, 3, 54, 26, 55, 27, 56, 10, 0, 0, 0, 58, 58, -1, 4, 32, 28, 59, 1, 60, 0, 61, 29, 0, 0, 0, 58, 62, -1, 4, 32, 30, 59, 1, 60, 0, 61, 29, 0, 0, 0, 58, 63, -1, 4, 32, 31, 59, 1, 60, 0, 61, 29, 0, 0, 0, 69, 64, -1, 5, 32, 32, 65, 11, 66, 33, 67, 5, 68, 34, 0, 0, 0, 69, 70, -1, 5, 32, 35, 65, 11, 66, 33, 67, 5, 68, 34, 0, 0, 0, 71, 71, -1, 26, 72, 36, 73, 5, 74, 37, 75, 38, 76, 38, 77, 0, 78, 39, 79, 40, 80, 8, 81, 41, 82, 42, 83, 43, 84, 8, 85, 8, 86, 44, 87, 8, 88, 8, 89, 8, 90, 8, 91, 43, 92, 23, 93, 8, 94, 7, 95, 8, 96, 7, 97, 45, 0, 0, 0, 107, 98, -1, 8, 99, 8, 100, 7, 101, 7, 102, 46, 103, 7, 104, 47, 105, 48, 106, 8, 0 "variants" - + False 1, -0, 0, 1, -1.08072, -2.16144 @@ -449,8 +456,8 @@ -10, -10, 20, 20 ".." - + 3 @@ -463,6 +470,7 @@ -12.495, 3.53415 -33.2868, -9.34363 0, 45 + 15 29.1987, -9.34363 0.121212 32 @@ -479,7 +487,7 @@ "version" - 1 + 2 diff --git a/demos/2d/platformer/moving_platform.xml b/demos/2d/platformer/moving_platform.xml index 4d54d6d11c..4b94a7af48 100644 --- a/demos/2d/platformer/moving_platform.xml +++ b/demos/2d/platformer/moving_platform.xml @@ -1,7 +1,7 @@ - - - + + + 0 -88, 24, -88, -24, 88, -24, 88, 24 @@ -9,169 +9,189 @@ + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "moving_platform" - "Node2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" "script/script" "__meta__" "motion" "cycle" + "Node2D" "platform" - "RigidBody2D" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" + "damp_override/linear" + "damp_override/angular" + "RigidBody2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "CollisionPolygon2D" "build_mode" "polygon" + "shape_range" + "trigger" - "version" - 1 - "conn_count" - 0 "node_count" 4 + "node_paths" + + + "nodes" + -1, -1, 5, 0, -1, 4, 1, 0, 2, 1, 3, 2, 4, 3, 0, 0, 0, 28, 6, -1, 21, 7, 4, 8, 5, 9, 6, 10, 4, 11, 7, 12, 7, 13, 8, 14, 3, 15, 3, 16, 9, 17, 3, 18, 4, 19, 10, 20, 10, 21, 4, 22, 4, 23, 11, 24, 2, 25, 9, 26, 12, 27, 12, 0, 1, 0, 29, 29, -1, 1, 30, 13, 0, 1, 0, 31, 31, -1, 4, 32, 10, 33, 14, 34, 15, 35, 4, 0 "variants" - - True - 1 - 0, 0 - 0 - 1, 1 - + + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - "Script" - - "current" - 0 - "sources" - - "res://moving_platform.gd" - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - "2D" - "pixel_snap" + "ofs" + -210.652, -172.81 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 1.360373 - "ofs" - -210.652, -172.81 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" - 400 + 179 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -180,24 +200,24 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - 1 + 0, 0 + 1 + False 1, -0, 0, 1, 0, 0 - False + 1 3 + 0 0 - - 1, 1, 1, 1 - 0, 0, 0, 0 + True + -1 + -88, -24, 88, -24, 88, 24, -88, 24 + -1, -1 - "nodes" - -1, -1, 1, 0, -1, 11, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 2, 12, 1, 0, 0, 0, 14, 13, -1, 23, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 15, 7, 16, 8, 17, 9, 18, 10, 19, 11, 20, 1, 21, 1, 22, 3, 23, 10, 24, 10, 25, 12, 26, 10, 27, 0, 28, 0, 29, 2, 30, 3, 0, 1, 0, 31, 31, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 32, 13, 33, 0, 34, 2, 35, 10, 36, 10, 37, 7, 38, 7, 39, 12, 40, 14, 41, 10, 42, 15, 0, 1, 0, 43, 43, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 44, 12, 45, 16, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/platformer/one_way_platform.xml b/demos/2d/platformer/one_way_platform.xml index 491dd32b17..85b2322711 100644 --- a/demos/2d/platformer/one_way_platform.xml +++ b/demos/2d/platformer/one_way_platform.xml @@ -1,6 +1,6 @@ - - + + 0 100, 10 @@ -12,22 +12,13 @@ 0 "conns" + "editable_instances" + + "names" - + "one_way_platform" - "StaticBody2D" - "_import_path" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/light_mask" - "transform/pos" - "transform/rot" - "transform/scale" - "z/z" - "z/relative" "input/pickable" - "shape_count" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" @@ -40,42 +31,34 @@ "friction" "bounce" "__meta__" + "StaticBody2D" "sprite" - "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" + "Sprite" "CollisionShape2D" + "transform/pos" "shape" "trigger" + "_update_shape_index" "node_count" 3 + "node_paths" + + "nodes" - -1, -1, 1, 0, -1, 24, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 1, 12, 8, 13, 3, 14, 9, 15, 10, 16, 8, 17, 3, 18, 3, 19, 11, 20, 12, 21, 4, 22, 5, 23, 2, 24, 5, 25, 13, 0, 0, 0, 27, 26, -1, 21, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 1, 28, 14, 29, 1, 30, 4, 31, 8, 32, 8, 33, 3, 34, 3, 35, 7, 36, 15, 37, 8, 38, 16, 0, 0, 0, 39, 39, -1, 12, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 17, 8, 5, 9, 6, 10, 7, 11, 1, 40, 9, 41, 8, 0 + -1, -1, 14, 0, -1, 13, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 8, 12, 7, 13, 9, 0, 0, 0, 17, 15, -1, 1, 16, 10, 0, 0, 0, 18, 18, -1, 4, 19, 11, 20, 1, 21, 0, 22, 12, 0 "variants" - - "" - True - 1 - 1 - 0, 0 - 0 - 1, 1 - 0 + False 1, -0, 0, 1, 1.46304, -13.1672 + 1 0, 1 20 + 0, 0 + 0 + 1 "__editor_plugin_screen__" "2D" @@ -198,6 +181,11 @@ "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -207,13 +195,12 @@ 0 - - 1, 1, 1, 1 - 0, 0, 0, 0 + 1.46304, -13.1672 + -1 "version" - 1 + 2 diff --git a/demos/2d/platformer/parallax_bg.xml b/demos/2d/platformer/parallax_bg.xml index cc8cfe5de0..3b306aecab 100644 --- a/demos/2d/platformer/parallax_bg.xml +++ b/demos/2d/platformer/parallax_bg.xml @@ -1,23 +1,23 @@ - - - - - - - + + + + + + + - "" - + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "parallax_bg" - "ParallaxBackground" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" "layer" "offset" "rotation" @@ -27,148 +27,204 @@ "scroll/base_scale" "scroll/limit_begin" "scroll/limit_end" - "script/script" + "scroll/ignore_camera_zoom" "__meta__" + "ParallaxBackground" "sky" - "ParallaxLayer" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "transform/pos" - "transform/rot" - "transform/scale" "motion/scale" "motion/mirroring" + "ParallaxLayer" "Sprite" + "transform/scale" "texture" "centered" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "clouds" + "transform/pos" "Sprite 2" "Sprite 3" "Sprite 4" "Sprite 5" "Sprite 6" "mount_ 2" + "region" + "region_rect" "mount_1" - "version" - 1 - "conn_count" - 0 "node_count" 14 + "node_paths" + + + "nodes" + -1, -1, 12, 0, -1, 11, 1, 0, 2, 1, 3, 2, 4, 3, 5, 1, 6, 1, 7, 4, 8, 1, 9, 1, 10, 5, 11, 6, 0, 0, 0, 16, 13, -1, 2, 14, 3, 15, 7, 0, 1, 0, 17, 17, -1, 3, 18, 8, 19, 9, 20, 5, 0, 0, 0, 16, 21, -1, 2, 14, 10, 15, 7, 0, 3, 0, 17, 17, -1, 3, 22, 11, 19, 12, 20, 5, 0, 3, 0, 17, 23, -1, 3, 22, 13, 19, 12, 20, 5, 0, 3, 0, 17, 24, -1, 3, 22, 14, 19, 15, 20, 5, 0, 3, 0, 17, 25, -1, 3, 22, 16, 19, 15, 20, 5, 0, 3, 0, 17, 26, -1, 3, 22, 17, 19, 18, 20, 5, 0, 3, 0, 17, 27, -1, 3, 22, 19, 19, 18, 20, 5, 0, 0, 0, 16, 28, -1, 2, 14, 20, 15, 7, 0, 10, 0, 17, 17, -1, 5, 22, 21, 19, 22, 20, 5, 29, 23, 30, 24, 0, 0, 0, 16, 31, -1, 2, 14, 25, 15, 7, 0, 12, 0, 17, 17, -1, 5, 22, 21, 19, 26, 20, 5, 29, 23, 30, 24, 0 "variants" - - False - 0 + -1 0, 0 0 1, 1 0.7, 0 - + False + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - - "Script" - - "current" - 0 - "sources" - - "res://moving_platform.gd" - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - + "2D" - - "zoom" - 1 + "ofs" -5, -25 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "2D" - True - 1 800, 0 32, 0.94 - - 1 - 1, 1, 1, 1 - 0, 0, 0, 0 + 0.1, 1 28, 127 - + 404, 24 154, 46 - + 525, 130 255, 158 - + 674, 70 0.2, 1 0, 225 - + + True 0, 0, 800, 256 0.4, 1 - + - "nodes" - -1, -1, 1, 0, -1, 16, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 3, 9, 4, 10, 5, 11, 3, 12, 3, 13, 6, 14, 3, 15, 3, 16, 7, 17, 8, 0, 0, 0, 19, 18, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 3, 28, 4, 29, 5, 30, 5, 31, 11, 16, 7, 0, 1, 0, 32, 32, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 3, 28, 4, 29, 12, 33, 13, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 0, 0, 19, 43, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 3, 28, 4, 29, 5, 30, 17, 31, 11, 16, 7, 0, 3, 0, 32, 32, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 18, 28, 4, 29, 5, 33, 19, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 3, 0, 32, 44, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 20, 28, 4, 29, 5, 33, 19, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 3, 0, 32, 45, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 21, 28, 4, 29, 5, 33, 22, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 3, 0, 32, 46, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 23, 28, 4, 29, 5, 33, 22, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 3, 0, 32, 47, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 24, 28, 4, 29, 5, 33, 25, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 3, 0, 32, 48, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 26, 28, 4, 29, 5, 33, 25, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 0, 42, 16, 16, 7, 0, 0, 0, 19, 49, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 3, 28, 4, 29, 5, 30, 27, 31, 11, 16, 7, 0, 10, 0, 32, 32, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 28, 28, 4, 29, 5, 33, 29, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 9, 42, 30, 16, 7, 0, 0, 0, 19, 50, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 3, 28, 4, 29, 5, 30, 31, 31, 11, 16, 7, 0, 12, 0, 32, 32, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 20, 9, 21, 0, 22, 10, 23, 10, 24, 9, 25, 1, 26, 0, 27, 28, 28, 4, 29, 5, 33, 32, 34, 0, 8, 3, 35, 0, 36, 0, 37, 14, 38, 14, 39, 1, 40, 15, 41, 9, 42, 30, 16, 7, 0 - "conns" - + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/platformer/player.xml b/demos/2d/platformer/player.xml index 8c7b74ceae..493279672f 100644 --- a/demos/2d/platformer/player.xml +++ b/demos/2d/platformer/player.xml @@ -1,15 +1,15 @@ - - - - - - - - - - - + + + + + + + + + + + 0.5 20 @@ -78,8 +78,8 @@ - - "idle_weapon" + + "falling_weapon" 0.5 True 0.25 @@ -95,13 +95,14 @@ 1 "values" - 25 + 26 - - 1.25 + + "idle_weapon" + 0.5 True 0.25 "value" @@ -111,23 +112,19 @@ "cont" False "times" - 0, 0.25, 0.5, 0.75, 1, 1.25 + 0 "transitions" - 1, 1, 1, 1, 1, 1 + 1 "values" - - 0 - 1 - 2 - 3 - 4 - 0 + + 25 - - 1.25 + + "crouch" + 0.01 True 0.25 "value" @@ -137,24 +134,19 @@ "cont" False "times" - 0, 0.25, 0.5, 0.75, 1, 1.25 + 0 "transitions" - 1, 1, 1, 1, 1, 1 + 1 "values" - - 5 - 6 - 7 - 8 - 9 - 5 + + 22 - - "falling_weapon" - 0.5 + + "falling" + 0.01 True 0.25 "value" @@ -169,14 +161,13 @@ 1 "values" - 26 + 21 - - "crouch" - 0.01 + + 1.25 True 0.25 "value" @@ -186,19 +177,23 @@ "cont" False "times" - 0 + 0, 0.25, 0.5, 0.75, 1, 1.25 "transitions" - 1 + 1, 1, 1, 1, 1, 1 "values" - - 22 + + 10 + 11 + 12 + 13 + 14 + 5 - - "falling" - 0.01 + + 0.5 True 0.25 "value" @@ -213,12 +208,12 @@ 1 "values" - 21 + 26 - + 1.25 True 0.25 @@ -234,18 +229,18 @@ 1, 1, 1, 1, 1, 1 "values" - 10 - 11 - 12 - 13 - 14 - 5 + 0 + 1 + 2 + 3 + 4 + 0 - - 0.5 + + 1.25 True 0.25 "value" @@ -255,12 +250,17 @@ "cont" False "times" - 0 + 0, 0.25, 0.5, 0.75, 1, 1.25 "transitions" - 1 + 1, 1, 1, 1, 1, 1 "values" - - 26 + + 5 + 6 + 7 + 8 + 9 + 5 @@ -272,7 +272,7 @@ "pitch" 1 "sample" - + "db" @@ -280,7 +280,7 @@ "pitch" 1 "sample" - + "db" @@ -288,7 +288,7 @@ "pitch" 1 "sample" - + @@ -298,10 +298,12 @@ 0 "conns" + "editable_instances" + + "names" - + "player" - "RigidBody2D" "input/pickable" "shapes/0/shape" "shapes/0/transform" @@ -328,13 +330,13 @@ "damp_override/angular" "script/script" "__meta__" + "RigidBody2D" "sprite" - "Sprite" "texture" "vframes" "hframes" + "Sprite" "smoke" - "Particles2D" "visibility/self_opacity" "visibility/blend_mode" "transform/pos" @@ -364,27 +366,27 @@ "params/anim_initial_pos" "randomness/spin_velocity" "color/color_ramp" + "Particles2D" "anim" - "AnimationPlayer" "playback/process_mode" "playback/default_blend_time" "root/root" "anims/idle" "anims/jumping" - "anims/idle_weapon" - "anims/run" - "anims/run_weapon" "anims/falling_weapon" + "anims/idle_weapon" "anims/crouch" "anims/falling" "anims/standing_weapon_ready" "anims/jumping_weapon" + "anims/run" + "anims/run_weapon" "playback/active" "playback/speed" "blend_times" "autoplay" + "AnimationPlayer" "camera" - "Camera2D" "anchor_mode" "rotating" "current" @@ -400,15 +402,16 @@ "drag_margin/top" "drag_margin/right" "drag_margin/bottom" + "Camera2D" "bullet_shoot" "Position2D" "CollisionShape2D" "transform/scale" "shape" "trigger" + "_update_shape_index" "sound" - "SamplePlayer" - "config/voices" + "config/polyphony" "config/samples" "default/volume_db" "default/pitch_scale" @@ -422,33 +425,38 @@ "default/reverb_room" "default/reverb_send" "default/chorus_send" + "SamplePlayer" "CollisionPolygon2D" "build_mode" "polygon" + "shape_range" "ui" - "CanvasLayer" "layer" "offset" "rotation" "scale" + "CanvasLayer" "left" - "TouchScreenButton" "normal" "pressed" "bitmask" "passby_press" "action" "visibility_mode" + "TouchScreenButton" "right" "jump" "fire" "node_count" 14 + "node_paths" + + "nodes" - -1, -1, 1, 0, -1, 26, 2, 0, 3, 1, 4, 2, 5, 0, 6, 3, 7, 4, 8, 0, 9, 5, 10, 5, 11, 6, 12, 7, 13, 8, 14, 8, 15, 9, 16, 10, 17, 11, 18, 12, 19, 0, 20, 0, 21, 10, 22, 13, 23, 8, 24, 14, 25, 14, 26, 15, 27, 16, 0, 0, 0, 29, 28, -1, 3, 30, 17, 31, 6, 32, 18, 0, 1, 0, 34, 33, -1, 29, 35, 19, 36, 5, 37, 20, 38, 21, 39, 22, 40, 23, 41, 23, 42, 0, 43, 0, 44, 24, 45, 25, 46, 8, 47, 26, 48, 27, 49, 9, 50, 8, 51, 8, 52, 28, 53, 8, 54, 8, 55, 8, 56, 8, 57, 29, 58, 29, 59, 8, 60, 9, 61, 8, 62, 29, 63, 30, 0, 0, 0, 65, 64, -1, 17, 66, 5, 67, 8, 68, 31, 69, 32, 70, 33, 71, 34, 72, 35, 73, 36, 74, 37, 75, 38, 76, 39, 77, 40, 78, 41, 79, 10, 80, 29, 81, 42, 82, 43, 0, 0, 0, 84, 83, -1, 15, 85, 5, 86, 0, 87, 10, 88, 8, 89, 44, 90, 11, 91, 11, 92, 45, 93, 45, 94, 10, 95, 10, 96, 46, 97, 46, 98, 46, 99, 46, 0, 0, 0, 101, 100, -1, 1, 37, 47, 0, 0, 0, 102, 102, -1, 4, 37, 48, 103, 49, 104, 1, 105, 0, 0, 0, 0, 107, 106, -1, 14, 108, 12, 109, 50, 110, 8, 111, 9, 112, 8, 113, 8, 114, 8, 115, 51, 116, 51, 117, 51, 118, 51, 119, 6, 120, 8, 121, 8, 0, 0, 0, 122, 122, -1, 3, 123, 11, 124, 52, 105, 0, 0, 0, 0, 126, 125, -1, 4, 127, 11, 128, 13, 129, 8, 130, 44, 0, 9, 0, 132, 131, -1, 8, 37, 53, 103, 54, 133, 55, 134, 56, 135, 56, 136, 10, 137, 57, 138, 5, 0, 9, 0, 132, 139, -1, 8, 37, 58, 103, 54, 133, 59, 134, 56, 135, 56, 136, 10, 137, 60, 138, 5, 0, 9, 0, 132, 140, -1, 8, 37, 61, 103, 54, 133, 62, 134, 56, 135, 56, 136, 0, 137, 63, 138, 5, 0, 9, 0, 132, 141, -1, 8, 37, 64, 103, 54, 133, 65, 134, 56, 135, 56, 136, 0, 137, 66, 138, 5, 0 + -1, -1, 27, 0, -1, 26, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 4, 7, 0, 8, 5, 9, 5, 10, 6, 11, 7, 12, 8, 13, 8, 14, 9, 15, 10, 16, 11, 17, 12, 18, 0, 19, 0, 20, 10, 21, 13, 22, 8, 23, 14, 24, 14, 25, 15, 26, 16, 0, 0, 0, 32, 28, -1, 3, 29, 17, 30, 6, 31, 18, 0, 1, 0, 63, 33, -1, 29, 34, 19, 35, 5, 36, 20, 37, 21, 38, 22, 39, 23, 40, 23, 41, 0, 42, 0, 43, 24, 44, 25, 45, 8, 46, 26, 47, 27, 48, 9, 49, 8, 50, 8, 51, 28, 52, 8, 53, 8, 54, 8, 55, 8, 56, 29, 57, 29, 58, 8, 59, 9, 60, 8, 61, 29, 62, 30, 0, 0, 0, 82, 64, -1, 17, 65, 5, 66, 8, 67, 31, 68, 32, 69, 33, 70, 34, 71, 35, 72, 36, 73, 37, 74, 38, 75, 39, 76, 40, 77, 41, 78, 10, 79, 29, 80, 42, 81, 43, 0, 0, 0, 99, 83, -1, 15, 84, 5, 85, 0, 86, 10, 87, 8, 88, 44, 89, 11, 90, 11, 91, 45, 92, 45, 93, 10, 94, 10, 95, 46, 96, 46, 97, 46, 98, 46, 0, 0, 0, 101, 100, -1, 1, 36, 47, 0, 0, 0, 102, 102, -1, 5, 36, 48, 103, 49, 104, 1, 105, 0, 106, 50, 0, 0, 0, 122, 107, -1, 14, 108, 5, 109, 51, 110, 8, 111, 9, 112, 8, 113, 8, 114, 8, 115, 11, 116, 8, 117, 8, 118, 8, 119, 6, 120, 8, 121, 8, 0, 0, 0, 123, 123, -1, 4, 124, 11, 125, 52, 126, 53, 105, 0, 0, 0, 0, 132, 127, -1, 4, 128, 11, 129, 13, 130, 8, 131, 44, 0, 9, 0, 140, 133, -1, 8, 36, 54, 103, 55, 134, 56, 135, 57, 136, 57, 137, 10, 138, 58, 139, 5, 0, 9, 0, 140, 141, -1, 8, 36, 59, 103, 55, 134, 60, 135, 57, 136, 57, 137, 10, 138, 61, 139, 5, 0, 9, 0, 140, 142, -1, 8, 36, 62, 103, 55, 134, 63, 135, 57, 136, 57, 137, 0, 138, 64, 139, 5, 0, 9, 0, 140, 143, -1, 8, 36, 65, 103, 55, 134, 66, 135, 57, 136, 57, 137, 0, 138, 67, 139, 5, 0 "variants" - + False 1, -0, 0, 1.76469, 0.291992, -12.1587 @@ -464,7 +472,7 @@ 3 0, 0 -1 - + "__editor_plugin_screen__" "2D" @@ -587,6 +595,11 @@ "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -596,7 +609,7 @@ 0 - + 16 0.363636 20.7312, 3.21187 @@ -604,7 +617,7 @@ 4 0.3 0.1 - + 180 20 9.8 @@ -613,14 +626,14 @@ ".." - - - + + + "" @@ -630,25 +643,26 @@ 31.2428, 4.08784 0.291992, -12.1587 1, 1.76469 + -1 - -0.138023, 16.5036, -19.902, -24.8691, 19.3625, -24.6056 + -1, -1 27.7593, 360.87 1.49157, 1.46265 - + "move_left" 121.542, 361.415 - + "move_right" 666.224, 359.02 - + "jump" 668.073, 262.788 - + "shoot" "version" - 1 + 2 diff --git a/demos/2d/platformer/seesaw.xml b/demos/2d/platformer/seesaw.xml index ed879a9319..760423167f 100644 --- a/demos/2d/platformer/seesaw.xml +++ b/demos/2d/platformer/seesaw.xml @@ -1,7 +1,7 @@ - - - + + + 0 128, 8 @@ -9,159 +9,192 @@ + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "seesaw" - "Node2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" "__meta__" + "Node2D" "plank" - "RigidBody2D" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" + "damp_override/linear" + "damp_override/angular" + "RigidBody2D" "sprite" - "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" + "Sprite" "CollisionShape2D" "shape" "trigger" + "_update_shape_index" "pin" - "PinJoint2D" "node_a" "node_b" "bias/bias" + "softness" + "PinJoint2D" + "transform/pos" - "version" - 1 - "conn_count" - 0 "node_count" 6 + "node_paths" + + + "nodes" + -1, -1, 2, 0, -1, 1, 1, 0, 0, 0, 0, 25, 3, -1, 21, 4, 1, 5, 2, 6, 3, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 0, 1, 0, 28, 26, -1, 1, 27, 12, 0, 1, 0, 29, 29, -1, 3, 30, 2, 31, 1, 32, 13, 0, 0, 0, 38, 33, -1, 4, 34, 14, 35, 15, 36, 8, 37, 8, 0, 0, 0, 28, 28, -1, 2, 39, 16, 27, 17, 0 "variants" - - True - 1 - 0, 0 - 0 - 1, 1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "pixel_snap" + "ofs" + -116.979, -109.897 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 2.050547 - "ofs" - -116.979, -109.897 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" - 400 + 179 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -170,27 +203,27 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - 1 + False 1, 0, 0, 1, 0, 0 - False + 1 0 5.102041 - - 1, 1, 1, 1 - 0, 0, 0, 0 + 1 + 0 + True + 0, 0 + -1 + + -1 "../plank" "" -0.290825, 20.2425 - + - "nodes" - -1, -1, 1, 0, -1, 8, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 0, 0, 0, 11, 10, -1, 23, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 12, 6, 13, 7, 14, 8, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 0, 1, 0, 29, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 30, 12, 31, 0, 32, 2, 33, 9, 34, 9, 35, 6, 36, 6, 37, 10, 38, 13, 39, 9, 40, 14, 0, 1, 0, 41, 41, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 7, 43, 9, 0, 0, 0, 45, 44, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 46, 15, 47, 16, 48, 3, 0, 0, 0, 29, 29, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 17, 7, 3, 8, 4, 30, 18, 31, 0, 32, 2, 33, 9, 34, 9, 35, 6, 36, 6, 37, 10, 38, 13, 39, 9, 40, 14, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/platformer/stage.xml b/demos/2d/platformer/stage.xml index d081a1be38..3b5d281551 100644 --- a/demos/2d/platformer/stage.xml +++ b/demos/2d/platformer/stage.xml @@ -1,27 +1,29 @@ - - - - - - - - - - + + + + + + + + + + "conn_count" 0 "conns" + "editable_instances" + + "names" - + "stage" - "Node" "__meta__" + "Node" "tile_map" - "TileMap" "mode" "tile_set" "cell/size" @@ -36,11 +38,13 @@ "collision/layers" "collision/mask" "tile_data" + "TileMap" "coins" "coin" - "Area2D" - "_import_path" "transform/pos" + "input/pickable" + "linear_damp" + "angular_damp" "coin 2" "coin 3" "coin 4" @@ -84,24 +88,23 @@ "coin 31 7 5" "props" "moving_platform" - "Node2D" "motion" "cycle" "moving_platform 2" "moving_platform 3" "seesaw" "one_way_platform" - "StaticBody2D" "player" - "RigidBody2D" "music" - "StreamPlayer" "stream/stream" "stream/play" "stream/loop" "stream/volume_db" "stream/autoplay" "stream/paused" + "stream/loop_restart_time" + "stream/buffering_ms" + "StreamPlayer" "enemies" "enemy 5" "enemy 6" @@ -115,7 +118,7 @@ "enemy 14" "enemy 15" "parallax_bg" - "ParallaxBackground" + "scroll/ignore_camera_zoom" "Label" "margin/left" "margin/top" @@ -124,26 +127,24 @@ "focus/ignore_mouse" "focus/stop_mouse" "size_flags/horizontal" - "range/min" - "range/max" - "range/step" - "range/page" - "range/value" - "range/exp_edit" - "rounded_values" "text" "autowrap" "percent_visible" + "lines_skipped" + "max_lines_visible" "node_count" 67 + "node_paths" + + "nodes" - -1, -1, 1, 0, -1, 1, 2, 0, 0, 0, 0, 4, 3, -1, 15, 5, 1, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 1, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 10, 18, 11, 2, 12, 0, 0, 0, 1, 19, -1, 0, 0, 2, 0, 21, 20, 13, 3, 22, 14, 23, 15, 2, 16, 0, 2, 0, 21, 24, 13, 3, 22, 14, 23, 17, 2, 16, 0, 2, 0, 21, 25, 13, 3, 22, 14, 23, 18, 2, 16, 0, 2, 0, 21, 26, 13, 3, 22, 14, 23, 19, 2, 16, 0, 2, 0, 21, 27, 13, 3, 22, 14, 23, 20, 2, 16, 0, 2, 0, 21, 28, 13, 3, 22, 14, 23, 21, 2, 16, 0, 2, 0, 21, 29, 13, 3, 22, 14, 23, 22, 2, 16, 0, 2, 0, 21, 30, 13, 3, 22, 14, 23, 23, 2, 16, 0, 2, 0, 21, 31, 13, 3, 22, 14, 23, 24, 2, 16, 0, 2, 0, 21, 32, 13, 3, 22, 14, 23, 25, 2, 16, 0, 2, 0, 21, 33, 13, 3, 22, 14, 23, 26, 2, 16, 0, 2, 0, 21, 34, 13, 3, 22, 14, 23, 27, 2, 16, 0, 2, 0, 21, 35, 13, 3, 22, 14, 23, 28, 2, 16, 0, 2, 0, 21, 36, 13, 3, 22, 14, 23, 29, 2, 16, 0, 2, 0, 21, 37, 13, 3, 22, 14, 23, 30, 2, 16, 0, 2, 0, 21, 38, 13, 3, 22, 14, 23, 31, 2, 16, 0, 2, 0, 21, 39, 13, 3, 22, 14, 23, 32, 2, 16, 0, 2, 0, 21, 40, 13, 3, 22, 14, 23, 33, 2, 16, 0, 2, 0, 21, 41, 13, 3, 22, 14, 23, 34, 2, 16, 0, 2, 0, 21, 42, 13, 3, 22, 14, 23, 35, 2, 16, 0, 2, 0, 21, 43, 13, 3, 22, 14, 23, 36, 2, 16, 0, 2, 0, 21, 44, 13, 3, 22, 14, 23, 37, 2, 16, 0, 2, 0, 21, 45, 13, 3, 22, 14, 23, 38, 2, 16, 0, 2, 0, 21, 46, 13, 3, 22, 14, 23, 39, 2, 16, 0, 2, 0, 21, 47, 13, 3, 22, 14, 23, 40, 2, 16, 0, 2, 0, 21, 48, 13, 3, 22, 14, 23, 41, 2, 16, 0, 2, 0, 21, 49, 13, 3, 22, 14, 23, 42, 2, 16, 0, 2, 0, 21, 50, 13, 3, 22, 14, 23, 43, 2, 16, 0, 2, 0, 21, 51, 13, 3, 22, 14, 23, 44, 2, 16, 0, 2, 0, 21, 52, 13, 3, 22, 14, 23, 45, 2, 16, 0, 2, 0, 21, 53, 13, 3, 22, 14, 23, 46, 2, 16, 0, 2, 0, 21, 54, 13, 3, 22, 14, 23, 47, 2, 16, 0, 2, 0, 21, 55, 13, 3, 22, 14, 23, 48, 2, 16, 0, 2, 0, 21, 56, 13, 3, 22, 14, 23, 49, 2, 16, 0, 2, 0, 21, 57, 13, 3, 22, 14, 23, 50, 2, 16, 0, 2, 0, 21, 58, 13, 3, 22, 14, 23, 51, 2, 16, 0, 2, 0, 21, 59, 13, 3, 22, 14, 23, 52, 2, 16, 0, 2, 0, 21, 60, 13, 3, 22, 14, 23, 53, 2, 16, 0, 2, 0, 21, 61, 13, 3, 22, 14, 23, 54, 2, 16, 0, 2, 0, 21, 62, 13, 3, 22, 14, 23, 55, 2, 16, 0, 2, 0, 21, 63, 13, 3, 22, 14, 23, 56, 2, 16, 0, 2, 0, 21, 64, 13, 3, 22, 14, 23, 57, 2, 16, 0, 0, 0, 1, 65, -1, 0, 0, 45, 0, 67, 66, 58, 5, 22, 14, 23, 59, 2, 60, 68, 61, 69, 62, 0, 45, 0, 67, 70, 58, 5, 22, 14, 23, 63, 2, 60, 68, 64, 69, 65, 0, 45, 0, 67, 71, 58, 5, 22, 14, 23, 66, 2, 60, 68, 67, 69, 65, 0, 45, 0, 67, 72, 68, 3, 22, 14, 23, 69, 2, 70, 0, 45, 0, 74, 73, 71, 3, 22, 14, 23, 72, 2, 73, 0, 0, 0, 76, 75, 74, 3, 22, 14, 23, 75, 2, 76, 0, 0, 0, 78, 77, -1, 6, 79, 77, 80, 7, 81, 78, 82, 79, 83, 78, 84, 7, 0, 0, 0, 1, 85, -1, 0, 0, 53, 0, 76, 86, 80, 3, 22, 14, 23, 81, 2, 82, 0, 53, 0, 76, 87, 80, 3, 22, 14, 23, 83, 2, 82, 0, 53, 0, 76, 88, 80, 3, 22, 14, 23, 84, 2, 82, 0, 53, 0, 76, 89, 80, 3, 22, 14, 23, 85, 2, 82, 0, 53, 0, 76, 90, 80, 3, 22, 14, 23, 86, 2, 82, 0, 53, 0, 76, 91, 80, 3, 22, 14, 23, 87, 2, 82, 0, 53, 0, 76, 92, 80, 3, 22, 14, 23, 88, 2, 82, 0, 53, 0, 76, 93, 80, 3, 22, 14, 23, 89, 2, 82, 0, 53, 0, 76, 94, 80, 3, 22, 14, 23, 90, 2, 82, 0, 53, 0, 76, 95, 80, 3, 22, 14, 23, 91, 2, 82, 0, 53, 0, 76, 96, 80, 3, 22, 14, 23, 92, 2, 82, 0, 0, 0, 98, 97, 93, 2, 22, 14, 2, 94, 0, 0, 0, 99, 99, -1, 17, 100, 95, 101, 96, 102, 97, 103, 98, 104, 78, 105, 78, 106, 6, 107, 9, 108, 99, 109, 8, 110, 100, 111, 9, 112, 7, 113, 7, 114, 101, 115, 78, 116, 102, 0 + -1, -1, 2, 0, -1, 1, 1, 0, 0, 0, 0, 18, 3, -1, 15, 4, 1, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 1, 11, 7, 12, 7, 13, 8, 14, 9, 15, 10, 16, 10, 17, 11, 1, 12, 0, 0, 0, 2, 19, -1, 0, 0, 2, 0, 2147483647, 20, 13, 4, 21, 14, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 25, 13, 4, 21, 17, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 26, 13, 4, 21, 18, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 27, 13, 4, 21, 19, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 28, 13, 4, 21, 20, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 29, 13, 4, 21, 21, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 30, 13, 4, 21, 22, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 31, 13, 4, 21, 23, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 32, 13, 4, 21, 24, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 33, 13, 4, 21, 25, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 34, 13, 4, 21, 26, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 35, 13, 4, 21, 27, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 36, 13, 4, 21, 28, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 37, 13, 4, 21, 29, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 38, 13, 4, 21, 30, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 39, 13, 4, 21, 31, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 40, 13, 4, 21, 32, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 41, 13, 4, 21, 33, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 42, 13, 4, 21, 34, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 43, 13, 4, 21, 35, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 44, 13, 4, 21, 36, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 45, 13, 4, 21, 37, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 46, 13, 4, 21, 38, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 47, 13, 4, 21, 39, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 48, 13, 4, 21, 40, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 49, 13, 4, 21, 41, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 50, 13, 4, 21, 42, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 51, 13, 4, 21, 43, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 52, 13, 4, 21, 44, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 53, 13, 4, 21, 45, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 54, 13, 4, 21, 46, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 55, 13, 4, 21, 47, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 56, 13, 4, 21, 48, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 57, 13, 4, 21, 49, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 58, 13, 4, 21, 50, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 59, 13, 4, 21, 51, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 60, 13, 4, 21, 52, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 61, 13, 4, 21, 53, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 62, 13, 4, 21, 54, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 63, 13, 4, 21, 55, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 64, 13, 4, 21, 56, 22, 15, 23, 16, 24, 8, 0, 2, 0, 2147483647, 65, 13, 4, 21, 57, 22, 15, 23, 16, 24, 8, 0, 0, 0, 2, 66, -1, 0, 0, 45, 0, 2147483647, 67, 58, 3, 21, 59, 68, 60, 69, 61, 0, 45, 0, 2147483647, 70, 58, 3, 21, 62, 68, 63, 69, 64, 0, 45, 0, 2147483647, 71, 58, 3, 21, 65, 68, 66, 69, 64, 0, 45, 0, 2147483647, 72, 67, 1, 21, 68, 0, 45, 0, 2147483647, 73, 69, 1, 21, 70, 0, 0, 0, 2147483647, 74, 71, 1, 21, 72, 0, 0, 0, 84, 75, -1, 8, 76, 73, 77, 7, 78, 15, 79, 74, 80, 15, 81, 7, 82, 9, 83, 75, 0, 0, 0, 2, 85, -1, 0, 0, 53, 0, 2147483647, 86, 76, 1, 21, 77, 0, 53, 0, 2147483647, 87, 76, 1, 21, 78, 0, 53, 0, 2147483647, 88, 76, 1, 21, 79, 0, 53, 0, 2147483647, 89, 76, 1, 21, 80, 0, 53, 0, 2147483647, 90, 76, 1, 21, 81, 0, 53, 0, 2147483647, 91, 76, 1, 21, 82, 0, 53, 0, 2147483647, 92, 76, 1, 21, 83, 0, 53, 0, 2147483647, 93, 76, 1, 21, 84, 0, 53, 0, 2147483647, 94, 76, 1, 21, 85, 0, 53, 0, 2147483647, 95, 76, 1, 21, 86, 0, 53, 0, 2147483647, 96, 76, 1, 21, 87, 0, 0, 0, 2147483647, 97, 88, 1, 98, 7, 0, 0, 0, 99, 99, -1, 12, 100, 89, 101, 90, 102, 91, 103, 92, 104, 15, 105, 15, 106, 6, 107, 93, 108, 15, 109, 8, 110, 1, 111, 94, 0 "variants" - + "__editor_plugin_screen__" - "2D" + "Script" "__editor_plugin_states__" "2D" @@ -263,6 +264,11 @@ "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -273,7 +279,7 @@ 0 - + 64, 64 8 1, 0, 0, 1, 0, 0 @@ -287,119 +293,10 @@ "_edit_lock_" True - - "" + 672, 1179 - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -34.3697, -21.6562 - "pixel_snap" - False - "zoom" - 3.794776 - - "3D" - - "default_light" - True - "fov" - 45 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - "Script" - - "current" - 2 - "sources" - - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - + True + 0.1 704, 1179 736, 1179 1120, 992 @@ -441,119 +338,8 @@ 4300.75, 541.058 4236.75, 541.058 4172.75, 541.058 - + 1451.86, 742.969 - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -210.652, -172.81 - "pixel_snap" - False - "zoom" - 1.360373 - - "3D" - - "default_light" - True - "fov" - 400 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - "Script" - - "current" - 0 - "sources" - - "res://moving_platform.gd" - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - 0, 140 5 624.824, 545.544 @@ -561,483 +347,17 @@ 10 3419.86, 739.662 450, 0 - + 2402.79, 849.52 - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -116.979, -109.897 - "pixel_snap" - False - "zoom" - 2.050547 - - "3D" - - "default_light" - True - "fov" - 400 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - - + 927.698, 1120.81 - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -133.699, -110.553 - "snap_grid" - False - "snap_offset" - 0, 0 - "snap_pixel" - False - "snap_relative" - False - "snap_rotation" - False - "snap_rotation_offset" - 0 - "snap_rotation_step" - 0.261799 - "snap_show_grid" - False - "snap_step" - 10, 10 - "zoom" - 2.050546 - - "3D" - - "ambient_light_color" - 0.15, 0.15, 0.15, 1 - "default_light" - True - "default_srgb" - False - "deflight_rot_x" - 0.942478 - "deflight_rot_y" - 0.628319 - "fov" - 45 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "listener" - True - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - - + 251.684, 1045.6 - - "__editor_plugin_screen__" - "Script" - "__editor_plugin_states__" - - "2D" - - "ofs" - -181.946, -86.2812 - "pixel_snap" - False - "snap" - 10 - "use_snap" - False - "zoom" - 2.272073 - - "3D" - - "ambient_light_color" - 0.15, 0.15, 0.15, 1 - "default_light" - True - "default_srgb" - False - "deflight_rot_x" - 0.942478 - "deflight_rot_y" - 0.628319 - "fov" - 45 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "listener" - True - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "listener" - False - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - "Script" - - "current" - 0 - "sources" - - "res://player.gd" - - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - - - True + 2 - + 500 + 834.664, 1309.6 - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -227.625, -197.9 - "pixel_snap" - False - "zoom" - 1.108033 - - "3D" - - "default_light" - True - "fov" - 45 - "show_grid" - True - "show_origin" - True - "viewport_mode" - 1 - "viewports" - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "distance" - 4 - "pos" - 0, 0, 0 - "use_environment" - False - "use_orthogonal" - False - "x_rot" - 0 - "y_rot" - 0 - - - "zfar" - 500 - "znear" - 0.1 - - "Script" - - "current" - 0 - "sources" - - "res://enemy.gd" - - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - 707.665, 1225.05 1125.21, 1053.06 1292.11, 1059.24 @@ -1048,79 +368,16 @@ 3429.73, 540.865 3546.2, 1356.19 2406.63, 815.115 - - - "__editor_plugin_screen__" - "2D" - "__editor_plugin_states__" - - "2D" - - "ofs" - -5, -25 - "zoom" - 1 - - "3D" - - "fov" - 45 - "window_0" - - "default_light" - True - "distance" - 4 - "pos" - 0, 0, 0 - "show_grid" - True - "show_origin" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - - "window_mode" - 0 - "zfar" - 500 - "znear" - 0.1 - - "Script" - - "current" - 0 - "sources" - - "res://moving_platform.gd" - "res://enemy.gd" - "res://player.gd" - "res://coin.gd" - - - - "__editor_run_settings__" - - "custom_args" - "-l $scene" - "run_mode" - 0 - - + 12 -202 358 -10 - 7 - 14.769231 "This is a simple demo on how to make a platformer game with Godot."This version uses physics and the 2D physics engine for motion and collision.""The demo also shows the benefits of using the scene system, where coins,"enemies and the player are edited separatedly and instanced in the stage.""To edit the base tiles for the tileset, open the tileset_edit.xml file and follow "instructions."" - -1 + -1 "version" - 1 + 2 diff --git a/demos/2d/platformer/tileset_edit.xml b/demos/2d/platformer/tileset_edit.xml index db289433ab..3ae9f1bd2a 100644 --- a/demos/2d/platformer/tileset_edit.xml +++ b/demos/2d/platformer/tileset_edit.xml @@ -1,6 +1,6 @@ - - + + 0 -32, -24, 32, -24, 32, 32, -32, 32 @@ -63,48 +63,41 @@ + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "Node" - "_import_path" "__meta__" "floor" - "Sprite" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "transform/pos" - "transform/rot" - "transform/scale" - "z/z" - "z/relative" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" "region" "region_rect" + "Sprite" "collision" - "StaticBody2D" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" - "layers" + "collision/layers" + "collision/mask" "constant_linear_velocity" "constant_angular_velocity" "friction" "bounce" + "StaticBody2D" "CollisionPolygon2D" "build_mode" "polygon" + "shape_range" "trigger" "edge" + "transform/pos" "wall" "wall_deco" "corner" @@ -118,147 +111,152 @@ "ramp" "ceiling2wall" "help" - "Label" - "focus_neighbour/left" - "focus_neighbour/top" - "focus_neighbour/right" - "focus_neighbour/bottom" "focus/ignore_mouse" "focus/stop_mouse" "size_flags/horizontal" - "size_flags/stretch_ratio" - "range/min" - "range/max" - "range/step" - "range/page" - "range/value" - "range/exp_edit" - "rounded_values" "text" - "align" - "valign" - "autowrap" - "uppercase" "percent_visible" + "lines_skipped" + "max_lines_visible" + "Label" "platform_floor" "platform_edge" - "version" - 1 - "conn_count" - 0 "node_count" 42 + "node_paths" + + + "nodes" + -1, -1, 0, 0, -1, 1, 1, 0, 0, 0, 0, 6, 2, -1, 3, 3, 1, 4, 2, 5, 3, 0, 1, 0, 18, 7, -1, 10, 8, 4, 9, 5, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 2, 0, 19, 19, -1, 4, 20, 11, 21, 12, 22, 13, 23, 4, 0, 0, 0, 6, 24, -1, 4, 25, 14, 3, 1, 4, 2, 5, 15, 0, 4, 0, 18, 7, -1, 10, 8, 4, 9, 16, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 5, 0, 19, 19, -1, 4, 20, 11, 21, 17, 22, 13, 23, 4, 0, 0, 0, 6, 26, -1, 4, 25, 18, 3, 1, 4, 2, 5, 19, 0, 7, 0, 18, 7, -1, 10, 8, 4, 9, 20, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 8, 0, 19, 19, -1, 4, 20, 11, 21, 21, 22, 13, 23, 4, 0, 0, 0, 6, 27, -1, 4, 25, 22, 3, 1, 4, 2, 5, 23, 0, 10, 0, 18, 7, -1, 10, 8, 4, 9, 24, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 11, 0, 19, 19, -1, 4, 20, 11, 21, 25, 22, 13, 23, 4, 0, 0, 0, 6, 28, -1, 4, 25, 26, 3, 1, 4, 2, 5, 27, 0, 13, 0, 18, 7, -1, 10, 8, 4, 9, 28, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 14, 0, 19, 19, -1, 4, 20, 11, 21, 29, 22, 13, 23, 4, 0, 0, 0, 6, 29, -1, 4, 25, 30, 3, 1, 4, 2, 5, 31, 0, 16, 0, 18, 7, -1, 10, 8, 4, 9, 32, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 17, 0, 19, 19, -1, 4, 20, 11, 21, 33, 22, 13, 23, 4, 0, 0, 0, 6, 30, -1, 4, 25, 34, 3, 1, 4, 2, 5, 35, 0, 19, 0, 18, 7, -1, 10, 8, 4, 9, 36, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 20, 0, 19, 19, -1, 4, 20, 11, 21, 33, 22, 13, 23, 4, 0, 0, 0, 6, 31, -1, 4, 25, 37, 3, 1, 4, 2, 5, 38, 0, 0, 0, 6, 32, -1, 4, 25, 39, 3, 1, 4, 2, 5, 40, 0, 0, 0, 6, 33, -1, 4, 25, 41, 3, 1, 4, 2, 5, 42, 0, 0, 0, 6, 34, -1, 4, 25, 43, 3, 1, 4, 2, 5, 44, 0, 0, 0, 6, 35, -1, 4, 25, 45, 3, 1, 4, 2, 5, 46, 0, 26, 0, 18, 7, -1, 10, 8, 4, 9, 47, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 27, 0, 19, 19, -1, 4, 20, 11, 21, 48, 22, 13, 23, 4, 0, 0, 0, 6, 36, -1, 4, 25, 49, 3, 1, 4, 2, 5, 50, 0, 29, 0, 18, 7, -1, 10, 8, 4, 9, 51, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 30, 0, 19, 19, -1, 4, 20, 11, 21, 52, 22, 13, 23, 4, 0, 0, 0, 6, 37, -1, 4, 25, 53, 3, 1, 4, 2, 5, 54, 0, 32, 0, 18, 7, -1, 10, 8, 4, 9, 55, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 33, 0, 19, 19, -1, 4, 20, 11, 21, 21, 22, 13, 23, 4, 0, 0, 0, 46, 38, -1, 7, 39, 2, 40, 2, 41, 56, 42, 57, 43, 10, 44, 11, 45, 58, 0, 0, 0, 6, 47, -1, 4, 25, 59, 3, 1, 4, 2, 5, 60, 0, 36, 0, 18, 7, -1, 10, 8, 4, 9, 61, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 37, 0, 19, 19, -1, 4, 20, 11, 21, 62, 22, 13, 23, 4, 0, 0, 0, 6, 48, -1, 4, 25, 63, 3, 1, 4, 2, 5, 64, 0, 39, 0, 18, 7, -1, 10, 8, 4, 9, 65, 10, 6, 11, 4, 12, 7, 13, 7, 14, 8, 15, 9, 16, 10, 17, 9, 0, 40, 0, 19, 19, -1, 4, 20, 11, 21, 66, 22, 13, 23, 4, 0 "variants" - - "" + + "__editor_plugin_screen__" + "Script" "__editor_plugin_states__" "2D" - "pixel_snap" - True - "zoom" - 1.670183 - "use_snap" - True "ofs" -446.534, -87.6905 - "snap" - 8 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1.670183 "3D" + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 "deflight_rot_y" 0.628319 - "zfar" - 500 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 - "x_rot" - 0 - "y_rot" - 0 "listener" True + "pos" + 0, 0, 0 "use_environment" False "use_orthogonal" False - "pos" - 0, 0, 0 - - - "distance" - 4 "x_rot" 0 "y_rot" 0 + + + "distance" + 4 "listener" False + "pos" + 0, 0, 0 "use_environment" False "use_orthogonal" False - "pos" - 0, 0, 0 - - - "distance" - 4 "x_rot" 0 "y_rot" 0 + + + "distance" + 4 "listener" False + "pos" + 0, 0, 0 "use_environment" False "use_orthogonal" False - "pos" - 0, 0, 0 - - - "distance" - 4 "x_rot" 0 "y_rot" 0 + + + "distance" + 4 "listener" False + "pos" + 0, 0, 0 "use_environment" False "use_orthogonal" False - "pos" - 0, 0, 0 + "x_rot" + 0 + "y_rot" + 0 - "viewport_mode" - 1 - "default_light" - True - "ambient_light_color" - 0.15, 0.15, 0.15, 1 - "show_grid" - True - "show_origin" - True + "zfar" + 500 "znear" 0.1 - "default_srgb" + + "Anim" + + "visible" False - "deflight_rot_x" - 0.942478 "__editor_run_settings__" @@ -268,23 +266,20 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" + True - 1 - 0, 0 - 0 - 1, 1 - 0 - - False - 1 - 1, 1, 1, 1 0, 0, 64, 64 + False 1, -0, 0, 1, 0, 0 + 1 + 0, 0 + 0 + 1 + 0 32, -24, 32, 32, -32, 32, -32, -24 + -1, -1 64, 0 64, 0, 64, 64 @@ -329,7 +324,7 @@ 2 "This scene serves as a tool for editing the tileset. Nodes (sprites) and their respective collisions are edited here. To create a tileset from this, a "TileSet" resoucre must be created. Use the helper in: Scene -< Convert To -< TileSet This will save a tileset. Saving over it will merge your changes. Finally, the saved tileset resource (tileset.xml in this case), can be opened to be used into a TileMap node for editing a tile map. " - -1 + -1 0, 256 128, 0, 64, 64 @@ -339,10 +334,8 @@ 24, -24, 24, 24, -32, 24, -32, -24 - "nodes" - -1, -1, 0, 0, -1, 2, 1, 0, 2, 1, 0, 0, 0, 4, 3, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 12, 0, 1, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 13, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 2, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 15, 38, 9, 0, 0, 0, 4, 39, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 16, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 17, 0, 4, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 18, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 5, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 19, 38, 9, 0, 0, 0, 4, 40, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 20, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 21, 0, 7, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 22, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 8, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 23, 38, 9, 0, 0, 0, 4, 41, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 24, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 25, 0, 10, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 26, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 11, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 27, 38, 9, 0, 0, 0, 4, 42, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 28, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 29, 0, 13, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 30, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 14, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 31, 38, 9, 0, 0, 0, 4, 43, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 32, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 33, 0, 16, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 34, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 17, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 35, 38, 9, 0, 0, 0, 4, 44, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 36, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 37, 0, 19, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 38, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 20, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 35, 38, 9, 0, 0, 0, 4, 45, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 39, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 40, 0, 0, 0, 4, 46, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 41, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 42, 0, 0, 0, 4, 47, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 43, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 44, 0, 0, 0, 4, 48, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 45, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 46, 0, 0, 0, 4, 49, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 47, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 48, 0, 26, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 49, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 27, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 50, 38, 9, 0, 0, 0, 4, 50, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 51, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 52, 0, 29, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 53, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 30, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 54, 38, 9, 0, 0, 0, 4, 51, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 55, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 56, 0, 32, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 57, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 33, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 23, 38, 9, 0, 0, 0, 53, 52, -1, 25, 1, 0, 5, 2, 6, 3, 7, 3, 54, 0, 55, 0, 56, 0, 57, 0, 58, 2, 59, 2, 60, 58, 61, 3, 62, 5, 63, 3, 64, 3, 65, 3, 66, 5, 67, 9, 68, 9, 69, 59, 70, 7, 71, 7, 72, 9, 73, 9, 74, 60, 0, 0, 0, 4, 75, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 61, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 62, 0, 36, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 63, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 37, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 64, 38, 9, 0, 0, 0, 4, 76, -1, 20, 1, 0, 5, 2, 6, 3, 7, 3, 8, 65, 9, 5, 10, 6, 11, 7, 12, 2, 13, 8, 14, 2, 15, 4, 16, 9, 17, 9, 18, 10, 19, 10, 20, 7, 21, 11, 22, 2, 23, 66, 0, 39, 0, 25, 24, -1, 18, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 26, 10, 27, 67, 28, 14, 29, 9, 30, 10, 31, 4, 32, 5, 33, 3, 34, 5, 0, 40, 0, 35, 35, -1, 12, 1, 0, 5, 2, 6, 3, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 2, 36, 7, 37, 68, 38, 9, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/pong/pong.xml b/demos/2d/pong/pong.xml index cf47a8db9f..2189be7c62 100644 --- a/demos/2d/pong/pong.xml +++ b/demos/2d/pong/pong.xml @@ -1,153 +1,170 @@ - - - - - - + + + + + + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "game" - "Node2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" "script/script" "__meta__" + "Node2D" "left" - "Sprite" + "transform/pos" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" + "Sprite" "right" "separator" "ball" - "version" - 1 - "conn_count" - 0 "node_count" 5 + "node_paths" + + + "nodes" + -1, -1, 3, 0, -1, 2, 1, 0, 2, 1, 0, 0, 0, 7, 4, -1, 2, 5, 2, 6, 3, 0, 0, 0, 7, 8, -1, 2, 5, 4, 6, 5, 0, 0, 0, 7, 9, -1, 2, 5, 6, 6, 7, 0, 0, 0, 7, 10, -1, 2, 5, 8, 6, 9, 0 "variants" - - True - 1 - 0, 0 - 0 - 1, 1 - + + + "__editor_plugin_screen__" + "Script" "__editor_plugin_states__" - "Script" - - "current" - 0 - "sources" - - "res://pong.gd" - - "2D" - "pixel_snap" - True - "zoom" - 1.108033 "ofs" -54.59, -36.0052 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1.108033 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -156,27 +173,18 @@ "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" - + "version" + 2 diff --git a/demos/2d/rubegoldberg/ball.xml b/demos/2d/rubegoldberg/ball.xml index 625438eb75..73b699514c 100644 --- a/demos/2d/rubegoldberg/ball.xml +++ b/demos/2d/rubegoldberg/ball.xml @@ -1,171 +1,200 @@ - - + + - "" 0 32 - + - "" + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "Ball" - "RigidBody2D" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/pause_mode" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" - "script/script" + "damp_override/linear" + "damp_override/angular" "__meta__" + "RigidBody2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "CollisionShape2D" "shape" "trigger" + "_update_shape_index" - "version" - 1 - "conn_count" - 0 "node_count" 3 + "node_paths" + + + "nodes" + -1, -1, 23, 0, -1, 22, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 6, 12, 0, 13, 4, 14, 4, 15, 0, 16, 0, 17, 8, 18, 9, 19, 7, 20, 10, 21, 10, 22, 11, 0, 0, 0, 24, 24, -1, 1, 25, 12, 0, 0, 0, 26, 26, -1, 3, 27, 1, 28, 0, 29, 13, 0 "variants" - + False + + 1, 0, 0, 1, 0, 0 + 1 0 - True + 3 1 - 0, 0 0 - 1, 1 - 1 - - 1, 0, 0, 1, 0, 0 - 3 - + True + 0, 0 + -1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "zoom" - 1.50734 "ofs" -80.5995, -149.825 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1.50734 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" - + "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -174,18 +203,13 @@ "run_mode" 0 - "__editor_plugin_screen__" - "Script" - - 1, 1, 1, 1 - 0, 0, 0, 0 + + -1 - "nodes" - -1, -1, 1, 0, -1, 31, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 3, 9, 3, 10, 2, 11, 1, 12, 4, 13, 5, 14, 6, 15, 7, 16, 8, 17, 9, 18, 0, 19, 1, 20, 10, 21, 3, 22, 5, 23, 0, 24, 0, 25, 1, 26, 0, 27, 2, 28, 2, 29, 4, 30, 5, 31, 11, 32, 12, 0, 0, 0, 33, 33, -1, 25, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 3, 9, 3, 10, 2, 11, 1, 12, 4, 13, 5, 14, 6, 34, 13, 35, 2, 36, 4, 37, 0, 38, 0, 39, 7, 40, 7, 41, 1, 42, 14, 43, 0, 44, 15, 31, 11, 0, 0, 0, 45, 45, -1, 16, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 3, 9, 3, 10, 2, 11, 1, 12, 4, 13, 5, 14, 6, 46, 8, 47, 0, 31, 11, 0 - "conns" - + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/rubegoldberg/box.xml b/demos/2d/rubegoldberg/box.xml index c715326ae0..c30d30e9f9 100644 --- a/demos/2d/rubegoldberg/box.xml +++ b/demos/2d/rubegoldberg/box.xml @@ -1,142 +1,214 @@ - - + + - "" 0 32, 32 - + - "" - + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "box" - "RigidBody2D" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" + "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" - "script/script" + "damp_override/linear" + "damp_override/angular" "__meta__" + "RigidBody2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "CollisionShape2D" "shape" + "trigger" + "_update_shape_index" - "version" - 1 - "conn_count" - 0 "node_count" 3 + "node_paths" + + + "nodes" + -1, -1, 23, 0, -1, 22, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 5, 10, 6, 11, 5, 12, 0, 13, 4, 14, 4, 15, 0, 16, 0, 17, 7, 18, 8, 19, 6, 20, 9, 21, 9, 22, 10, 0, 0, 0, 24, 24, -1, 1, 25, 11, 0, 0, 0, 26, 26, -1, 3, 27, 1, 28, 0, 29, 12, 0 "variants" - + False + + 1, 0, 0, 1, 0, 0 + 1 0 - True 1 - 0, 0 0 - 1, 1 - 1 - - 1, 0, 0, 1, 0, 0 - + True + 0, 0 + -1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - + "2D" - - "zoom" - 1 + "ofs" -125, -163 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "2D" - - 1, 1, 1, 1 - 0, 0, 0, 0 + + -1 - "nodes" - -1, -1, 1, 0, -1, 32, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 17, 7, 18, 8, 19, 9, 20, 1, 21, 3, 22, 3, 23, 5, 24, 0, 25, 0, 26, 1, 27, 0, 28, 2, 29, 2, 30, 4, 31, 5, 32, 10, 33, 11, 0, 0, 0, 34, 34, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 4, 15, 5, 16, 6, 35, 12, 36, 2, 37, 4, 38, 0, 39, 0, 40, 7, 41, 7, 42, 1, 43, 13, 44, 0, 45, 14, 32, 10, 0, 0, 0, 46, 46, -1, 17, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 47, 8, 32, 10, 0 - "conns" - + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/rubegoldberg/domino.xml b/demos/2d/rubegoldberg/domino.xml index 324bf57e66..ec86c833df 100644 --- a/demos/2d/rubegoldberg/domino.xml +++ b/demos/2d/rubegoldberg/domino.xml @@ -1,143 +1,215 @@ - - + + - "" 0 16, 64 - + - "" - + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "domino" - "RigidBody2D" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" + "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" - "script/script" + "damp_override/linear" + "damp_override/angular" "__meta__" + "RigidBody2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "CollisionShape2D" "shape" + "trigger" + "_update_shape_index" - "version" - 1 - "conn_count" - 0 "node_count" 3 + "node_paths" + + + "nodes" + -1, -1, 23, 0, -1, 22, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 6, 10, 7, 11, 5, 12, 0, 13, 4, 14, 4, 15, 0, 16, 0, 17, 8, 18, 9, 19, 7, 20, 10, 21, 10, 22, 11, 0, 0, 0, 24, 24, -1, 1, 25, 12, 0, 0, 0, 26, 26, -1, 3, 27, 1, 28, 0, 29, 13, 0 "variants" - + False + + 1, 0, 0, 1, 0, 0 + 1 0 - True 1 - 0, 0 - 0 - 1, 1 - 1 - - 1, 0, 0, 1, 0, 0 0.5 - + 0 + True + 0, 0 + -1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - + "2D" - - "zoom" - 1 + "ofs" -135, -114 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "2D" - - 1, 1, 1, 1 - 0, 0, 0, 0 + + -1 - "nodes" - -1, -1, 1, 0, -1, 32, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 17, 7, 18, 8, 19, 9, 20, 1, 21, 3, 22, 10, 23, 5, 24, 0, 25, 0, 26, 1, 27, 0, 28, 2, 29, 2, 30, 4, 31, 5, 32, 11, 33, 12, 0, 0, 0, 34, 34, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 4, 15, 5, 16, 6, 35, 13, 36, 2, 37, 4, 38, 0, 39, 0, 40, 7, 41, 7, 42, 1, 43, 14, 44, 0, 45, 15, 32, 11, 0, 0, 0, 46, 46, -1, 17, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 47, 8, 32, 11, 0 - "conns" - + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/rubegoldberg/pendulum.xml b/demos/2d/rubegoldberg/pendulum.xml index 2a5378ff2f..90ad45f287 100644 --- a/demos/2d/rubegoldberg/pendulum.xml +++ b/demos/2d/rubegoldberg/pendulum.xml @@ -1,7 +1,7 @@ - - - + + + 0 3, 12 @@ -14,165 +14,201 @@ + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "pendulum" - "Node2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" "__meta__" + "Node2D" "union_0" - "RigidBody2D" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" + "collision/layers" + "collision/mask" "mode" "mass" "friction" "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" + "damp_override/linear" + "damp_override/angular" + "RigidBody2D" "Sprite" + "transform/scale" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "collision" - "CollisionShape2D" "shape" "trigger" + "_update_shape_index" + "CollisionShape2D" "union_ 2" + "transform/pos" "union_ 3" "union_ 4" "joint1" - "PinJoint2D" "node_a" "node_b" "bias/bias" + "softness" + "PinJoint2D" "joint 2_3" "joint 3_4" "ball" "joint 4_ball" "joint wall" - "version" - 1 - "conn_count" - 0 "node_count" 21 + "node_paths" + + + "nodes" + -1, -1, 2, 0, -1, 1, 1, 0, 0, 0, 0, 25, 3, -1, 22, 4, 1, 5, 2, 6, 3, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 1, 12, 0, 1, 0, 26, 26, -1, 2, 27, 13, 28, 14, 0, 1, 0, 33, 29, -1, 3, 30, 2, 31, 1, 32, 15, 0, 0, 0, 25, 34, -1, 23, 35, 16, 4, 1, 5, 2, 6, 17, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 1, 18, 0, 4, 0, 26, 26, -1, 2, 27, 13, 28, 14, 0, 4, 0, 33, 29, -1, 3, 30, 2, 31, 1, 32, 15, 0, 0, 0, 25, 36, -1, 23, 35, 19, 4, 1, 5, 2, 6, 17, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 1, 18, 0, 7, 0, 26, 26, -1, 2, 27, 13, 28, 14, 0, 7, 0, 33, 29, -1, 3, 30, 2, 31, 1, 32, 15, 0, 0, 0, 25, 37, -1, 23, 35, 20, 4, 1, 5, 2, 6, 17, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 1, 18, 0, 10, 0, 26, 26, -1, 2, 27, 13, 28, 14, 0, 10, 0, 33, 29, -1, 3, 30, 2, 31, 1, 32, 15, 0, 0, 0, 43, 38, -1, 5, 35, 21, 39, 22, 40, 23, 41, 8, 42, 8, 0, 0, 0, 43, 44, -1, 5, 35, 24, 39, 23, 40, 25, 41, 8, 42, 8, 0, 0, 0, 43, 45, -1, 5, 35, 26, 39, 25, 40, 27, 41, 6, 42, 8, 0, 0, 0, 25, 46, -1, 24, 35, 28, 27, 29, 4, 1, 5, 30, 6, 17, 7, 1, 8, 4, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 7, 15, 1, 16, 5, 17, 5, 18, 1, 19, 1, 20, 9, 21, 10, 22, 8, 23, 11, 24, 11, 1, 18, 0, 16, 0, 26, 26, -1, 2, 27, 31, 28, 32, 0, 16, 0, 33, 29, -1, 3, 30, 30, 31, 1, 32, 15, 0, 0, 0, 43, 47, -1, 5, 35, 33, 39, 27, 40, 34, 41, 8, 42, 8, 0, 0, 0, 43, 48, -1, 5, 35, 35, 39, 22, 40, 36, 41, 8, 42, 8, 0 "variants" - - True - 1 - 0, 0 - 0 - 1, 1 + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "zoom" - 2.78951 "ofs" -121.028, 0.923909 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 2.78951 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -181,23 +217,25 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - 1 - - 1, 0, 0, 1, 0, 0 False + + 1, 0, 0, 1, 0, 0 + 1 0 0.2 + 1 + 0 + True + 0, 0 + -1 "_edit_group_" True 0.1, 0.4 - - 1, 1, 1, 1 - 0, 0, 0, 0 + + -1 0, 26.9432 1, -0, 0, 1, 0, 0 @@ -215,18 +253,16 @@ "../union_ 4" 0, 106.787 0.98476, 1 - + 0.5, 0.5 - + 0, 92.5287 "../ball" 0, -12.1024 "" - "nodes" - -1, -1, 1, 0, -1, 8, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 0, 0, 0, 11, 10, -1, 24, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 12, 6, 13, 7, 14, 8, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 9, 12, 0, 1, 0, 28, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 13, 29, 14, 30, 0, 31, 2, 32, 9, 33, 9, 34, 6, 35, 6, 36, 10, 37, 15, 38, 9, 39, 16, 0, 1, 0, 41, 40, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 7, 43, 9, 0, 0, 0, 11, 44, -1, 24, 2, 0, 3, 1, 4, 1, 5, 0, 6, 17, 7, 3, 8, 4, 12, 6, 13, 7, 14, 18, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 9, 19, 0, 4, 0, 28, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 13, 29, 14, 30, 0, 31, 2, 32, 9, 33, 9, 34, 6, 35, 6, 36, 10, 37, 15, 38, 9, 39, 16, 0, 4, 0, 41, 40, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 7, 43, 9, 0, 0, 0, 11, 45, -1, 24, 2, 0, 3, 1, 4, 1, 5, 0, 6, 20, 7, 3, 8, 4, 12, 6, 13, 7, 14, 18, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 9, 19, 0, 7, 0, 28, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 13, 29, 14, 30, 0, 31, 2, 32, 9, 33, 9, 34, 6, 35, 6, 36, 10, 37, 15, 38, 9, 39, 16, 0, 7, 0, 41, 40, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 7, 43, 9, 0, 0, 0, 11, 46, -1, 24, 2, 0, 3, 1, 4, 1, 5, 0, 6, 21, 7, 3, 8, 4, 12, 6, 13, 7, 14, 18, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 9, 19, 0, 10, 0, 28, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 13, 29, 14, 30, 0, 31, 2, 32, 9, 33, 9, 34, 6, 35, 6, 36, 10, 37, 15, 38, 9, 39, 16, 0, 10, 0, 41, 40, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 7, 43, 9, 0, 0, 0, 48, 47, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 22, 7, 3, 8, 4, 49, 23, 50, 24, 51, 3, 0, 0, 0, 48, 52, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 25, 7, 3, 8, 4, 49, 24, 50, 26, 51, 3, 0, 0, 0, 48, 53, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 27, 7, 3, 8, 4, 49, 26, 50, 28, 51, 11, 0, 0, 0, 11, 54, -1, 24, 2, 0, 3, 1, 4, 1, 5, 0, 6, 29, 7, 3, 8, 30, 12, 6, 13, 31, 14, 18, 15, 9, 16, 10, 17, 11, 18, 1, 19, 3, 20, 9, 21, 9, 22, 10, 23, 9, 24, 0, 25, 0, 26, 2, 27, 3, 9, 19, 0, 16, 0, 28, 28, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 32, 29, 33, 30, 0, 31, 2, 32, 9, 33, 9, 34, 6, 35, 6, 36, 10, 37, 15, 38, 9, 39, 16, 0, 16, 0, 41, 40, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 42, 31, 43, 9, 0, 0, 0, 48, 55, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 34, 7, 3, 8, 4, 49, 28, 50, 35, 51, 3, 0, 0, 0, 48, 56, -1, 10, 2, 0, 3, 1, 4, 1, 5, 0, 6, 36, 7, 3, 8, 4, 49, 23, 50, 37, 51, 3, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/rubegoldberg/platform.xml b/demos/2d/rubegoldberg/platform.xml index 0cc8f4b137..09cd0fdda6 100644 --- a/demos/2d/rubegoldberg/platform.xml +++ b/demos/2d/rubegoldberg/platform.xml @@ -1,6 +1,6 @@ - - + + 0 128, 16 @@ -8,148 +8,178 @@ + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "platform" - "StaticBody2D" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "transform/pos" - "transform/rot" - "transform/scale" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" "shapes/0/trigger" - "simulate_motion" + "collision/layers" + "collision/mask" "constant_linear_velocity" "constant_angular_velocity" "friction" "bounce" "__meta__" + "StaticBody2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "CollisionShape2D" "shape" "trigger" + "_update_shape_index" - "version" - 1 - "conn_count" - 0 "node_count" 3 + "node_paths" + + + "nodes" + -1, -1, 12, 0, -1, 11, 1, 0, 2, 1, 3, 2, 4, 0, 5, 3, 6, 3, 7, 4, 8, 5, 9, 6, 10, 5, 11, 7, 0, 0, 0, 13, 13, -1, 1, 14, 8, 0, 0, 0, 15, 15, -1, 3, 16, 1, 17, 0, 18, 9, 0 "variants" - - True - 1 + + False + + 1, 0, 0, 1, 0, 0 + 1 0, 0 0 - 1, 1 - 1 - - 1, 0, 0, 1, 0, 0 - False + 1 + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "pixel_snap" + "ofs" + -135, -114 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" False + "snap_step" + 10, 10 "zoom" 1 - "ofs" - -135, -114 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -158,18 +188,12 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - - 0 - 1, 1, 1, 1 - 0, 0, 0, 0 + + -1 - "nodes" - -1, -1, 1, 0, -1, 17, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 9, 5, 10, 6, 11, 7, 12, 8, 13, 8, 14, 2, 15, 3, 16, 1, 17, 3, 18, 9, 0, 0, 0, 19, 19, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 20, 10, 21, 0, 22, 2, 23, 8, 24, 8, 25, 5, 26, 5, 27, 11, 28, 12, 29, 8, 30, 13, 0, 0, 0, 31, 31, -1, 9, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 3, 8, 4, 32, 6, 33, 8, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/rubegoldberg/rubegoldberg.xml b/demos/2d/rubegoldberg/rubegoldberg.xml index edb6dda0e1..490b0f9d34 100644 --- a/demos/2d/rubegoldberg/rubegoldberg.xml +++ b/demos/2d/rubegoldberg/rubegoldberg.xml @@ -1,25 +1,37 @@ - - - - - - - + + + + + + + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "Node" "__meta__" "platform" - "StaticBody2D" "transform/pos" "transform/rot" + "input/pickable" + "collision/layers" + "collision/mask" "platform 2" "platform 3" "Ball" - "RigidBody2D" + "gravity_scale" + "sleeping" + "damp_override/linear" + "damp_override/angular" "domino" "domino 2" "domino 4" @@ -31,7 +43,6 @@ "platform 7" "platform 8" "SeeSaw" - "Node2D" "box" "pendulum" "pendulum 2" @@ -40,102 +51,142 @@ "Ball 5" "velocity/linear" - "version" - 1 - "conn_count" - 0 "node_count" 21 + "node_paths" + + + "nodes" + -1, -1, 0, 0, -1, 1, 1, 0, 0, 0, 0, 2147483647, 2, 1, 5, 3, 2, 4, 3, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 8, 1, 4, 3, 6, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 9, 1, 4, 3, 7, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 10, 8, 8, 3, 9, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 15, 12, 8, 3, 13, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 16, 12, 8, 3, 14, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 17, 12, 8, 3, 15, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 18, 1, 5, 3, 16, 4, 17, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 19, 1, 6, 3, 18, 4, 19, 20, 20, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 21, 8, 8, 3, 21, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 22, 1, 4, 3, 22, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 23, 1, 4, 3, 23, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 24, 1, 4, 3, 24, 5, 4, 6, 5, 7, 5, 0, 0, 0, 2147483647, 25, 25, 1, 3, 26, 0, 0, 0, 2147483647, 26, 27, 9, 3, 28, 4, 29, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 13, 11, 14, 11, 0, 0, 0, 2147483647, 27, 30, 1, 3, 31, 0, 0, 0, 2147483647, 28, 30, 1, 3, 32, 0, 0, 0, 2147483647, 29, 30, 1, 3, 33, 0, 0, 0, 2147483647, 30, 30, 1, 3, 34, 0, 0, 0, 2147483647, 31, 8, 9, 3, 35, 5, 4, 6, 5, 7, 5, 11, 10, 12, 4, 32, 36, 13, 11, 14, 11, 0 "variants" - + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "pixel_snap" + "ofs" + -717.096, -249.162 + "snap_grid" False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 0.598737 - "ofs" - -15.4883, -75.0379 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -144,17 +195,19 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" - + 116.881, 145.589 -20.87962 + False + 1 336.29, 264.52 526.99, 264.52 - + 76.0801, 67.2141 - + 1 + -1 + 262.764, 182.008 356.951, 182.008 448.834, 179.291 @@ -167,12 +220,12 @@ 679.231, 588.598 424.491, 588.598 185.655, 588.598 - + 602.935, 554.501 - + 476.002, 509.406 21.737282 - + 391.607, 305.444 343.172, 303.774 288.056, 303.774 @@ -180,10 +233,8 @@ 116.165, 526.515 0, -200 - "nodes" - -1, -1, 0, 0, -1, 1, 1, 0, 0, 0, 0, 3, 2, 1, 2, 4, 2, 5, 3, 0, 0, 0, 3, 6, 1, 1, 4, 4, 0, 0, 0, 3, 7, 1, 1, 4, 5, 0, 0, 0, 9, 8, 6, 1, 4, 7, 0, 0, 0, 9, 10, 8, 1, 4, 9, 0, 0, 0, 9, 11, 8, 1, 4, 10, 0, 0, 0, 9, 12, 8, 1, 4, 11, 0, 0, 0, 3, 13, 1, 2, 4, 12, 5, 13, 0, 0, 0, 3, 14, 1, 3, 4, 14, 5, 15, 15, 16, 0, 0, 0, 9, 16, 6, 1, 4, 17, 0, 0, 0, 3, 17, 1, 1, 4, 18, 0, 0, 0, 3, 18, 1, 1, 4, 19, 0, 0, 0, 3, 19, 1, 1, 4, 20, 0, 0, 0, 21, 20, 21, 1, 4, 22, 0, 0, 0, 9, 22, 23, 2, 4, 24, 5, 25, 0, 0, 0, 21, 23, 26, 1, 4, 27, 0, 0, 0, 21, 24, 26, 1, 4, 28, 0, 0, 0, 21, 25, 26, 1, 4, 29, 0, 0, 0, 21, 26, 26, 1, 4, 30, 0, 0, 0, 9, 27, 6, 2, 4, 31, 28, 32, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/rubegoldberg/seesaw.xml b/demos/2d/rubegoldberg/seesaw.xml index 30edbe9162..281e4e7c0d 100644 --- a/demos/2d/rubegoldberg/seesaw.xml +++ b/demos/2d/rubegoldberg/seesaw.xml @@ -1,169 +1,243 @@ - - - + + + - "" 0 -32.6231, 32.0838, -1.28218, -31.1383, -1.28218, -31.1383, 33.8412, 33.1645, 33.8412, 33.1645, -32.6231, 32.0838 - + - "" 0 -99.0874, 7.76759, -125.025, -8.98358, 125.162, -8.44321, 99.2248, 7.22723 - + - "" - + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "SeeSaw" - "Node2D" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "transform/pos" - "transform/rot" - "transform/scale" - "script/script" "__meta__" + "Node2D" "Sprite" "texture" - "centered" - "offset" - "flip_h" - "flip_v" - "vframes" - "hframes" - "frame" - "modulate" - "region" - "region_rect" "StaticBody2D" - "shape_count" + "input/pickable" "shapes/0/shape" "shapes/0/transform" - "simulate_motion" + "shapes/0/trigger" + "collision/layers" + "collision/mask" "constant_linear_velocity" "constant_angular_velocity" + "friction" + "bounce" "CollisionPolygon2D" "build_mode" "polygon" + "shape_range" + "trigger" "RigidBody2D" + "transform/pos" + "transform/rot" "mode" "mass" - "friction" - "bounce" + "gravity_scale" "custom_integrator" "continuous_cd" "contacts_reported" "contact_monitor" - "active" + "sleeping" "can_sleep" "velocity/linear" "velocity/angular" + "damp_override/linear" + "damp_override/angular" + "transform/scale" "PinJoint2D" "node_a" "node_b" "bias/bias" + "softness" - "version" - 1 - "conn_count" - 0 "node_count" 8 + "node_paths" + + + "nodes" + -1, -1, 2, 0, -1, 1, 1, 0, 0, 0, 0, 3, 3, -1, 1, 4, 1, 0, 1, 0, 5, 5, -1, 10, 6, 2, 7, 3, 8, 4, 9, 2, 10, 5, 11, 5, 12, 6, 13, 7, 14, 8, 15, 7, 0, 2, 0, 16, 16, -1, 4, 17, 9, 18, 10, 19, 11, 20, 2, 0, 0, 0, 21, 21, -1, 23, 22, 12, 23, 13, 6, 2, 7, 14, 8, 4, 9, 2, 10, 5, 11, 5, 24, 9, 25, 8, 14, 8, 15, 7, 26, 8, 27, 2, 28, 9, 29, 9, 30, 2, 31, 2, 32, 15, 33, 6, 34, 7, 35, 16, 36, 16, 0, 4, 0, 3, 3, -1, 2, 37, 17, 4, 18, 0, 4, 0, 16, 16, -1, 4, 17, 9, 18, 19, 19, 11, 20, 2, 0, 0, 0, 38, 38, -1, 5, 22, 20, 39, 21, 40, 22, 41, 7, 42, 7, 0 "variants" - - False - 0 - True - 1 - 0, 0 - 0 - 1, 1 - + + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - + "2D" - - "zoom" - 1.670183 + "ofs" -277.779, -292.484 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 + "zoom" + 1.670183 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "2D" - - 1 - 1, 1, 1, 1 - 0, 0, 0, 0 - + + False + 1, 0, 0, 1, 0, 0 + 1 + 0, 0 + 0 + 1 + 0 -32.6231, 32.0838, -1.28218, -31.1383, 33.8412, 33.1645 + -1, -1 1.19748, -29.9368 16.223282 - + + True + -1 1, 0.5 - + -125.025, -8.98358, 125.162, -8.44321, 99.2248, 7.22723, -99.0874, 7.76759 0, -31.1343 "../RigidBody2D" "../Sprite/StaticBody2D" - "nodes" - -1, -1, 1, 0, -1, 17, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 4, 15, 5, 16, 6, 17, 7, 18, 8, 0, 0, 0, 19, 19, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 4, 15, 5, 16, 6, 20, 9, 21, 2, 22, 4, 23, 0, 24, 0, 25, 10, 26, 10, 27, 1, 28, 11, 29, 0, 30, 12, 17, 7, 0, 1, 0, 31, 31, -1, 22, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 32, 10, 33, 13, 34, 14, 35, 0, 36, 4, 37, 5, 17, 7, 0, 2, 0, 38, 38, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 39, 1, 40, 15, 17, 7, 0, 0, 0, 41, 41, -1, 31, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 16, 15, 17, 16, 6, 32, 10, 33, 18, 34, 14, 42, 1, 43, 3, 44, 3, 45, 5, 46, 0, 47, 0, 48, 1, 49, 0, 50, 2, 51, 2, 52, 4, 53, 5, 17, 7, 0, 4, 0, 19, 19, -1, 27, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 4, 15, 5, 16, 19, 20, 20, 21, 2, 22, 4, 23, 0, 24, 0, 25, 10, 26, 10, 27, 1, 28, 11, 29, 0, 30, 12, 17, 7, 0, 4, 0, 38, 38, -1, 18, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 2, 14, 4, 15, 5, 16, 6, 39, 1, 40, 21, 17, 7, 0, 0, 0, 54, 54, -1, 19, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 22, 15, 5, 16, 6, 55, 23, 56, 24, 57, 5, 17, 7, 0 - "conns" - + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/screen_space_shaders/screen_shaders.scn b/demos/2d/screen_space_shaders/screen_shaders.scn index fc2be96fc9..be12cef02d 100644 Binary files a/demos/2d/screen_space_shaders/screen_shaders.scn and b/demos/2d/screen_space_shaders/screen_shaders.scn differ diff --git a/demos/2d/sdf_font/sdf.scn b/demos/2d/sdf_font/sdf.scn index 89d6245bf0..4880500d6d 100644 Binary files a/demos/2d/sdf_font/sdf.scn and b/demos/2d/sdf_font/sdf.scn differ diff --git a/demos/2d/shower_of_bullets/shower.scn b/demos/2d/shower_of_bullets/shower.scn index 648888d099..9e2181e9c6 100644 Binary files a/demos/2d/shower_of_bullets/shower.scn and b/demos/2d/shower_of_bullets/shower.scn differ diff --git a/demos/2d/space_shooter/asteroid.scn b/demos/2d/space_shooter/asteroid.scn index b881725ea4..6bca98cd30 100644 Binary files a/demos/2d/space_shooter/asteroid.scn and b/demos/2d/space_shooter/asteroid.scn differ diff --git a/demos/2d/space_shooter/enemy1.scn b/demos/2d/space_shooter/enemy1.scn index 14298f0a59..805071b772 100644 Binary files a/demos/2d/space_shooter/enemy1.scn and b/demos/2d/space_shooter/enemy1.scn differ diff --git a/demos/2d/space_shooter/enemy2.scn b/demos/2d/space_shooter/enemy2.scn index 1d31f9c30e..644add77aa 100644 Binary files a/demos/2d/space_shooter/enemy2.scn and b/demos/2d/space_shooter/enemy2.scn differ diff --git a/demos/2d/space_shooter/enemy_shot.scn b/demos/2d/space_shooter/enemy_shot.scn index 13f5ae89e5..353c9058f7 100644 Binary files a/demos/2d/space_shooter/enemy_shot.scn and b/demos/2d/space_shooter/enemy_shot.scn differ diff --git a/demos/2d/space_shooter/explosion.scn b/demos/2d/space_shooter/explosion.scn index 4edcf709cb..6fc105fac3 100644 Binary files a/demos/2d/space_shooter/explosion.scn and b/demos/2d/space_shooter/explosion.scn differ diff --git a/demos/2d/space_shooter/level.scn b/demos/2d/space_shooter/level.scn index 12a679f8b6..6d5f8005f5 100644 Binary files a/demos/2d/space_shooter/level.scn and b/demos/2d/space_shooter/level.scn differ diff --git a/demos/2d/space_shooter/level_tiles.scn b/demos/2d/space_shooter/level_tiles.scn index 4d1feea70f..932be39a29 100644 Binary files a/demos/2d/space_shooter/level_tiles.scn and b/demos/2d/space_shooter/level_tiles.scn differ diff --git a/demos/2d/space_shooter/main_menu.scn b/demos/2d/space_shooter/main_menu.scn index b87cc5d3a8..91b0b37b14 100644 Binary files a/demos/2d/space_shooter/main_menu.scn and b/demos/2d/space_shooter/main_menu.scn differ diff --git a/demos/2d/space_shooter/parallax.scn b/demos/2d/space_shooter/parallax.scn index f67277dc01..2753d16e84 100644 Binary files a/demos/2d/space_shooter/parallax.scn and b/demos/2d/space_shooter/parallax.scn differ diff --git a/demos/2d/space_shooter/ship.scn b/demos/2d/space_shooter/ship.scn index 82c710eda7..c60e2e3e3b 100644 Binary files a/demos/2d/space_shooter/ship.scn and b/demos/2d/space_shooter/ship.scn differ diff --git a/demos/2d/space_shooter/shot.scn b/demos/2d/space_shooter/shot.scn index 86a20ffa47..9daf4ebe82 100644 Binary files a/demos/2d/space_shooter/shot.scn and b/demos/2d/space_shooter/shot.scn differ diff --git a/demos/2d/splash/splash.xml b/demos/2d/splash/splash.xml index ecfcb0f5b5..4a36619b09 100644 --- a/demos/2d/splash/splash.xml +++ b/demos/2d/splash/splash.xml @@ -1,20 +1,20 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + "scroll" 1 @@ -26,6 +26,8 @@ "cont" True + "times" + 0, 1 "transitions" 1, 1 "values" @@ -33,47 +35,22 @@ 0, 0 -800, 0 - "times" - 0, 1 - - - - - - - - - + + + + + + + + + - - - "loop" - 0.6 - True - 0.1 - "value" - "logo:frame" - 1 - - "cont" - False - "transitions" - 1, 1 - "values" - - 8 - 7 - - "times" - 0, 0.3 - - "intro" @@ -86,6 +63,8 @@ "cont" True + "times" + 1, 1.5 "transitions" 2, 1 "values" @@ -93,8 +72,6 @@ 412, -212.981 412, 171 - "times" - 1, 1.5 "value" "logo:frame" @@ -102,6 +79,8 @@ "cont" False + "times" + 0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3 "transitions" 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 "values" @@ -117,8 +96,6 @@ 7 8 - "times" - 0, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3 "value" "start:visibility/opacity" @@ -126,6 +103,8 @@ "cont" True + "times" + 2.5, 2.8 "transitions" 1, 1 "values" @@ -133,8 +112,6 @@ 0 1 - "times" - 2.5, 2.8 "value" "start:visibility/visible" @@ -142,6 +119,8 @@ "cont" False + "times" + 0, 2.5 "transitions" 1, 1 "values" @@ -149,8 +128,6 @@ False True - "times" - 0, 2.5 "value" "copyright:visibility/visible" @@ -158,6 +135,8 @@ "cont" False + "times" + 0, 2.5 "transitions" 1, 1 "values" @@ -165,8 +144,6 @@ False True - "times" - 0, 2.5 "value" "copyright:visibility/opacity" @@ -174,6 +151,8 @@ "cont" True + "times" + 2.5, 2.8 "transitions" 1, 1 "values" @@ -181,45 +160,61 @@ 0 1 + + + + + "loop" + 0.6 + True + 0.1 + "value" + "logo:frame" + 1 + + "cont" + False "times" - 2.5, 2.8 + 0, 0.3 + "transitions" + 1, 1 + "values" + + 8 + 7 + + "conn_count" + 0 + "conns" + + "editable_instances" + + "names" - + "splash" - "Control" - "visibility/visible" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" "anchor/right" "anchor/bottom" - "focus_neighbour/left" - "focus_neighbour/top" - "focus_neighbour/right" - "focus_neighbour/bottom" "focus/ignore_mouse" "focus/stop_mouse" "size_flags/horizontal" "size_flags/vertical" - "size_flags/stretch_ratio" "__meta__" + "Control" "bg" "margin/right" "margin/bottom" "1" - "TextureFrame" "texture" - "modulate" - "expand" + "TextureFrame" "2" "margin/left" "scroll" - "AnimationPlayer" "playback/process_mode" "playback/default_blend_time" "root/root" @@ -228,152 +223,172 @@ "playback/speed" "blend_times" "autoplay" + "AnimationPlayer" "layer2" "margin/top" "layer1" "logo" - "AnimatedSprite" "transform/pos" - "transform/rot" - "transform/scale" "frames" "frame" - "centered" - "flip_h" - "flip_v" + "AnimatedSprite" "start" - "TextureButton" - "disabled" "toggle_mode" - "click_on_press" "textures/normal" "textures/pressed" - "textures/hover" - "textures/disabled" - "textures/focused" - "textures/click_mask" + "TextureButton" "copyright" - "Label" "custom_fonts/font" - "range/min" - "range/max" - "range/step" - "range/page" - "range/value" - "range/exp_edit" - "rounded_values" "text" - "align" - "valign" - "autowrap" "percent_visible" + "lines_skipped" + "max_lines_visible" + "Label" "intro" - "anims/loop" "anims/intro" "next/intro" + "anims/loop" - "version" - 1 - "conn_count" - 0 "node_count" 17 + "node_paths" + + + "nodes" + -1, -1, 8, 0, -1, 7, 1, 0, 2, 0, 3, 1, 4, 2, 5, 3, 6, 3, 7, 4, 0, 0, 0, 8, 9, -1, 6, 10, 5, 11, 5, 3, 1, 4, 2, 5, 3, 6, 3, 0, 1, 0, 14, 12, -1, 7, 10, 5, 11, 5, 3, 2, 4, 2, 5, 3, 6, 3, 13, 6, 0, 1, 0, 14, 15, -1, 8, 16, 7, 10, 8, 11, 9, 3, 2, 4, 2, 5, 3, 6, 3, 13, 6, 0, 1, 0, 26, 17, -1, 8, 18, 0, 19, 10, 20, 11, 21, 12, 22, 2, 23, 13, 24, 14, 25, 15, 0, 0, 0, 8, 27, -1, 6, 10, 5, 11, 5, 3, 1, 4, 2, 5, 3, 6, 3, 0, 5, 0, 14, 12, -1, 8, 28, 16, 10, 7, 11, 17, 3, 2, 4, 2, 5, 3, 6, 3, 13, 18, 0, 5, 0, 14, 15, -1, 9, 16, 7, 28, 16, 10, 8, 11, 17, 3, 2, 4, 2, 5, 3, 6, 3, 13, 18, 0, 5, 0, 26, 17, -1, 8, 18, 0, 19, 10, 20, 11, 21, 12, 22, 2, 23, 19, 24, 14, 25, 15, 0, 0, 0, 8, 29, -1, 6, 10, 5, 11, 5, 3, 1, 4, 2, 5, 3, 6, 3, 0, 9, 0, 14, 12, -1, 8, 28, 20, 10, 7, 11, 17, 3, 2, 4, 2, 5, 3, 6, 3, 13, 21, 0, 9, 0, 14, 15, -1, 9, 16, 7, 28, 20, 10, 8, 11, 17, 3, 2, 4, 2, 5, 3, 6, 3, 13, 21, 0, 9, 0, 26, 17, -1, 8, 18, 0, 19, 10, 20, 11, 21, 12, 22, 2, 23, 22, 24, 14, 25, 15, 0, 0, 0, 34, 30, -1, 3, 31, 23, 32, 24, 33, 25, 0, 0, 0, 39, 35, -1, 11, 16, 26, 28, 27, 10, 28, 11, 29, 3, 1, 4, 2, 5, 3, 6, 3, 36, 1, 37, 30, 38, 31, 0, 0, 0, 46, 40, -1, 12, 16, 32, 28, 33, 10, 34, 11, 35, 3, 2, 4, 2, 5, 3, 41, 36, 42, 37, 43, 38, 44, 39, 45, 40, 0, 0, 0, 26, 47, -1, 10, 18, 0, 19, 10, 20, 11, 48, 41, 49, 42, 50, 43, 22, 2, 23, 38, 24, 14, 25, 44, 0 "variants" - - True - 1 + 1 - "" False + True 2 + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" "2D" - "pixel_snap" - True + "ofs" + -301.424, -450.503 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 0.54036 - "ofs" - -301.424, 3.30361 "3D" - "zfar" - 500 + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 "viewports" "distance" 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "x_rot" 0 "y_rot" 0 - "use_orthogonal" - False - "use_environment" - False - "pos" - 0, 0, 0 "distance" 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False "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 + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" @@ -382,12 +397,9 @@ "run_mode" 0 - "__editor_plugin_screen__" - "2D" 40 - - 1, 1, 1, 1 + 800 1600 450 @@ -400,38 +412,36 @@ "scroll" 194 456 - + 0.1 212 - + 0.2 412, 171 - 1, 1 8 345 369 494 443 - - - 658 + + + 658 417 776 434 - + "(c) 1994 SOGA" + 1 0 - -1 - + -1 "loop" + "intro" - "nodes" - -1, -1, 1, 0, -1, 16, 2, 0, 3, 1, 4, 1, 5, 0, 6, 2, 7, 2, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 13, 0, 14, 5, 15, 5, 16, 1, 17, 6, 0, 0, 0, 1, 18, -1, 15, 2, 0, 3, 1, 4, 1, 5, 0, 19, 7, 20, 7, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 13, 0, 14, 5, 15, 5, 16, 1, 0, 1, 0, 22, 21, -1, 18, 2, 0, 3, 1, 4, 1, 5, 0, 19, 7, 20, 7, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 8, 24, 9, 25, 4, 0, 1, 0, 22, 26, -1, 19, 2, 0, 3, 1, 4, 1, 5, 0, 27, 10, 19, 11, 20, 12, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 8, 24, 9, 25, 4, 0, 1, 0, 29, 28, -1, 8, 30, 2, 31, 13, 32, 14, 33, 15, 34, 0, 35, 16, 36, 17, 37, 18, 0, 0, 0, 1, 38, -1, 15, 2, 0, 3, 1, 4, 1, 5, 0, 19, 7, 20, 7, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 13, 0, 14, 5, 15, 5, 16, 1, 0, 5, 0, 22, 21, -1, 19, 2, 0, 3, 1, 4, 1, 5, 0, 39, 19, 19, 10, 20, 20, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 21, 24, 9, 25, 4, 0, 5, 0, 22, 26, -1, 20, 2, 0, 3, 1, 4, 1, 5, 0, 27, 10, 39, 19, 19, 11, 20, 20, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 21, 24, 9, 25, 4, 0, 5, 0, 29, 28, -1, 8, 30, 2, 31, 13, 32, 14, 33, 15, 34, 0, 35, 22, 36, 17, 37, 18, 0, 0, 0, 1, 40, -1, 15, 2, 0, 3, 1, 4, 1, 5, 0, 19, 7, 20, 7, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 13, 0, 14, 5, 15, 5, 16, 1, 0, 9, 0, 22, 21, -1, 19, 2, 0, 3, 1, 4, 1, 5, 0, 39, 23, 19, 10, 20, 20, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 24, 24, 9, 25, 4, 0, 9, 0, 22, 26, -1, 20, 2, 0, 3, 1, 4, 1, 5, 0, 27, 10, 39, 23, 19, 11, 20, 20, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 15, 5, 16, 1, 23, 24, 24, 9, 25, 4, 0, 9, 0, 29, 28, -1, 8, 30, 2, 31, 13, 32, 14, 33, 15, 34, 0, 35, 25, 36, 17, 37, 18, 0, 0, 0, 42, 41, -1, 13, 2, 0, 3, 1, 4, 1, 5, 0, 43, 26, 44, 13, 45, 27, 46, 28, 47, 29, 48, 0, 49, 4, 50, 4, 24, 9, 0, 0, 0, 52, 51, -1, 26, 2, 0, 3, 1, 4, 1, 5, 0, 27, 30, 39, 31, 19, 32, 20, 33, 8, 3, 9, 3, 10, 3, 11, 3, 12, 4, 13, 0, 14, 5, 15, 5, 16, 1, 53, 4, 54, 4, 55, 4, 56, 34, 57, 35, 58, 36, 59, 36, 60, 36, 61, 36, 0, 0, 0, 63, 62, -1, 29, 2, 0, 3, 1, 4, 1, 5, 0, 27, 37, 39, 38, 19, 39, 20, 40, 8, 3, 9, 3, 10, 3, 11, 3, 12, 0, 13, 0, 14, 5, 16, 1, 64, 41, 65, 13, 66, 1, 67, 1, 68, 1, 69, 13, 70, 4, 71, 4, 72, 42, 73, 43, 74, 43, 75, 4, 76, 44, 0, 0, 0, 29, 77, -1, 10, 30, 2, 31, 13, 32, 14, 78, 45, 79, 46, 80, 47, 34, 0, 35, 1, 36, 17, 37, 48, 0 - "conns" - + "version" + 2 diff --git a/demos/2d/sprite_shaders/sprite_shaders.scn b/demos/2d/sprite_shaders/sprite_shaders.scn index 7c36f2137c..b6060f8eaa 100644 Binary files a/demos/2d/sprite_shaders/sprite_shaders.scn and b/demos/2d/sprite_shaders/sprite_shaders.scn differ diff --git a/demos/2d/tetris/grid.xml b/demos/2d/tetris/grid.xml index 072ffb5e75..49ad4ccc41 100644 --- a/demos/2d/tetris/grid.xml +++ b/demos/2d/tetris/grid.xml @@ -1,153 +1,209 @@ - - + + - "" - + + "conn_count" + 1 + "conns" + 1, 0, 30, 29, 2, 0 + "editable_instances" + + "names" - + "Grid" - "Control" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "anchor/left" - "anchor/top" - "anchor/right" - "anchor/bottom" - "margin/left" - "margin/top" "margin/right" "margin/bottom" - "hint/tooltip" - "focus_neighbour/left" - "focus_neighbour/top" - "focus_neighbour/right" - "focus_neighbour/bottom" "focus/ignore_mouse" "focus/stop_mouse" "size_flags/horizontal" "size_flags/vertical" - "size_flags/stretch_ratio" "script/script" "__meta__" + "Control" "timer" - "Timer" + "process_mode" "wait_time" "one_shot" "autostart" + "Timer" "gameover" - "Label" + "anchor/right" + "anchor/bottom" "custom_colors/font_color" + "custom_colors/font_color_shadow" "custom_constants/shadow_offset_x" "custom_constants/shadow_offset_y" - "range/min" - "range/max" - "range/step" - "range/page" - "range/value" - "range/exp_edit" - "rounded_values" - "text" "align" "valign" - "autowrap" + "percent_visible" + "lines_skipped" + "max_lines_visible" + "Label" "piece_move_down" "timeout" - "version" - 1 - "conn_count" - 1 "node_count" 3 + "node_paths" + + + "nodes" + -1, -1, 9, 0, -1, 8, 1, 0, 2, 0, 3, 1, 4, 2, 5, 3, 6, 3, 7, 4, 8, 5, 0, 0, 0, 15, 10, -1, 4, 11, 6, 12, 7, 13, 1, 14, 1, 0, 0, 0, 28, 16, -1, 14, 17, 6, 18, 6, 3, 2, 4, 2, 5, 3, 19, 8, 20, 9, 21, 6, 22, 6, 23, 6, 24, 6, 25, 7, 26, 10, 27, 11, 0 "variants" - + + 40 False - 0 True - 1 - 0 - 40 - "" - "" 2 - - + + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - - "Script" - - "current" - 0 - "sources" - - "res://grid.gd" - - + "2D" - + + "ofs" + -229.129, -80 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 1 - "ofs" - -69, -22 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "Script" - 1 + 1 + 1 + 1, 1, 1, 1 0, 0, 0, 1 + 0 + -1 - "nodes" - -1, -1, 1, 0, -1, 32, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 1, 17, 1, 18, 4, 19, 4, 20, 5, 21, 5, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 0, 28, 2, 29, 8, 30, 8, 31, 3, 32, 9, 33, 10, 0, 0, 0, 35, 34, -1, 9, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 36, 3, 37, 0, 38, 0, 32, 11, 0, 0, 0, 40, 39, -1, 45, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 12, 17, 12, 18, 4, 19, 4, 20, 4, 21, 4, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 2, 28, 2, 29, 8, 30, 1, 31, 3, 41, 13, 42, 12, 43, 12, 44, 4, 45, 3, 46, 3, 47, 3, 48, 4, 49, 0, 50, 0, 51, 6, 52, 12, 53, 12, 54, 0, 32, 11, 0 - "conns" - 1, 0, 56, 55, 2, 0 + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/tetris/tetris.xml b/demos/2d/tetris/tetris.xml index 1b5e5afeb0..a8e47a8ae4 100644 --- a/demos/2d/tetris/tetris.xml +++ b/demos/2d/tetris/tetris.xml @@ -1,147 +1,192 @@ - - + + - "" - + + "conn_count" + 1 + "conns" + 4, 1, 23, 22, 2, 0 + "editable_instances" + + "names" - + "Tetris" - "Panel" - "process/process" - "process/fixed_process" - "process/input" - "process/unhandled_input" - "process/mode" - "visibility/visible" - "visibility/toplevel" - "visibility/opacity" - "visibility/self_opacity" - "visibility/on_top" - "visibility/blend_mode" - "transform/notify" - "anchor/left" - "anchor/top" - "anchor/right" - "anchor/bottom" - "margin/left" - "margin/top" "margin/right" "margin/bottom" - "hint/tooltip" - "focus_neighbour/left" - "focus_neighbour/top" - "focus_neighbour/right" - "focus_neighbour/bottom" "focus/ignore_mouse" "focus/stop_mouse" "size_flags/horizontal" "size_flags/vertical" - "size_flags/stretch_ratio" - "script/script" "__meta__" + "Panel" "Grid" - "Control" + "margin/left" + "margin/top" "Label" - "range/min" - "range/max" - "range/step" - "range/page" - "range/value" - "range/exp_edit" - "rounded_values" "text" - "align" - "valign" - "autowrap" + "percent_visible" + "lines_skipped" + "max_lines_visible" "score" "restart" - "Button" - "disabled" "toggle_mode" - "click_on_press" - "icon" "flat" - "clip_text" + "Button" "restart_pressed" "pressed" - "version" - 1 - "conn_count" - 1 "node_count" 5 + "node_paths" + + + "nodes" + -1, -1, 8, 0, -1, 7, 1, 0, 2, 0, 3, 1, 4, 2, 5, 3, 6, 3, 7, 4, 0, 0, 0, 2147483647, 9, 5, 4, 10, 6, 11, 7, 1, 8, 2, 9, 0, 0, 0, 12, 12, -1, 11, 10, 10, 11, 11, 1, 12, 2, 13, 3, 2, 4, 2, 5, 3, 13, 14, 14, 15, 15, 16, 16, 17, 0, 0, 0, 12, 17, -1, 11, 10, 18, 11, 19, 1, 20, 2, 21, 3, 2, 4, 2, 5, 3, 13, 22, 14, 15, 15, 16, 16, 17, 0, 0, 0, 21, 18, -1, 11, 10, 10, 11, 23, 1, 24, 2, 25, 3, 1, 4, 2, 5, 3, 6, 3, 19, 1, 13, 26, 20, 1, 0 "variants" - + + 400 False - 0 True - 1 - 0 - 400 - "" - "" 2 - + + "__editor_plugin_screen__" + "2D" "__editor_plugin_states__" - - "Script" - - "current" - 0 - "sources" - - "res://grid.gd" - - + "2D" - + + "ofs" + -229.129, -54.344 + "snap_grid" + False + "snap_offset" + 0, 0 + "snap_pixel" + False + "snap_relative" + False + "snap_rotation" + False + "snap_rotation_offset" + 0 + "snap_rotation_step" + 0.261799 + "snap_show_grid" + False + "snap_step" + 10, 10 "zoom" 1.360374 - "ofs" - -44.5757, -54.344 "3D" - - "zfar" - 500 + + "ambient_light_color" + 0.15, 0.15, 0.15, 1 + "default_light" + True + "default_srgb" + False + "deflight_rot_x" + 0.942478 + "deflight_rot_y" + 0.628319 "fov" 45 - "window_mode" - 0 - "window_0" - - "distance" - 4 - "default_light" - True - "x_rot" - 0.337 - "y_rot" - -0.575 - "show_grid" - True - "show_origin" - True - "pos" - 0, 0, 0 - + "show_grid" + True + "show_origin" + True + "viewport_mode" + 1 + "viewports" + + + "distance" + 4 + "listener" + True + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "distance" + 4 + "listener" + False + "pos" + 0, 0, 0 + "use_environment" + False + "use_orthogonal" + False + "x_rot" + 0 + "y_rot" + 0 + + + "zfar" + 500 "znear" 0.1 + "Anim" + + "visible" + False + "__editor_run_settings__" - + "custom_args" "-l $scene" "run_mode" 0 - "__editor_plugin_screen__" - "2D" - + 40 35 80 @@ -151,6 +196,9 @@ 283 49 "Score:" + 1 + 0 + -1 252 55 293 @@ -161,11 +209,9 @@ 311 "Restart" - "nodes" - -1, -1, 1, 0, -1, 32, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 1, 17, 1, 18, 4, 19, 4, 20, 5, 21, 5, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 0, 28, 2, 29, 8, 30, 8, 31, 3, 32, 9, 33, 10, 0, 0, 0, 35, 34, 11, 4, 18, 12, 19, 13, 20, 14, 21, 15, 0, 0, 0, 36, 36, -1, 42, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 1, 17, 1, 18, 16, 19, 17, 20, 18, 21, 19, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 2, 28, 2, 29, 8, 30, 1, 31, 3, 37, 4, 38, 3, 39, 3, 40, 3, 41, 4, 42, 0, 43, 0, 44, 20, 45, 1, 46, 1, 47, 0, 32, 9, 0, 0, 0, 36, 48, -1, 42, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 1, 17, 1, 18, 21, 19, 22, 20, 23, 21, 24, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 2, 28, 2, 29, 8, 30, 1, 31, 3, 37, 4, 38, 3, 39, 3, 40, 3, 41, 4, 42, 0, 43, 0, 44, 25, 45, 1, 46, 1, 47, 0, 32, 9, 0, 0, 0, 50, 49, -1, 38, 2, 0, 3, 0, 4, 0, 5, 0, 6, 1, 7, 2, 8, 0, 9, 3, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 15, 1, 16, 1, 17, 1, 18, 16, 19, 26, 20, 27, 21, 28, 22, 6, 23, 7, 24, 7, 25, 7, 26, 7, 27, 0, 28, 2, 29, 8, 30, 8, 31, 3, 51, 0, 52, 0, 53, 0, 44, 29, 54, 9, 55, 0, 56, 0, 32, 9, 0 - "conns" - 4, 1, 58, 57, 2, 0 + "version" + 2 - + \ No newline at end of file diff --git a/demos/2d/texscreen/bubbles.scn b/demos/2d/texscreen/bubbles.scn index 41026aceed..8509b3811c 100644 Binary files a/demos/2d/texscreen/bubbles.scn and b/demos/2d/texscreen/bubbles.scn differ diff --git a/demos/2d/texscreen/lens.scn b/demos/2d/texscreen/lens.scn index 5c6f8b7af8..530a0b1eb0 100644 Binary files a/demos/2d/texscreen/lens.scn and b/demos/2d/texscreen/lens.scn differ -- cgit v1.2.3