More nonsense
This commit is contained in:
parent
50f5a651d6
commit
065caad5c8
|
|
@ -459,6 +459,28 @@
|
|||
},
|
||||
{
|
||||
"chunks":[
|
||||
{
|
||||
"data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
||||
"height":16,
|
||||
"width":16,
|
||||
"x":0,
|
||||
"y":-16
|
||||
},
|
||||
{
|
||||
"data":[12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
|
|
@ -789,12 +811,12 @@
|
|||
"x":48,
|
||||
"y":48
|
||||
}],
|
||||
"height":64,
|
||||
"height":80,
|
||||
"id":2,
|
||||
"name":"objects",
|
||||
"opacity":1,
|
||||
"startx":0,
|
||||
"starty":0,
|
||||
"starty":-16,
|
||||
"type":"tilelayer",
|
||||
"visible":true,
|
||||
"width":64,
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 186 KiB |
|
|
@ -20,8 +20,8 @@
|
|||
"scale": 0.33,
|
||||
"selectedLayer": 2,
|
||||
"viewCenter": {
|
||||
"x": 4722.727272727273,
|
||||
"y": 1472.7272727272727
|
||||
"x": 3200,
|
||||
"y": 2401.5151515151515
|
||||
}
|
||||
},
|
||||
"NNDungeon.tmx#99boy-tiles": {
|
||||
|
|
@ -48,8 +48,8 @@
|
|||
"scale": 0.25,
|
||||
"selectedLayer": 1,
|
||||
"viewCenter": {
|
||||
"x": 786,
|
||||
"y": 672
|
||||
"x": 1434,
|
||||
"y": 772
|
||||
}
|
||||
},
|
||||
"gulch.tmx#99boy-tiles": {
|
||||
|
|
@ -72,14 +72,15 @@
|
|||
"map.width": 16,
|
||||
"openFiles": [
|
||||
"gulch.tmx",
|
||||
"NNDungeon.tmx"
|
||||
"NNDungeon.tmx",
|
||||
"gluch.tmx"
|
||||
],
|
||||
"project": "Tile-Project-Legends.tiled-project",
|
||||
"property.type": "bool",
|
||||
"recentFiles": [
|
||||
"gluch.tmx",
|
||||
"NNDungeon.tmx",
|
||||
"gulch.tmx",
|
||||
"gluch.tmx"
|
||||
"gulch.tmx"
|
||||
],
|
||||
"tileset.embedInMap": true,
|
||||
"tileset.tileSize": {
|
||||
|
|
|
|||
|
|
@ -655,6 +655,24 @@
|
|||
</layer>
|
||||
<layer id="2" name="objects" width="16" height="9">
|
||||
<data encoding="csv">
|
||||
<chunk x="0" y="-16" width="16" height="16">
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
</chunk>
|
||||
<chunk x="0" y="0" width="16" height="16">
|
||||
12,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -21,25 +21,26 @@ export class Player extends Phaser.GameObjects.Sprite {
|
|||
this.isFiring = false;
|
||||
this.axe;
|
||||
this.bullet;
|
||||
this.texturePlus = 24;
|
||||
|
||||
// Create animations
|
||||
this.anims.create({
|
||||
key: 'north',
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 0, end: 1 }),
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 0+this.texturePlus, end: 1+this.texturePlus }),
|
||||
frameRate: 5,
|
||||
repeat: -1
|
||||
});
|
||||
|
||||
this.anims.create({
|
||||
key: 'side',
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 8, end: 9 }),
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 8+this.texturePlus, end: 9+this.texturePlus }),
|
||||
frameRate: 5,
|
||||
repeat: -1
|
||||
});
|
||||
|
||||
this.anims.create({
|
||||
key: 'south',
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 16, end: 17 }),
|
||||
frames: this.anims.generateFrameNumbers('player-tiles', { start: 16+this.texturePlus, end: 17+this.texturePlus }),
|
||||
frameRate: 5,
|
||||
repeat: -1
|
||||
});
|
||||
|
|
@ -47,7 +48,7 @@ export class Player extends Phaser.GameObjects.Sprite {
|
|||
this.anims.create({
|
||||
key: 'death',
|
||||
frames: [
|
||||
{ key: 'player-tiles', frame: 3 }
|
||||
{ key: 'player-tiles', frame: 3+this.texturePlus }
|
||||
],
|
||||
frameRate: 5,
|
||||
duration: 1500,
|
||||
|
|
@ -57,7 +58,7 @@ export class Player extends Phaser.GameObjects.Sprite {
|
|||
this.anims.create({
|
||||
key: 'death2',
|
||||
frames: [
|
||||
{ key: 'player-tiles', frame: 4 }
|
||||
{ key: 'player-tiles', frame: 4+this.texturePlus }
|
||||
],
|
||||
frameRate: 5,
|
||||
duration: 1500,
|
||||
|
|
|
|||
Loading…
Reference in New Issue