texture render pain
This commit is contained in:
parent
6cfa795463
commit
06dda08e8e
3 changed files with 24 additions and 10 deletions
|
|
@ -112,7 +112,7 @@ class MainScreen(Screen):
|
|||
ch = VERTICAL_WALL_CHAR
|
||||
if map.walkable[map_pos.y+1, map_pos.x] and world_pos+Position(0,1) not in doors:
|
||||
ch = WALL_CHAR
|
||||
console.rgba[["ch","fg"]][j, i] = ch, (255,255,255, 255)
|
||||
console.rgba[["ch", "fg", "bg"]][j, i] = ch, (255,255,255, 255), (0,0,0,0)
|
||||
|
||||
# draw all entities that are not actors
|
||||
for entity in g.world.Q.all_of(components=[Position, Graphic]).none_of(tags=[IsActor]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue