Improve remaining low-detail weapon icons
This commit is contained in:
@@ -30,7 +30,7 @@ export class BootScene extends Phaser.Scene {
|
||||
}
|
||||
|
||||
private createEquipmentIconTextures() {
|
||||
this.createItemIcon('item-training-sword', (graphics) => this.drawSwordIcon(graphics, 0xbfd6e6, 0x6b4a2c));
|
||||
this.createItemIcon('item-training-sword', (graphics) => this.drawTrainingSwordIcon(graphics));
|
||||
this.createItemIcon('item-twin-oath-blades', (graphics) => {
|
||||
this.drawSwordIcon(graphics, 0xe8edf7, 0x8a5a32, -4);
|
||||
this.drawSwordIcon(graphics, 0xd8b15f, 0x8a5a32, 4);
|
||||
@@ -41,9 +41,9 @@ export class BootScene extends Phaser.Scene {
|
||||
this.createItemIcon('item-sky-piercer-halberd', (graphics) => this.drawSkyPiercerHalberdIcon(graphics));
|
||||
this.createItemIcon('item-western-cavalry-spear', (graphics) => this.drawWesternCavalrySpearIcon(graphics));
|
||||
this.createItemIcon('item-white-feather-fan', (graphics) => this.drawFanIcon(graphics, 0xf3f0df, 0x6e8eb8));
|
||||
this.createItemIcon('item-yellow-turban-saber', (graphics) => this.drawSaberIcon(graphics, 0xd8b15f, 0x9c6b2f));
|
||||
this.createItemIcon('item-yellow-turban-saber', (graphics) => this.drawYellowTurbanSaberIcon(graphics));
|
||||
this.createItemIcon('item-short-bow', (graphics) => this.drawBowIcon(graphics, 0xc58a4c, 0xe8dfca));
|
||||
this.createItemIcon('item-leader-axe', (graphics) => this.drawAxeIcon(graphics, 0xd8dfe6, 0x8d5a3a));
|
||||
this.createItemIcon('item-leader-axe', (graphics) => this.drawLeaderAxeIcon(graphics));
|
||||
|
||||
this.createItemIcon('item-cloth-armor', (graphics) => this.drawClothArmorIcon(graphics));
|
||||
this.createItemIcon('item-lamellar-armor', (graphics) => this.drawLamellarArmorIcon(graphics));
|
||||
@@ -95,6 +95,43 @@ export class BootScene extends Phaser.Scene {
|
||||
graphics.fillCircle(8 + offsetX, 23, 2);
|
||||
}
|
||||
|
||||
private drawTrainingSwordIcon(graphics: Phaser.GameObjects.Graphics) {
|
||||
graphics.lineStyle(5, 0x50606a, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(7, 23);
|
||||
graphics.lineTo(20, 5);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(3, 0xbfd6e6, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(8, 22);
|
||||
graphics.lineTo(20, 6);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(1, 0xeff7ff, 0.9);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(11, 18);
|
||||
graphics.lineTo(18, 8);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0xd8dfe6, 1);
|
||||
graphics.fillTriangle(18, 4, 23, 5, 19, 10);
|
||||
graphics.lineStyle(3, 0xd8b15f, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(5, 18);
|
||||
graphics.lineTo(13, 23);
|
||||
graphics.moveTo(8, 16);
|
||||
graphics.lineTo(15, 20);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(2, 0x6b4a2c, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(6, 22);
|
||||
graphics.lineTo(10, 25);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0x6b4a2c, 1);
|
||||
graphics.fillCircle(7, 24, 2);
|
||||
graphics.fillStyle(0x9b4c3a, 1);
|
||||
graphics.fillTriangle(10, 22, 15, 24, 12, 27);
|
||||
graphics.fillCircle(13, 23, 1);
|
||||
}
|
||||
|
||||
private drawGreenDragonGlaiveIcon(graphics: Phaser.GameObjects.Graphics) {
|
||||
graphics.lineStyle(4, 0x704728, 1);
|
||||
graphics.beginPath();
|
||||
@@ -254,19 +291,45 @@ export class BootScene extends Phaser.Scene {
|
||||
graphics.strokePath();
|
||||
}
|
||||
|
||||
private drawSaberIcon(graphics: Phaser.GameObjects.Graphics, bladeColor: number, gripColor: number) {
|
||||
graphics.lineStyle(4, bladeColor, 1);
|
||||
private drawYellowTurbanSaberIcon(graphics: Phaser.GameObjects.Graphics) {
|
||||
graphics.lineStyle(5, 0x6b4a2c, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(7, 22);
|
||||
graphics.lineTo(12, 15);
|
||||
graphics.lineTo(19, 8);
|
||||
graphics.lineTo(24, 5);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(4, 0xd8b15f, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(8, 22);
|
||||
graphics.lineTo(13, 15);
|
||||
graphics.lineTo(19, 8);
|
||||
graphics.lineTo(23, 6);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(3, gripColor, 1);
|
||||
graphics.lineStyle(2, 0xf2d68b, 0.9);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(12, 17);
|
||||
graphics.lineTo(19, 9);
|
||||
graphics.lineTo(22, 7);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0xf2d68b, 1);
|
||||
graphics.fillTriangle(21, 4, 26, 5, 22, 9);
|
||||
graphics.fillStyle(0x9c6b2f, 1);
|
||||
graphics.fillTriangle(10, 17, 17, 18, 12, 22);
|
||||
graphics.lineStyle(3, 0x9c6b2f, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(6, 21);
|
||||
graphics.lineTo(12, 23);
|
||||
graphics.strokePath();
|
||||
graphics.lineStyle(2, 0xd8b15f, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(8, 20);
|
||||
graphics.lineTo(5, 25);
|
||||
graphics.moveTo(10, 21);
|
||||
graphics.lineTo(11, 26);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0xd8b15f, 1);
|
||||
graphics.fillCircle(7, 22, 2);
|
||||
}
|
||||
|
||||
private drawBowIcon(graphics: Phaser.GameObjects.Graphics, bowColor: number, stringColor: number) {
|
||||
@@ -290,15 +353,38 @@ export class BootScene extends Phaser.Scene {
|
||||
graphics.strokePath();
|
||||
}
|
||||
|
||||
private drawAxeIcon(graphics: Phaser.GameObjects.Graphics, bladeColor: number, gripColor: number) {
|
||||
graphics.lineStyle(3, gripColor, 1);
|
||||
private drawLeaderAxeIcon(graphics: Phaser.GameObjects.Graphics) {
|
||||
graphics.lineStyle(4, 0x6b4a2c, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(9, 24);
|
||||
graphics.lineTo(18, 5);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(bladeColor, 1);
|
||||
graphics.fillTriangle(16, 5, 25, 8, 16, 15);
|
||||
graphics.fillTriangle(16, 5, 9, 9, 15, 14);
|
||||
graphics.lineStyle(1, 0xc99755, 0.9);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(11, 22);
|
||||
graphics.lineTo(18, 7);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0xd8dfe6, 1);
|
||||
graphics.fillEllipse(20, 10, 12, 12);
|
||||
graphics.fillTriangle(16, 4, 26, 8, 17, 15);
|
||||
graphics.fillTriangle(16, 5, 8, 9, 15, 15);
|
||||
graphics.fillStyle(0xeff7ff, 0.85);
|
||||
graphics.fillTriangle(18, 6, 24, 8, 18, 11);
|
||||
graphics.fillTriangle(15, 7, 10, 9, 15, 12);
|
||||
graphics.fillStyle(0x50606a, 1);
|
||||
graphics.fillTriangle(17, 11, 22, 14, 15, 16);
|
||||
graphics.lineStyle(2, 0x8d5a3a, 1);
|
||||
graphics.beginPath();
|
||||
graphics.moveTo(14, 7);
|
||||
graphics.lineTo(20, 13);
|
||||
graphics.moveTo(12, 14);
|
||||
graphics.lineTo(18, 16);
|
||||
graphics.strokePath();
|
||||
graphics.fillStyle(0xd8b15f, 1);
|
||||
graphics.fillCircle(17, 10, 2);
|
||||
graphics.fillCircle(9, 24, 2);
|
||||
graphics.fillStyle(0x9b4c3a, 1);
|
||||
graphics.fillTriangle(13, 15, 18, 17, 14, 22);
|
||||
}
|
||||
|
||||
private drawFanIcon(graphics: Phaser.GameObjects.Graphics, featherColor: number, ribColor: number) {
|
||||
|
||||
Reference in New Issue
Block a user