Skip to content

Commit

Permalink
Commit for Tutorial 06
Browse files Browse the repository at this point in the history
  • Loading branch information
ndee85 committed Jan 24, 2015
1 parent e721b3f commit 69a379b
Show file tree
Hide file tree
Showing 4 changed files with 378 additions and 124 deletions.
15 changes: 9 additions & 6 deletions project/.fscache
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
::res://::1422079995
icon.png::ImageTexture::1421696246::
level_01.xml::PackedScene::1422079995::
::res://textures::1421696903
blue_square.png::ImageTexture::1421696711::
red_square.png::ImageTexture::1421696676::
::res://::1422094266
icon.png::ImageTexture::1422081463::
level_01.xml::PackedScene::1422026529::
::res://scripts::1422094197
input_states.gd::GDScript::1422094197::
player.gd::GDScript::1422094197::
::res://textures::1422081463
blue_square.png::ImageTexture::1422081463::
red_square.png::ImageTexture::1422081463::
258 changes: 258 additions & 0 deletions project/character.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
<?xml version="1.0" encoding="UTF-8" ?>
<resource_file type="PackedScene" subresource_count="4" version="1.0" version_name="Godot Engine v1.0.stable.custom_build">
<ext_resource path="res://scripts/player.gd" type="Script"></ext_resource>
<ext_resource path="res://textures/blue_square.png" type="Texture"></ext_resource>
<resource type="RectangleShape2D" path="local://1">
<real name="custom_solver_bias"> 0 </real>
<vector2 name="extents"> 32, 32 </vector2>

