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,,,,,,,,,,,,,,,,,,,,,,,,,,,#
|
||||
#,L,,,,,,,,,,#,#,#,#,#,#,#,#,#,#,#,#,#,#,#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,#
|
||||
|
|
|
|
@ -1,7 +1,7 @@
|
|||
[
|
||||
{
|
||||
"name": "0-tutorial",
|
||||
"theme": "tutorial",
|
||||
"theme": "cave",
|
||||
"abilities": [
|
||||
],
|
||||
"file": "0-tutorial.csv"
|
||||
|
|
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 833 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 817 B |
Before Width: | Height: | Size: 620 B After Width: | Height: | Size: 798 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 618 B After Width: | Height: | Size: 661 B |
|
@ -586,6 +586,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -599,6 +615,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -612,6 +644,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -638,6 +686,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -651,6 +715,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -664,6 +744,22 @@
|
|||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"delays": [
|
||||
1
|
||||
],
|
||||
"width": 12,
|
||||
"height": 12
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@ class PlayerSprite(DynamicSprite):
|
|||
|
||||
self.deceleration_horizontal_air = 0.2
|
||||
self.deceleration_horizontal_ground = 0.4
|
||||
self.gravity = 9.81 / 10
|
||||
self.gravity = 9.81 / 11
|
||||
|
||||
self.max_motion_horizontal_via_input = 5
|
||||
self.id = 'player'
|
||||
|
@ -41,9 +41,9 @@ class PlayerSprite(DynamicSprite):
|
|||
if tick_data.key_manager.is_keymap_down(KeyManager.KEY_UP):
|
||||
if self.jump_time < 0 and self.get_collides_with_direction(CollisionDirection.BOTTOM):
|
||||
self.jump_time = self.allowed_jump_time
|
||||
self.motion = (self.motion[0], self.motion[1] - 6)
|
||||
self.motion = (self.motion[0], self.motion[1] - 7)
|
||||
if self.jump_time >= 0:
|
||||
self.motion = (self.motion[0], self.motion[1] - 0.55)
|
||||
self.motion = (self.motion[0], self.motion[1] - 0.6)
|
||||
if self.jump_time >= 0:
|
||||
self.jump_time -= 1
|
||||
|
||||
|
|