Browse Source

modified the 'ball of dirt' texture ; added the slime texture and meta

master
Mathieu Sérandour 2 years ago
parent
commit
f129577ca5
  1. 13
      entities/slime.json
  2. 13
      res/list.json
  3. BIN
      res/textures/sprites/enemies/slime.png
  4. 1
      res/textures/sprites/list.json
  5. BIN
      res/textures/sprites/projectiles/ball of dirt.png

13
entities/slime.json

@ -0,0 +1,13 @@
{
"hp": 15,
"damage": 5,
"sprite": 3,
"speed": 0.002,
"target range": 10.0,
"minTargetDist": 0.0,
"maxTargetDist": 0.0,
"hitCadence": 500,
"reactionRate": 400,
"directionHold": 1000,
"size": [1,1]
}

13
res/list.json

@ -5,15 +5,18 @@
["sprite2d", "sprite_v.glsl", "sprite_f.glsl"]
],
"textures":[
["orc","sprites/enemies/orc.png"],
["prince","sprites/characters/prince.png"],
["orc", "sprites/enemies/orc.png"],
["slime", "sprites/enemies/slime.png"],
["prince", "sprites/characters/prince.png"],
["energyball","sprites/projectiles/ball of energy.png"],
["dirtball", "sprites/projectiles/ball of dirt.png"],
["boomerang", "sprites/projectiles/boomerang.png"]
["0_cursor", "cursors/0.png"],
["1_cursor", "cursors/1.png"],
["2_cursor", "cursors/2.png"],
["energyball", "sprites/projectiles/ball of energy.png"],
["dirtball", "sprites/projectiles/ball of dirt.png"],
["boomerang", "sprites/projectiles/boomerang.png"]
],
"tilesets":[
"summer"

BIN
res/textures/sprites/enemies/slime.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

1
res/textures/sprites/list.json

@ -1,6 +1,7 @@
[
{"id": 1, "name": "prince", "width": 8, "direction": "static"},
{"id": 2, "name": "orc", "width": 8, "direction": "static"},
{"id": 3, "name": "slime", "width": 4, "direction": "static"},
{"id": 10, "name": "boomerang", "width": 4, "direction": "dynamic"},
{"id": 11, "name": "energyball", "width": 4, "direction": "dynamic"},

BIN
res/textures/sprites/projectiles/ball of dirt.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Loading…
Cancel
Save