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