This implements base ambient lighting for tiles which helps with tiles like lava and ceiling lights.
This commit is contained in:
parent
74a1801069
commit
3dc70c3af6
11 changed files with 48 additions and 17 deletions
Binary file not shown.
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 72 KiB |
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
{"_type": "Combat", "hp": 200, "max_hp": 200, "damage": 10, "dead": false},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "LightSource", "strength": 45, "radius": 2.0}
|
||||
{"_type": "LightSource", "strength": 35, "radius": 2.0}
|
||||
]
|
||||
},
|
||||
"GOLD_SAVIOR": {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 94 KiB |
|
@ -4,30 +4,35 @@
|
|||
"collision": false,
|
||||
"display": 10398,
|
||||
"ceiling": "ceiling_plain",
|
||||
"light": 0,
|
||||
"id": 0
|
||||
},
|
||||
"wall_plain": {
|
||||
"texture": "assets/wall_texture_test-256.png",
|
||||
"collision": true,
|
||||
"display": 9608,
|
||||
"light": 0,
|
||||
"id": 1
|
||||
},
|
||||
"wall_moss": {
|
||||
"texture": "assets/glowing_moss_wall-256.png",
|
||||
"collision": true,
|
||||
"display": 8820,
|
||||
"light": 20,
|
||||
"id": 2
|
||||
},
|
||||
"wall_vines": {
|
||||
"texture": "assets/wall_with_vines-256.png",
|
||||
"collision": true,
|
||||
"display": 35,
|
||||
"light": 0,
|
||||
"id": 3
|
||||
},
|
||||
"ceiling_plain": {
|
||||
"texture": "assets/ceiling_test-256.png",
|
||||
"collision": false,
|
||||
"display": 35,
|
||||
"light": 0,
|
||||
"id": 4
|
||||
},
|
||||
"lava_floor": {
|
||||
|
@ -35,6 +40,7 @@
|
|||
"collision": false,
|
||||
"display": 35,
|
||||
"ceiling": "ceiling_plain",
|
||||
"light": 20,
|
||||
"id": 5
|
||||
},
|
||||
"large_stone_floor": {
|
||||
|
@ -42,12 +48,14 @@
|
|||
"collision": false,
|
||||
"display": 35,
|
||||
"ceiling": "ceiling_moss_brick_blue_light",
|
||||
"light": 40,
|
||||
"id": 6
|
||||
},
|
||||
"ceiling_moss_brick_blue_light": {
|
||||
"texture": "assets/ceiling_moss_brick_blue_light-256.png",
|
||||
"collision": false,
|
||||
"display": 35,
|
||||
"light": 0,
|
||||
"id": 7
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue