Working on lvl0
This commit is contained in:
parent
075c0b4886
commit
986fcca851
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
@ -1,44 +1,27 @@
|
||||
[
|
||||
{
|
||||
"x": -500,
|
||||
"y": 1000,
|
||||
"y": 760,
|
||||
"width": 16000,
|
||||
"height": 10
|
||||
},
|
||||
{
|
||||
"x": 322,
|
||||
"y": 926,
|
||||
"width": 610,
|
||||
"height": 73
|
||||
"x": 834,
|
||||
"y": 592
|
||||
,
|
||||
"width": 415,
|
||||
"height": 54
|
||||
},
|
||||
{
|
||||
"x": 852,
|
||||
"y": 823,
|
||||
"width": 81,
|
||||
"height": 178
|
||||
"x": 1385,
|
||||
"y": 374,
|
||||
"width": 415,
|
||||
"height": 54
|
||||
},
|
||||
{
|
||||
"x": 852,
|
||||
"y": 823,
|
||||
"width": 258,
|
||||
"height": 33
|
||||
},
|
||||
{
|
||||
"x": 1599,
|
||||
"y": 699,
|
||||
"width": 918,
|
||||
"height": 63
|
||||
},
|
||||
{
|
||||
"x": 2733,
|
||||
"y": 789,
|
||||
"width": 108,
|
||||
"height": 211
|
||||
},
|
||||
{
|
||||
"x": 1110,
|
||||
"y": 942,
|
||||
"width": 366,
|
||||
"height": 57
|
||||
"x": 1808,
|
||||
"y": 376,
|
||||
"width": 59,
|
||||
"height": 379
|
||||
}
|
||||
]
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 15 KiB |
BIN
game/assets/levels/level_0/level0.xcf
Normal file
BIN
game/assets/levels/level_0/level0.xcf
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 61 KiB |
@ -1,28 +1,34 @@
|
||||
{
|
||||
"appear": [
|
||||
{
|
||||
"x": 1110,
|
||||
"y": 942,
|
||||
"width": 366,
|
||||
"height": 57
|
||||
"x": 8130,
|
||||
"y": 0,
|
||||
"width": 56,
|
||||
"height": 442
|
||||
},
|
||||
{
|
||||
"x": 9867,
|
||||
"y": 698,
|
||||
"width": 447,
|
||||
"height": 58
|
||||
}
|
||||
],
|
||||
"disappear": [
|
||||
{
|
||||
"x": 792,
|
||||
"y": 462,
|
||||
"width": 54,
|
||||
"height": 468
|
||||
"x": 2079,
|
||||
"y": 0,
|
||||
"width": 61,
|
||||
"height": 378
|
||||
},
|
||||
{
|
||||
"x": 2005,
|
||||
"y": 641,
|
||||
"width": 141,
|
||||
"height": 289
|
||||
"x": 8131,
|
||||
"y": 440,
|
||||
"width": 56,
|
||||
"height": 313
|
||||
}
|
||||
],
|
||||
"win": {
|
||||
"x": 3000,
|
||||
"x": 12000,
|
||||
"y": 0,
|
||||
"width": 100,
|
||||
"height": 3000
|
||||
|
@ -72,7 +72,7 @@ impl MainCharacter {
|
||||
// Handle extra external forces based on the character state
|
||||
self.movement_force = match &state {
|
||||
CharacterState::Running => Vector2::new(10.0, 0.0),
|
||||
CharacterState::Jumping => Vector2::new(10.0, -30.0),
|
||||
CharacterState::Jumping => Vector2::new(10.0, -40.0),
|
||||
CharacterState::Dashing => Vector2::new(30.0, -20.0),
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user