</resource>
<main_resource>
<dictionary name="_bundled" shared="false">
<string> "names" </string>
<string_array len="77">
<string> "player" </string>
<string> "RigidBody2D" </string>
<string> "_import_path" </string>
<string> "visibility/visible" </string>
<string> "visibility/opacity" </string>
<string> "visibility/self_opacity" </string>
<string> "transform/pos" </string>
<string> "transform/rot" </string>
<string> "transform/scale" </string>
<string> "z/z" </string>
<string> "z/relative" </string>
<string> "shape_count" </string>
<string> "shapes/0/shape" </string>
<string> "shapes/0/transform" </string>
<string> "shapes/0/trigger" </string>
<string> "layers" </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> "player_speed" </string>
<string> "jumpforce" </string>
<string> "acceleration" </string>
<string> "air_acceleration" </string>
<string> "extra_gravity" </string>
<string> "CollisionShape2D" </string>
<string> "shape" </string>
<string> "trigger" </string>
<string> "Camera2D" </string>
<string> "offset" </string>
<string> "centered" </string>
<string> "rotating" </string>
<string> "current" </string>
<string> "smoothing" </string>
<string> "zoom" </string>
<string> "limit/left" </string>
<string> "limit/top" </string>
<string> "limit/right" </string>
<string> "limit/bottom" </string>
<string> "drag_margin/h_enabled" </string>
<string> "drag_margin/v_enabled" </string>
<string> "drag_margin/left" </string>
<string> "drag_margin/top" </string>
<string> "drag_margin/right" </string>
<string> "drag_margin/bottom" </string>
<string> "RayCast2D" </string>
<string> "enabled" </string>
<string> "cast_to" </string>
<string> "layer_mask" </string>
<string> "rotate" </string>
<string> "Node2D" </string>
<string> "player_sprite" </string>
<string> "Sprite" </string>
<string> "shader/use_parent" </string>
<string> "texture" </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> "player_sprite1" </string>
</string_array>
<string> "version" </string>
<int> 1 </int>
<string> "conn_count" </string>
<int> 0 </int>
<string> "node_count" </string>
<int> 7 </int>
<string> "variants" </string>
<array len="32" shared="false">
<node_path> "" </node_path>
<bool> True </bool>
<real> 1 </real>
<vector2> 297, 95 </vector2>
<real> 0 </real>
<vector2> 1, 1 </vector2>
<int> 0 </int>
<int> 1 </int>
<resource resource_type="Shape2D" path="local://1"> </resource>
<matrix32> 1, -0, 0, 1, 4.41074e-06, -0.270176 </matrix32>
<bool> False </bool>
<int> 2 </int>
<vector2> 0, 0 </vector2>
<real> -1 </real>
<resource resource_type="Script" path="res://scripts/player.gd"> </resource>
<dictionary shared="false">
<string> "__editor_plugin_states__" </string>
<dictionary shared="false">
<string> "2D" </string>
<dictionary shared="false">
<string> "pixel_snap" </string>
<bool> False </bool>
<string> "zoom" </string>
<real> 1.108033 </real>
<string> "use_snap" </string>
<bool> False </bool>
<string> "ofs" </string>
<vector2> -234.514, -185.908 </vector2>
<string> "snap" </string>
<int> 10 </int>
</dictionary>
<string> "3D" </string>
<dictionary shared="false">
<string> "deflight_rot_y" </string>
<real> 0.628319 </real>
<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> "listener" </string>
<bool> True </bool>
<string> "use_environment" </string>
<bool> False </bool>
<string> "use_orthogonal" </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> "listener" </string>
<bool> False </bool>
<string> "use_environment" </string>
<bool> False </bool>
<string> "use_orthogonal" </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> "listener" </string>
<bool> False </bool>
<string> "use_environment" </string>
<bool> False </bool>
<string> "use_orthogonal" </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> "listener" </string>
<bool> False </bool>
<string> "use_environment" </string>
<bool> False </bool>
<string> "use_orthogonal" </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> "ambient_light_color" </string>
<color> 0.15, 0.15, 0.15, 1 </color>
<string> "show_grid" </string>
<bool> True </bool>
<string> "show_origin" </string>
<bool> True </bool>
<string> "znear" </string>
<real> 0.1 </real>
<string> "default_srgb" </string>
<bool> False </bool>
<string> "deflight_rot_x" </string>
<real> 0.942478 </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>
<int> 400 </int>
<int> 8 </int>
<int> 300 </int>
<vector2> 4.41074e-06, -0.270176 </vector2>
<vector2> 0, -100 </vector2>
<real> 7 </real>
<vector2> 2, 2 </vector2>
<int> -10000000 </int>
<int> 10000000 </int>
<real> 0.2 </real>
<vector2> 0, 60 </vector2>
<resource resource_type="Texture" path="res://textures/blue_square.png"> </resource>
<color> 1, 1, 1, 1 </color>
<rect2> 0, 0, 0, 0 </rect2>
<vector2> 43.32, -3.57628e-07 </vector2>
<vector2> 0.2, 0.2 </vector2>
</array>
<string> "nodes" </string>
<int_array len="319"> -1, -1, 1, 0, -1, 36, 2, 0, 3, 1, 4, 2, 5, 2, 6, 3, 7, 4, 8, 5, 9, 6, 10, 1, 11, 7, 12, 8, 13, 9, 14, 10, 15, 7, 16, 11, 17, 2, 18, 4, 19, 4, 20, 2, 21, 10, 22, 6, 23, 6, 24, 10, 25, 10, 26, 1, 27, 12, 28, 4, 29, 13, 30, 13, 31, 14, 32, 15, 33, 16, 34, 16, 35, 17, 36, 7, 37, 18, 0, 0, 0, 38, 38, -1, 11, 2, 0, 3, 1, 4, 2, 5, 2, 6, 19, 7, 4, 8, 5, 9, 6, 10, 1, 39, 8, 40, 10, 0, 0, 0, 41, 41, -1, 25, 2, 0, 3, 1, 4, 2, 5, 2, 6, 12, 7, 4, 8, 5, 9, 6, 10, 1, 42, 20, 43, 1, 44, 10, 45, 1, 46, 21, 47, 22, 48, 23, 49, 23, 50, 24, 51, 24, 52, 1, 53, 1, 54, 25, 55, 25, 56, 25, 57, 25, 0, 0, 0, 58, 58, -1, 12, 2, 0, 3, 1, 4, 2, 5, 2, 6, 12, 7, 4, 8, 5, 9, 6, 10, 1, 59, 1, 60, 26, 61, 7, 0, 0, 0, 63, 62, -1, 9, 2, 0, 3, 1, 4, 2, 5, 2, 6, 12, 7, 4, 8, 5, 9, 6, 10, 1, 0, 4, 0, 65, 64, -1, 21, 2, 0, 3, 1, 4, 2, 5, 2, 66, 1, 6, 12, 7, 4, 8, 5, 9, 6, 10, 1, 67, 27, 43, 1, 42, 12, 68, 10, 69, 10, 70, 7, 71, 7, 72, 6, 73, 28, 74, 10, 75, 29, 0, 4, 0, 65, 76, -1, 21, 2, 0, 3, 1, 4, 2, 5, 2, 66, 1, 6, 30, 7, 4, 8, 31, 9, 6, 10, 1, 67, 27, 43, 1, 42, 12, 68, 10, 69, 10, 70, 7, 71, 7, 72, 6, 73, 28, 74, 10, 75, 29, 0 </int_array>
<string> "conns" </string>
<int_array len="0"> </int_array>
</dictionary>

</main_resource>
</resource_file>
Loading

0 comments on commit 69a379b

Please sign in to comment.