add 2 other creeps, messing with balance

This commit is contained in:
koneko 2025-01-16 21:40:21 +01:00
parent c300abbb66
commit c8bf247104
28 changed files with 41 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

View File

@ -4,8 +4,42 @@
"textures": [], "textures": [],
"textureArrayLength": 12, "textureArrayLength": 12,
"stats": { "stats": {
"health": 2, "health": 5,
"speed": 0.04, "speed": 2.4,
"special": null,
"resistance": {
"physical": 0,
"divine": 0,
"fire": 0,
"ice": 0,
"frostfire": 0
}
}
},
{
"name": "quick",
"textures": [],
"textureArrayLength": 12,
"stats": {
"health": 7,
"speed": 2.4,
"special": null,
"resistance": {
"physical": 0,
"divine": 0,
"fire": 0,
"ice": 0,
"frostfire": 0
}
}
},
{
"name": "tank",
"textures": [],
"textureArrayLength": 12,
"stats": {
"health": 7,
"speed": 2.4,
"special": null, "special": null,
"resistance": { "resistance": {
"physical": 0, "physical": 0,

View File

@ -109,7 +109,7 @@
{ {
"firstCreepSpawnTick": 500, "firstCreepSpawnTick": 500,
"spawnIntervalTicks": 1000, "spawnIntervalTicks": 1000,
"creeps": [0] "creeps": [1, 1, 1, 1, 1]
} }
], ],
"offeredGems": [0, 1, 2, 3] "offeredGems": [0, 1, 2, 3]
@ -119,7 +119,7 @@
{ {
"firstCreepSpawnTick": 500, "firstCreepSpawnTick": 500,
"spawnIntervalTicks": 1000, "spawnIntervalTicks": 1000,
"creeps": [0, 0] "creeps": [2, 2, 2, 2, 2]
} }
], ],
"offeredGems": [0, 1, 2, 3] "offeredGems": [0, 1, 2, 3]

View File

@ -72,7 +72,8 @@ export type PathDefinition = [[row: number, column: number]];
export enum CreepType { export enum CreepType {
Basic = 0, Basic = 0,
Fast = 1, Quick = 1,
Tank = 2,
} }
export enum TerrainType { export enum TerrainType {

View File

@ -46,7 +46,7 @@ export default class Creep extends GameObject {
this.container.y = -50; this.container.y = -50;
this.sprite.width = Engine.GridCellSize; this.sprite.width = Engine.GridCellSize;
this.sprite.height = Engine.GridCellSize; this.sprite.height = Engine.GridCellSize;
this.speed = this.stats.speed; this.speed = this.stats.speed / 60;
this.health = this.stats.health; this.health = this.stats.health;
this.maxHealth = this.stats.health; this.maxHealth = this.stats.health;
this.path = path; this.path = path;