1731 in art

List of years in art (table)

Events from the year 1731 in art.

Events

Works

William Hogarth, Moll's Wake (Plate 6 of the Harlot's Progress engravings)

Births

Deaths


gollark: ```javascriptconst renderPlayer = (player) => { let str = "" for (let y = player.y - 5; y <= player.y + 5; y++) { for (let x = player.x - 10; x <= player.x + 10; x++) { let wallCol = getWallColor(x, y) if (x >= WIDTH) { str += wallCol } else if (y >= HEIGHT) { str += wallCol } else if (x < 0) { str += wallCol } else if (y < 0) { str += wallCol } else { let id = getEnemy(x, y) if (id != -1) { str += enemy_icons[enemies[id].id] } else { let id = getPlayer(x, y) if (id != -1) { str += players[id].icon } else { let id = getBonus(x, y) if (id != -1) { str += "?" } else { str += " " } } } } } str += "\n" } return str}```
gollark: YES, SOME OFFENSE.
gollark: As I said, this is not very good code.]
gollark: Every rendered tile.
gollark: I suppose baidicoot thought "hmm, how might I find whether a player is on a tile I'm rendering". Now, you might think "hmm yes, the solution to this is just to maintain a map of coordinates to entities, or something like that". But no! The game ITERATES OVER ALL PLAYERS FOR EVERY SINGLE TILE.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.