summaryrefslogtreecommitdiff
path: root/demos/2d/platformer/enemy.xml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/platformer/enemy.xml')
-rw-r--r--demos/2d/platformer/enemy.xml494
1 files changed, 0 insertions, 494 deletions
diff --git a/demos/2d/platformer/enemy.xml b/demos/2d/platformer/enemy.xml
deleted file mode 100644
index 72d2ff068e..0000000000
--- a/demos/2d/platformer/enemy.xml
+++ /dev/null
@@ -1,494 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<resource_file type="PackedScene" subresource_count="12" version="2.0" version_name="Godot Engine v2.0.alpha.custom_build">
- <ext_resource path="res://bullet.png" type="Texture" index="2"></ext_resource>
- <ext_resource path="res://enemy.gd" type="Script" index="0"></ext_resource>
- <ext_resource path="res://sound_explode.wav" type="Sample" index="3"></ext_resource>
- <ext_resource path="res://sound_hit.wav" type="Sample" index="4"></ext_resource>
- <ext_resource path="res://enemy.png" type="Texture" index="1"></ext_resource>
- <resource type="CircleShape2D" path="local://1">
- <real name="custom_solver_bias"> 0 </real>
- <real name="radius"> 14 </real>
-
- </resource>
- <resource type="Animation" path="local://2">
- <string name="resource/name"> "idle" </string>
- <real name="length"> 6.75 </real>
- <bool name="loop"> True </bool>
- <real name="step"> 0.25 </real>
- <string name="tracks/0/type"> "value" </string>
- <node_path name="tracks/0/path"> "sprite:frame" </node_path>
- <int name="tracks/0/interp"> 1 </int>
- <dictionary name="tracks/0/keys" shared="false">
- <string> "cont" </string>
- <bool> False </bool>
- <string> "times" </string>
- <real_array len="10"> 0, 0.75, 1.5, 2.25, 3, 3.75, 4.5, 5.25, 6, 6.75 </real_array>
- <string> "transitions" </string>
- <real_array len="10"> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 </real_array>
- <string> "values" </string>
- <array len="10" shared="false">
- <int> 5 </int>
- <int> 6 </int>
- <int> 5 </int>
- <int> 6 </int>
- <int> 5 </int>
- <int> 6 </int>
- <int> 7 </int>
- <int> 6 </int>
- <int> 7 </int>
- <int> 5 </int>
- </array>
- </dictionary>
-
- </resource>
- <resource type="Animation" path="local://3">
- <string name="resource/name"> "explode" </string>
- <real name="length"> 6 </real>
- <bool name="loop"> False </bool>
- <real name="step"> 0 </real>
- <string name="tracks/0/type"> "value" </string>
- <node_path name="tracks/0/path"> "sprite:visibility/self_opacity" </node_path>
- <int name="tracks/0/interp"> 1 </int>
- <dictionary name="tracks/0/keys" shared="false">
- <string> "cont" </string>
- <bool> True </bool>
- <string> "times" </string>
- <real_array len="2"> 3.58422, 4.33851 </real_array>
- <string> "transitions" </string>
- <real_array len="2"> 1, 1 </real_array>
- <string> "values" </string>
- <array len="2" shared="false">
- <real> 1 </real>
- <real> 0 </real>
- </array>
- </dictionary>
- <string name="tracks/1/type"> "value" </string>
- <node_path name="tracks/1/path"> "sprite:frame" </node_path>
- <int name="tracks/1/interp"> 1 </int>
- <dictionary name="tracks/1/keys" shared="false">
- <string> "cont" </string>
- <bool> True </bool>
- <string> "times" </string>
- <real_array len="1"> 0 </real_array>
- <string> "transitions" </string>
- <real_array len="1"> 1 </real_array>
- <string> "values" </string>
- <array len="1" shared="false">
- <int> 4 </int>
- </array>
- </dictionary>
- <string name="tracks/2/type"> "value" </string>
- <node_path name="tracks/2/path"> "Particles2D:config/emitting" </node_path>
- <int name="tracks/2/interp"> 1 </int>
- <dictionary name="tracks/2/keys" shared="false">
- <string> "cont" </string>
- <bool> False </bool>
- <string> "times" </string>
- <real_array len="1"> 3.47394 </real_array>
- <string> "transitions" </string>
- <real_array len="1"> 1 </real_array>
- <string> "values" </string>
- <array len="1" shared="false">
- <bool> True </bool>
- </array>
- </dictionary>
- <string name="tracks/3/type"> "method" </string>
- <node_path name="tracks/3/path"> "." </node_path>
- <int name="tracks/3/interp"> 1 </int>
- <dictionary name="tracks/3/keys" shared="false">
- <string> "times" </string>
- <real_array len="2"> 3.20357, 5.07305 </real_array>
- <string> "transitions" </string>
- <real_array len="2"> 1, 1 </real_array>
- <string> "values" </string>
- <array len="2" shared="false">
- <dictionary shared="false">
- <string> "args" </string>
- <array len="0" shared="false">
- </array>
- <string> "method" </string>
- <string> "_pre_explode" </string>
- </dictionary>
- <dictionary shared="false">
- <string> "args" </string>
- <array len="0" shared="false">
- </array>
- <string> "method" </string>
- <string> "_die" </string>
- </dictionary>
- </array>
- </dictionary>
-
- </resource>
- <resource type="Animation" path="local://4">
- <string name="resource/name"> "walk" </string>
- <real name="length"> 1.25 </real>
- <bool name="loop"> True </bool>
- <real name="step"> 0.25 </real>
- <string name="tracks/0/type"> "value" </string>
- <node_path name="tracks/0/path"> "sprite:frame" </node_path>
- <int name="tracks/0/interp"> 1 </int>
- <dictionary name="tracks/0/keys" shared="false">
- <string> "cont" </string>
- <bool> False </bool>
- <string> "times" </string>
- <real_array len="6"> 0, 0.25, 0.5, 0.75, 1, 1.25 </real_array>
- <string> "transitions" </string>
- <real_array len="6"> 1, 1, 1, 1, 1, 1 </real_array>
- <string> "values" </string>
- <array len="6" shared="false">
- <int> 0 </int>
- <int> 1 </int>
- <int> 2 </int>
- <int> 3 </int>
- <int> 4 </int>
- <int> 0 </int>
- </array>
- </dictionary>
-
- </resource>
- <resource type="ColorRamp" path="local://6">
- <real_array name="offsets" len="2"> 0, 1 </real_array>
- <color_array name="colors" len="2"> 1, 0.884956, 0.823009, 1, 0.768627, 0.389381, 0, 0 </color_array>
-
- </resource>
- <resource type="SampleLibrary" path="local://5">
- <dictionary name="samples/hit" shared="false">
- <string> "db" </string>
- <real> 0 </real>
- <string> "pitch" </string>
- <real> 1 </real>
- <string> "sample" </string>
- <resource external="4"> </resource>
- </dictionary>
- <dictionary name="samples/explode" shared="false">
- <string> "db" </string>
- <real> 0 </real>
- <string> "pitch" </string>
- <real> 1 </real>
- <string> "sample" </string>
- <resource external="3"> </resource>
- </dictionary>
-
- </resource>
- <main_resource>
- <dictionary name="_bundled" shared="false">
- <string> "conn_count" </string>
- <int> 0 </int>
- <string> "conns" </string>
- <int_array len="0"> </int_array>
- <string> "editable_instances" </string>
- <array len="0" shared="false">
- </array>
- <string> "names" </string>
- <string_array len="108">
- <string> "enemy" </string>
- <string> "input/pickable" </string>
- <string> "shapes/0/shape" </string>
- <string> "shapes/0/transform" </string>
- <string> "shapes/0/trigger" </string>
- <string> "shapes/1/shape" </string>
- <string> "shapes/1/transform" </string>
- <string> "shapes/1/trigger" </string>
- <string> "shapes/2/shape" </string>
- <string> "shapes/2/transform" </string>
- <string> "shapes/2/trigger" </string>
- <string> "collision/layers" </string>
- <string> "collision/mask" </string>
- <string> "mode" </string>
- <string> "mass" </string>
- <string> "friction" </string>
- <string> "bounce" </string>
- <string> "gravity_scale" </string>
- <string> "custom_integrator" </string>
- <string> "continuous_cd" </string>
- <string> "contacts_reported" </string>
- <string> "contact_monitor" </string>
- <string> "sleeping" </string>
- <string> "can_sleep" </string>
- <string> "velocity/linear" </string>
- <string> "velocity/angular" </string>
- <string> "damp_override/linear" </string>
- <string> "damp_override/angular" </string>
- <string> "script/script" </string>
- <string> "__meta__" </string>
- <string> "RigidBody2D" </string>
- <string> "enabler" </string>
- <string> "transform/pos" </string>
- <string> "transform/scale" </string>
- <string> "rect" </string>
- <string> "enabler/pause_animations" </string>
- <string> "enabler/freeze_bodies" </string>
- <string> "enabler/pause_particles" </string>
- <string> "enabler/process_parent" </string>
- <string> "enabler/fixed_process_parent" </string>
- <string> "VisibilityEnabler2D" </string>
- <string> "anim" </string>
- <string> "playback/process_mode" </string>
- <string> "playback/default_blend_time" </string>
- <string> "root/root" </string>
- <string> "anims/idle" </string>
- <string> "anims/explode" </string>
- <string> "anims/walk" </string>
- <string> "playback/active" </string>
- <string> "playback/speed" </string>
- <string> "blend_times" </string>
- <string> "autoplay" </string>
- <string> "AnimationPlayer" </string>
- <string> "sprite" </string>
- <string> "texture" </string>
- <string> "hframes" </string>
- <string> "frame" </string>
- <string> "Sprite" </string>
- <string> "CollisionShape2D" </string>
- <string> "shape" </string>
- <string> "trigger" </string>
- <string> "_update_shape_index" </string>
- <string> "CollisionShape2D 2" </string>
- <string> "CollisionShape2D 3" </string>
- <string> "raycast_left" </string>
- <string> "enabled" </string>
- <string> "cast_to" </string>
- <string> "layer_mask" </string>
- <string> "type_mask" </string>
- <string> "RayCast2D" </string>
- <string> "raycast_right" </string>
- <string> "Particles2D" </string>
- <string> "visibility/self_opacity" </string>
- <string> "visibility/blend_mode" </string>
- <string> "config/amount" </string>
- <string> "config/lifetime" </string>
- <string> "config/emit_timeout" </string>
- <string> "config/emitting" </string>
- <string> "config/explosiveness" </string>
- <string> "config/texture" </string>
- <string> "params/direction" </string>
- <string> "params/spread" </string>
- <string> "params/linear_velocity" </string>
- <string> "params/spin_velocity" </string>
- <string> "params/orbit_velocity" </string>
- <string> "params/gravity_direction" </string>
- <string> "params/gravity_strength" </string>
- <string> "params/radial_accel" </string>
- <string> "params/tangential_accel" </string>
- <string> "params/damping" </string>
- <string> "params/initial_angle" </string>
- <string> "params/initial_size" </string>
- <string> "params/final_size" </string>
- <string> "params/hue_variation" </string>
- <string> "params/anim_speed_scale" </string>
- <string> "params/anim_initial_pos" </string>
- <string> "randomness/spin_velocity" </string>
- <string> "color/color_ramp" </string>
- <string> "sound" </string>
- <string> "params/volume_db" </string>
- <string> "params/pitch_scale" </string>
- <string> "params/attenuation/min_distance" </string>
- <string> "params/attenuation/max_distance" </string>
- <string> "params/attenuation/distance_exp" </string>
- <string> "config/polyphony" </string>
- <string> "config/samples" </string>
- <string> "config/pitch_random" </string>
- <string> "SamplePlayer2D" </string>
- </string_array>
- <string> "node_count" </string>
- <int> 11 </int>
- <string> "node_paths" </string>
- <array len="0" shared="false">
- </array>
- <string> "nodes" </string>
- <int_array len="289"> -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 </int_array>
- <string> "variants" </string>
- <array len="49" shared="false">
- <bool> False </bool>
- <resource resource_type="Shape2D" path="local://1"> </resource>
- <matrix32> 1, -0, 0, 1, -1.08072, -2.16144 </matrix32>
- <matrix32> 1, -0, 0, 1, 6.48431, 3.24216 </matrix32>
- <matrix32> 1, -0, 0, 1, -12.495, 3.53415 </matrix32>
- <int> 1 </int>
- <int> 2 </int>
- <real> 1 </real>
- <real> 0 </real>
- <int> 0 </int>
- <int> 4 </int>
- <bool> True </bool>
- <vector2> 0, 0 </vector2>
- <real> -1 </real>
- <resource external="0"> </resource>
- <dictionary shared="false">
- <string> "__editor_plugin_screen__" </string>
- <string> "2D" </string>
- <string> "__editor_plugin_states__" </string>
- <dictionary shared="false">
- <string> "2D" </string>
- <dictionary shared="false">
- <string> "ofs" </string>
- <vector2> -227.625, -197.9 </vector2>
- <string> "snap_grid" </string>
- <bool> False </bool>
- <string> "snap_offset" </string>
- <vector2> 0, 0 </vector2>
- <string> "snap_pixel" </string>
- <bool> False </bool>
- <string> "snap_relative" </string>
- <bool> False </bool>
- <string> "snap_rotation" </string>
- <bool> False </bool>
- <string> "snap_rotation_offset" </string>
- <real> 0 </real>
- <string> "snap_rotation_step" </string>
- <real> 0.261799 </real>
- <string> "snap_show_grid" </string>
- <bool> False </bool>
- <string> "snap_step" </string>
- <vector2> 10, 10 </vector2>
- <string> "zoom" </string>
- <real> 1.108033 </real>
- </dictionary>
- <string> "3D" </string>
- <dictionary shared="false">
- <string> "ambient_light_color" </string>
- <color> 0.15, 0.15, 0.15, 1 </color>
- <string> "default_light" </string>
- <bool> True </bool>
- <string> "default_srgb" </string>
- <bool> False </bool>
- <string> "deflight_rot_x" </string>
- <real> 0.942478 </real>
- <string> "deflight_rot_y" </string>
- <real> 0.628319 </real>
- <string> "fov" </string>
- <real> 45 </real>
- <string> "show_grid" </string>
- <bool> True </bool>
- <string> "show_origin" </string>
- <bool> True </bool>
- <string> "viewport_mode" </string>
- <int> 1 </int>
- <string> "viewports" </string>
- <array len="4" shared="false">
- <dictionary shared="false">
- <string> "distance" </string>
- <real> 4 </real>
- <string> "listener" </string>
- <bool> True </bool>
- <string> "pos" </string>
- <vector3> 0, 0, 0 </vector3>
- <string> "use_environment" </string>
- <bool> False </bool>
- <string> "use_orthogonal" </string>
- <bool> False </bool>
- <string> "x_rot" </string>
- <real> 0 </real>
- <string> "y_rot" </string>
- <real> 0 </real>
- </dictionary>
- <dictionary shared="false">
- <string> "distance" </string>
- <real> 4 </real>
- <string> "listener" </string>
- <bool> False </bool>
- <string> "pos" </string>
- <vector3> 0, 0, 0 </vector3>
- <string> "use_environment" </string>
- <bool> False </bool>
- <string> "use_orthogonal" </string>
- <bool> False </bool>
- <string> "x_rot" </string>
- <real> 0 </real>
- <string> "y_rot" </string>
- <real> 0 </real>
- </dictionary>
- <dictionary shared="false">
- <string> "distance" </string>
- <real> 4 </real>
- <string> "listener" </string>
- <bool> False </bool>
- <string> "pos" </string>
- <vector3> 0, 0, 0 </vector3>
- <string> "use_environment" </string>
- <bool> False </bool>
- <string> "use_orthogonal" </string>
- <bool> False </bool>
- <string> "x_rot" </string>
- <real> 0 </real>
- <string> "y_rot" </string>
- <real> 0 </real>
- </dictionary>
- <dictionary shared="false">
- <string> "distance" </string>
- <real> 4 </real>
- <string> "listener" </string>
- <bool> False </bool>
- <string> "pos" </string>
- <vector3> 0, 0, 0 </vector3>
- <string> "use_environment" </string>
- <bool> False </bool>
- <string> "use_orthogonal" </string>
- <bool> False </bool>
- <string> "x_rot" </string>
- <real> 0 </real>
- <string> "y_rot" </string>
- <real> 0 </real>
- </dictionary>
- </array>
- <string> "zfar" </string>
- <real> 500 </real>
- <string> "znear" </string>
- <real> 0.1 </real>
- </dictionary>
- <string> "Anim" </string>
- <dictionary shared="false">
- <string> "visible" </string>
- <bool> False </bool>
- </dictionary>
- </dictionary>
- <string> "__editor_run_settings__" </string>
- <dictionary shared="false">
- <string> "custom_args" </string>
- <string> "-l $scene" </string>
- <string> "run_mode" </string>
- <int> 0 </int>
- </dictionary>
- </dictionary>
- <vector2> 16.2569, 11.0034 </vector2>
- <vector2> 23.5056, 10.8629 </vector2>
- <rect2> -10, -10, 20, 20 </rect2>
- <node_path> ".." </node_path>
- <resource resource_type="Animation" path="local://2"> </resource>
- <resource resource_type="Animation" path="local://3"> </resource>
- <resource resource_type="Animation" path="local://4"> </resource>
- <real> 3 </real>
- <array len="0" shared="false">
- </array>
- <string> "" </string>
- <resource external="1"> </resource>
- <int> 8 </int>
- <vector2> -1.08072, -2.16144 </vector2>
- <int> -1 </int>
- <vector2> 6.48431, 3.24216 </vector2>
- <vector2> -12.495, 3.53415 </vector2>
- <vector2> -33.2868, -9.34363 </vector2>
- <vector2> 0, 45 </vector2>
- <int> 15 </int>
- <vector2> 29.1987, -9.34363 </vector2>
- <real> 0.121212 </real>
- <int> 32 </int>
- <real> 0.5 </real>
- <real> 0.1 </real>
- <resource external="2"> </resource>
- <real> 180 </real>
- <real> 90 </real>
- <real> 2 </real>
- <real> 9.8 </real>
- <resource resource_type="ColorRamp" path="local://6"> </resource>
- <real> 2048 </real>
- <int> 3 </int>
- <resource resource_type="SampleLibrary" path="local://5"> </resource>
- </array>
- <string> "version" </string>
- <int> 2 </int>
- </dictionary>
-
- </main_resource>
-</resource_file> \ No newline at end of file