Exploring raycasters and possibly make a little "doom like" game based on it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
raycaster/assets/enemies.json

23 lines
823 B

{
"PLAYER_TILE": {
"foreground": [255, 200, 125],
"background": [30, 20, 75],
"components": [
{"_type": "Tile", "config": {"chr": "\ua66b"}},
{"_type": "Combat", "config": {"hp": 200, "damage": 15}},
{"_type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
{"_type": "LightSource", "config": {"strength": 70, "radius": 2}},
{"_type": "EnemyConfig", "config": {"hearing_distance": 5}}
]
},
"EVIL_EYE": {
"foreground": [75, 200, 125],
"background": [30, 20, 75],
"components": [
{"_type": "Tile", "config": {"chr": "\u08ac"}},
{"_type": "Combat", "config": {"hp": 100, "damage": 50}},
{"_type": "Motion", "config": {"dx": 0, "dy": 0, "random": false}},
{"_type": "EnemyConfig", "config": {"hearing_distance": 10}}
]
}
}