Adds .directory to .gitignore

This commit is contained in:
dariasteam 2017-08-06 16:17:12 +01:00
parent 7d9adc3838
commit c943c6df0f
4 changed files with 8 additions and 6 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
*~
.directory

View file

@ -50,8 +50,10 @@ func _process(delta):
if (is_colliding()):
end_point = Vector2 (get_global_pos().distance_to(get_collision_point()), 29)
end.set_emitting(true)
else:
end_point = Vector2 (distance, 29)
end_point = Vector2 (get_pos())
end.set_emitting(false)
middle.set_region_rect(Rect2(get_pos(),end_point))
end.set_global_pos(get_collision_point())

View file

@ -6,7 +6,6 @@
[ext_resource path="res://Sprites/Charasets/cow.png" type="Texture" id=4]
[ext_resource path="res://Scenes/Events/player_animations.tres" type="Animation" id=5]
[sub_resource type="ConvexPolygonShape2D" id=1]
custom_solver_bias = 0.0
@ -17,7 +16,7 @@ points = Vector2Array( -13.2061, 7.63341, -13.1494, -10.328, 11.2943, -10.3627,
custom_solver_bias = 0.0
extents = Vector2( 12.363, 15.2052 )
[sub_resource type="Animation" id=5]
[sub_resource type="Animation" id=3]
resource/name = "idle"
length = 0.6
@ -105,7 +104,7 @@ region_rect = Rect2( 0, 0, 96, 96 )
playback/process_mode = 0
playback/default_blend_time = 0.2
root/root = NodePath("..")
anims/idle = SubResource( 5 )
anims/idle = SubResource( 3 )
anims/walk = ExtResource( 5 )
playback/active = true
playback/speed = 1.0
@ -121,7 +120,7 @@ offset = Vector2( 0, -80 )
anchor_mode = 1
rotating = false
current = true
zoom = Vector2( 1, 1 )
zoom = Vector2( 1.1, 1.1 )
limit/left = -10000000
limit/top = -10000000
limit/right = 10000000

View file

@ -32,7 +32,7 @@ collision/bounce = 0.0
collision/layers = 1
collision/mask = 1
occluder/light_mask = 1
tile_data = IntArray( -2031638, 24, -1769505, 27, -1769496, 21, -1769495, 20, -1769494, 22, -1703948, 27, -1638433, 27, -1638405, 19, -1703909, 24, -1572882, 24, -1638369, 24, -1507361, 27, -1507292, 21, -1507291, 23, -1507290, 22, -1441769, 22, -1245202, 25, -1245193, 25, -917536, 23, -917535, 21, -917534, 22, -917516, 23, -786431, 27, -720888, 24, -720879, 24, -524305, 19, -524293, 21, -524292, 22, -458781, 27, -524284, 23, -524283, 26, -524282, 26, -524281, 23, -524280, 19, -458737, 21, -458736, 22, -458735, 21, -458734, 20, -458733, 20, -458732, 22, -458726, 19, -393179, 21, -393178, 20, -393177, 20, -393176, 22, -196631, 21, -196630, 22 )
tile_data = IntArray( -2031638, 24, -1769505, 27, -1769495, 19, -1703948, 27, -1638433, 27, -1638405, 19, -1703909, 24, -1572882, 24, -1638369, 24, -1507361, 27, -1507292, 21, -1507291, 23, -1507290, 22, -1441769, 22, -1245202, 25, -1245193, 25, -917536, 23, -917535, 21, -917534, 22, -917516, 23, -786431, 27, -720888, 24, -720879, 24, -524305, 19, -524293, 21, -524292, 22, -458781, 27, -524284, 23, -524283, 26, -524282, 26, -524281, 23, -524280, 19, -458737, 21, -458736, 22, -458735, 21, -458734, 20, -458733, 20, -458732, 22, -458726, 19, -393179, 21, -393178, 20, -393177, 20, -393176, 22, -196631, 21, -196630, 22 )
[node name="tile_0" type="TileMap" parent="." groups=[
"map",