summaryrefslogtreecommitdiff
path: root/demos/2d/platformer/coin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/platformer/coin.xml')
-rw-r--r--demos/2d/platformer/coin.xml437
1 files changed, 437 insertions, 0 deletions
diff --git a/demos/2d/platformer/coin.xml b/demos/2d/platformer/coin.xml
new file mode 100644
index 0000000000..194ea711b0
--- /dev/null
+++ b/demos/2d/platformer/coin.xml
@@ -0,0 +1,437 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<resource_file type="PackedScene" subresource_count="9" version="1.0" version_name="Godot Engine v1.0.3917-beta1">
+ <ext_resource path="res://bullet.*" type="Texture"></ext_resource>
+ <ext_resource path="res://coin.*" type="Texture"></ext_resource>
+ <ext_resource path="res://sound_coin.*" type="Sample"></ext_resource>
+ <ext_resource path="res://coin.*" type="Script"></ext_resource>
+ <resource type="CircleShape2D" path="local://1">
+ <real name="custom_solver_bias"> 0 </real>
+ <real name="radius"> 10 </real>
+
+ </resource>
+ <resource type="Animation" path="local://2">
+ <string name="resource/name"> "taken" </string>
+ <real name="length"> 8 </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:frame" </node_path>
+ <int name="tracks/0/interp"> 1 </int>
+ <dictionary name="tracks/0/keys" shared="false">
+ <string> "cont" </string>
+ <bool> True </bool>
+ <string> "transitions" </string>
+ <real_array len="1"> 1 </real_array>
+ <string> "values" </string>
+ <array len="1" shared="false">
+ <int> 0 </int>
+ </array>
+ <string> "times" </string>
+ <real_array len="1"> 0 </real_array>
+ </dictionary>
+ <string name="tracks/1/type"> "value" </string>
+ <node_path name="tracks/1/path"> "sound:play/play" </node_path>
+ <int name="tracks/1/interp"> 1 </int>
+ <dictionary name="tracks/1/keys" shared="false">
+ <string> "cont" </string>
+ <bool> False </bool>
+ <string> "transitions" </string>
+ <real_array len="1"> 1 </real_array>
+ <string> "values" </string>
+ <array len="1" shared="false">
+ <string> "coin" </string>
+ </array>
+ <string> "times" </string>
+ <real_array len="1"> 0 </real_array>
+ </dictionary>
+ <string name="tracks/2/type"> "value" </string>
+ <node_path name="tracks/2/path"> "particles:visibility/self_opacity" </node_path>
+ <int name="tracks/2/interp"> 1 </int>
+ <dictionary name="tracks/2/keys" shared="false">
+ <string> "cont" </string>
+ <bool> True </bool>
+ <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>
+ <string> "times" </string>
+ <real_array len="2"> 0, 1.66 </real_array>
+ </dictionary>
+ <string name="tracks/3/type"> "value" </string>
+ <node_path name="tracks/3/path"> "sprite:visibility/self_opacity" </node_path>
+ <int name="tracks/3/interp"> 1 </int>
+ <dictionary name="tracks/3/keys" shared="false">
+ <string> "cont" </string>
+ <bool> True </bool>
+ <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>
+ <string> "times" </string>
+ <real_array len="2"> 0, 0.4 </real_array>
+ </dictionary>
+ <string name="tracks/4/type"> "value" </string>
+ <node_path name="tracks/4/path"> "particles:config/emitting" </node_path>
+ <int name="tracks/4/interp"> 1 </int>
+ <dictionary name="tracks/4/keys" shared="false">
+ <string> "cont" </string>
+ <bool> False </bool>
+ <string> "transitions" </string>
+ <real_array len="1"> 1 </real_array>
+ <string> "values" </string>
+ <array len="1" shared="false">
+ <bool> True </bool>
+ </array>
+ <string> "times" </string>
+ <real_array len="1"> 0 </real_array>
+ </dictionary>
+ <string name="tracks/5/type"> "method" </string>
+ <node_path name="tracks/5/path"> "." </node_path>
+ <int name="tracks/5/interp"> 1 </int>
+ <dictionary name="tracks/5/keys" shared="false">
+ <string> "transitions" </string>
+ <real_array len="1"> 1 </real_array>
+ <string> "values" </string>
+ <array len="1" shared="false">
+ <dictionary shared="false">
+ <string> "args" </string>
+ <array len="0" shared="false">
+ </array>
+ <string> "method" </string>
+ <string> "queue_free" </string>
+ </dictionary>
+ </array>
+ <string> "times" </string>
+ <real_array len="1"> 2.7 </real_array>
+ </dictionary>
+
+ </resource>
+ <resource type="Animation" path="local://3">
+ <string name="resource/name"> "spin" </string>
+ <real name="length"> 1.5 </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> "transitions" </string>
+ <real_array len="7"> 1, 1, 1, 1, 1, 1, 1 </real_array>
+ <string> "values" </string>
+ <array len="7" shared="false">
+ <int> 0 </int>
+ <int> 1 </int>
+ <int> 2 </int>
+ <int> 3 </int>
+ <int> 2 </int>
+ <int> 1 </int>
+ <int> 0 </int>
+ </array>
+ <string> "times" </string>
+ <real_array len="7"> 0, 0.25, 0.5, 0.75, 1, 1.25, 1.5 </real_array>
+ </dictionary>
+
+ </resource>
+ <resource type="SampleLibrary" path="local://4">
+ <dictionary name="samples/coin" shared="false">
+ <string> "db" </string>
+ <real> 0 </real>
+ <string> "pitch" </string>
+ <real> 1 </real>
+ <string> "sample" </string>
+ <resource resource_type="Sample" path="res://sound_coin.*"> </resource>
+ </dictionary>
+
+ </resource>
+ <main_resource>
+ <dictionary name="_bundled" shared="false">
+ <string> "names" </string>
+ <string_array len="115">
+ <string> "coin" </string>
+ <string> "Area2D" </string>
+ <string> "visibility/visible" </string>
+ <string> "visibility/opacity" </string>
+ <string> "visibility/self_opacity" </string>
+ <string> "visibility/on_top" </string>
+ <string> "transform/pos" </string>
+ <string> "transform/rot" </string>
+ <string> "transform/scale" </string>
+ <string> "shape_count" </string>
+ <string> "shapes/0/shape" </string>
+ <string> "shapes/0/transform" </string>
+ <string> "shapes/0/trigger" </string>
+ <string> "gravity_point" </string>
+ <string> "gravity_vec" </string>
+ <string> "gravity" </string>
+ <string> "density" </string>
+ <string> "monitoring" </string>
+ <string> "script/script" </string>
+ <string> "__meta__" </string>
+ <string> "sprite" </string>
+ <string> "Sprite" </string>
+ <string> "texture" </string>
+ <string> "centered" </string>
+ <string> "offset" </string>
+ <string> "flip_h" </string>
+ <string> "flip_v" </string>
+ <string> "vframes" </string>
+ <string> "hframes" </string>
+ <string> "frame" </string>
+ <string> "modulate" </string>
+ <string> "region" </string>
+ <string> "region_rect" </string>
+ <string> "anim" </string>
+ <string> "AnimationPlayer" </string>
+ <string> "playback/process_mode" </string>
+ <string> "playback/default_blend_time" </string>
+ <string> "root/root" </string>
+ <string> "anims/taken" </string>
+ <string> "anims/spin" </string>
+ <string> "playback/active" </string>
+ <string> "playback/speed" </string>
+ <string> "blend_times" </string>
+ <string> "autoplay" </string>
+ <string> "collision" </string>
+ <string> "CollisionShape2D" </string>
+ <string> "shape" </string>
+ <string> "trigger" </string>
+ <string> "sound" </string>
+ <string> "SamplePlayer2D" </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> "particles" </string>
+ <string> "Particles2D" </string>
+ <string> "visibility/blend_mode" </string>
+ <string> "config/amount" </string>
+ <string> "config/lifetime" </string>
+ <string> "config/time_scale" </string>
+ <string> "config/preprocess" </string>
+ <string> "config/emit_timeout" </string>
+ <string> "config/emitting" </string>
+ <string> "config/offset" </string>
+ <string> "config/half_extents" </string>
+ <string> "config/local_space" </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_size" </string>
+ <string> "params/final_size" </string>
+ <string> "params/hue_variation" </string>
+ <string> "randomness/direction" </string>
+ <string> "randomness/spread" </string>
+ <string> "randomness/linear_velocity" </string>
+ <string> "randomness/spin_velocity" </string>
+ <string> "randomness/orbit_velocity" </string>
+ <string> "randomness/gravity_direction" </string>
+ <string> "randomness/gravity_strength" </string>
+ <string> "randomness/radial_accel" </string>
+ <string> "randomness/tangential_accel" </string>
+ <string> "randomness/damping" </string>
+ <string> "randomness/initial_size" </string>
+ <string> "randomness/final_size" </string>
+ <string> "randomness/hue_variation" </string>
+ <string> "color_phases/count" </string>
+ <string> "phase_0/pos" </string>
+ <string> "phase_0/color" </string>
+ <string> "phase_1/pos" </string>
+ <string> "phase_1/color" </string>
+ <string> "phase_2/pos" </string>
+ <string> "phase_2/color" </string>
+ <string> "phase_3/pos" </string>
+ <string> "phase_3/color" </string>
+ <string> "emission_points" </string>
+ <string> "enabler" </string>
+ <string> "VisibilityEnabler2D" </string>
+ <string> "rect" </string>
+ <string> "enabler/pause_animations" </string>
+ <string> "enabler/freeze_bodies" </string>
+ <string> "_on_body_enter" </string>
+ <string> "body_enter" </string>
+ </string_array>
+ <string> "version" </string>
+ <int> 1 </int>
+ <string> "conn_count" </string>
+ <int> 1 </int>
+ <string> "node_count" </string>
+ <int> 7 </int>
+ <string> "variants" </string>
+ <array len="37" shared="false">
+ <bool> True </bool>
+ <real> 1 </real>
+ <vector2> 0, 0 </vector2>
+ <real> 0 </real>
+ <vector2> 1, 1 </vector2>
+ <int> 1 </int>
+ <resource resource_type="Shape2D" path="local://1"> </resource>
+ <matrix32> 1, 0, 0, 1, 0, 0 </matrix32>
+ <bool> False </bool>
+ <vector2> 0, 1 </vector2>
+ <real> 98 </real>
+ <real> 0.1 </real>
+ <resource resource_type="Script" path="res://coin.*"> </resource>
+ <dictionary shared="false">
+ <string> "__editor_plugin_states__" </string>
+ <dictionary shared="false">
+ <string> "Script" </string>
+ <dictionary shared="false">
+ <string> "current" </string>
+ <int> 2 </int>
+ <string> "sources" </string>
+ <array len="3" shared="false">
+ <string> "res://enemy.gd" </string>
+ <string> "res://player.gd" </string>
+ <string> "res://coin.gd" </string>
+ </array>
+ </dictionary>
+ <string> "2D" </string>
+ <dictionary shared="false">
+ <string> "pixel_snap" </string>
+ <bool> False </bool>
+ <string> "zoom" </string>
+ <real> 3.794776 </real>
+ <string> "ofs" </string>
+ <vector2> -34.3697, -21.6562 </vector2>
+ </dictionary>
+ <string> "3D" </string>
+ <dictionary shared="false">
+ <string> "zfar" </string>
+ <real> 500 </real>
+ <string> "fov" </string>
+ <real> 45 </real>
+ <string> "viewports" </string>
+ <array len="4" shared="false">
+ <dictionary shared="false">
+ <string> "distance" </string>
+ <real> 4 </real>
+ <string> "x_rot" </string>
+ <real> 0 </real>
+ <string> "y_rot" </string>
+ <real> 0 </real>
+ <string> "use_orthogonal" </string>
+ <bool> False </bool>
+ <string> "use_environment" </string>
+ <bool> False </bool>
+ <string> "pos" </string>
+ <vector3> 0, 0, 0 </vector3>
+ </dictionary>
+ <dictionary shared="false">
+ <string> "distance" </string>
+ <real> 4 </real>
+ <string> "x_rot" </string>
+ <real> 0 </real>
+ <string> "y_rot" </string>
+ <real> 0 </real>
+ <string> "use_orthogonal" </string>
+ <bool> False </bool>
+ <string> "use_environment" </string>
+ <bool> False </bool>
+ <string> "pos" </string>
+ <vector3> 0, 0, 0 </vector3>
+ </dictionary>
+ <dictionary shared="false">
+ <string> "distance" </string>
+ <real> 4 </real>
+ <string> "x_rot" </string>
+ <real> 0 </real>
+ <string> "y_rot" </string>
+ <real> 0 </real>
+ <string> "use_orthogonal" </string>
+ <bool> False </bool>
+ <string> "use_environment" </string>
+ <bool> False </bool>
+ <string> "pos" </string>
+ <vector3> 0, 0, 0 </vector3>
+ </dictionary>
+ <dictionary shared="false">
+ <string> "distance" </string>
+ <real> 4 </real>
+ <string> "x_rot" </string>
+ <real> 0 </real>
+ <string> "y_rot" </string>
+ <real> 0 </real>
+ <string> "use_orthogonal" </string>
+ <bool> False </bool>
+ <string> "use_environment" </string>
+ <bool> False </bool>
+ <string> "pos" </string>
+ <vector3> 0, 0, 0 </vector3>
+ </dictionary>
+ </array>
+ <string> "viewport_mode" </string>
+ <int> 1 </int>
+ <string> "default_light" </string>
+ <bool> True </bool>
+ <string> "show_grid" </string>
+ <bool> True </bool>
+ <string> "show_origin" </string>
+ <bool> True </bool>
+ <string> "znear" </string>
+ <real> 0.1 </real>
+ </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>
+ <string> "__editor_plugin_screen__" </string>
+ <string> "2D" </string>
+ </dictionary>
+ <resource resource_type="Texture" path="res://coin.*"> </resource>
+ <int> 4 </int>
+ <int> 0 </int>
+ <color> 1, 1, 1, 1 </color>
+ <rect2> 0, 0, 0, 0 </rect2>
+ <node_path> ".." </node_path>
+ <resource resource_type="Animation" path="local://2"> </resource>
+ <resource resource_type="Animation" path="local://3"> </resource>
+ <real> 3 </real>
+ <array len="0" shared="false">
+ </array>
+ <string> "spin" </string>
+ <real> 2048 </real>
+ <resource resource_type="SampleLibrary" path="local://4"> </resource>
+ <int> 8 </int>
+ <real> 0.4 </real>
+ <vector2> 5, 5 </vector2>
+ <resource resource_type="Texture" path="res://bullet.*"> </resource>
+ <real> 10 </real>
+ <real> 0.2 </real>
+ <int> 2 </int>
+ <color> 0, 0, 0, 1 </color>
+ <vector2_array len="0"> </vector2_array>
+ <rect2> -10, -10, 20, 20 </rect2>
+ </array>
+ <string> "nodes" </string>
+ <int_array len="317"> -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 </int_array>
+ <string> "conns" </string>
+ <int_array len="6"> 0, 0, 114, 113, 2, 0 </int_array>
+ </dictionary>
+
+ </main_resource>
+</resource_file> \ No newline at end of file